@aws-sdk/client-ec2 3.624.0 → 3.629.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 (84) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +371 -152
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
  5. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  6. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  7. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  8. package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_0.js +9 -3
  11. package/dist-es/models/models_1.js +3 -5
  12. package/dist-es/models/models_2.js +5 -0
  13. package/dist-es/models/models_3.js +0 -17
  14. package/dist-es/models/models_4.js +17 -10
  15. package/dist-es/models/models_5.js +11 -9
  16. package/dist-es/models/models_6.js +13 -16
  17. package/dist-es/models/models_7.js +18 -2
  18. package/dist-es/protocols/Aws_ec2.js +169 -8
  19. package/dist-types/EC2.d.ts +14 -0
  20. package/dist-types/EC2Client.d.ts +4 -2
  21. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
  22. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
  24. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
  26. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
  27. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  28. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
  29. package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
  30. package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
  31. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
  33. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
  38. package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
  39. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
  40. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
  41. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
  43. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
  45. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  46. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
  47. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  49. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
  50. package/dist-types/commands/index.d.ts +2 -0
  51. package/dist-types/models/models_0.d.ts +108 -226
  52. package/dist-types/models/models_1.d.ts +236 -211
  53. package/dist-types/models/models_2.d.ts +214 -78
  54. package/dist-types/models/models_3.d.ts +77 -244
  55. package/dist-types/models/models_4.d.ts +248 -365
  56. package/dist-types/models/models_5.d.ts +359 -64
  57. package/dist-types/models/models_6.d.ts +101 -309
  58. package/dist-types/models/models_7.d.ts +370 -5
  59. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  60. package/dist-types/ts3.4/EC2.d.ts +40 -0
  61. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  62. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +28 -44
  76. package/dist-types/ts3.4/models/models_1.d.ts +50 -39
  77. package/dist-types/ts3.4/models/models_2.d.ts +44 -20
  78. package/dist-types/ts3.4/models/models_3.d.ts +22 -60
  79. package/dist-types/ts3.4/models/models_4.d.ts +59 -51
  80. package/dist-types/ts3.4/models/models_5.d.ts +52 -21
  81. package/dist-types/ts3.4/models/models_6.d.ts +33 -62
  82. package/dist-types/ts3.4/models/models_7.d.ts +79 -3
  83. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  84. package/package.json +5 -5
@@ -54,6 +54,8 @@ declare const DisassociateVpcCidrBlockCommand_base: {
54
54
  * // },
55
55
  * // NetworkBorderGroup: "STRING_VALUE",
56
56
  * // Ipv6Pool: "STRING_VALUE",
57
+ * // Ipv6AddressAttribute: "public" || "private",
58
+ * // IpSource: "amazon" || "byoip" || "none",
57
59
  * // },
58
60
  * // CidrBlockAssociation: { // VpcCidrBlockAssociation
59
61
  * // AssociationId: "STRING_VALUE",
@@ -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 { GetInstanceMetadataDefaultsRequest, GetInstanceMetadataDefaultsResult } from "../models/models_5";
4
+ import { GetInstanceMetadataDefaultsRequest } from "../models/models_5";
5
+ import { GetInstanceMetadataDefaultsResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -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 { GetInstanceTpmEkPubRequest } from "../models/models_5";
5
- import { GetInstanceTpmEkPubResult } from "../models/models_6";
4
+ import { GetInstanceTpmEkPubRequest, GetInstanceTpmEkPubResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -59,6 +59,7 @@ declare const GetIpamDiscoveredResourceCidrsCommand_base: {
59
59
  * // ResourceId: "STRING_VALUE",
60
60
  * // ResourceOwnerId: "STRING_VALUE",
61
61
  * // ResourceCidr: "STRING_VALUE",
62
+ * // IpSource: "amazon" || "byoip" || "none",
62
63
  * // ResourceType: "vpc" || "subnet" || "eip" || "public-ipv4-pool" || "ipv6-pool" || "eni",
63
64
  * // ResourceTags: [ // IpamResourceTagList
64
65
  * // { // IpamResourceTag
@@ -27,11 +27,10 @@ declare const ModifyCapacityReservationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You
31
- * cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings,
32
- * platform, Availability Zone, or instance eligibility. If you need to modify any of these
33
- * attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with
34
- * the required attributes.</p>
30
+ * <p>Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions under which it is to be released. You
31
+ * can't modify a Capacity Reservation's instance type, EBS optimization, platform, instance store settings, Availability Zone, or
32
+ * tenancy. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with
33
+ * the required attributes. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html">Modify an active Capacity Reservation</a>.</p>
35
34
  * @example
36
35
  * Use a bare-bones client and the command you need to make an API call.
37
36
  * ```javascript
@@ -46,6 +45,7 @@ declare const ModifyCapacityReservationCommand_base: {
46
45
  * Accept: true || false,
47
46
  * DryRun: true || false,
48
47
  * AdditionalInfo: "STRING_VALUE",
48
+ * InstanceMatchCriteria: "open" || "targeted",
49
49
  * };
50
50
  * const command = new ModifyCapacityReservationCommand(input);
51
51
  * const response = await client.send(command);
@@ -50,6 +50,7 @@ declare const ModifyIpamCommand_base: {
50
50
  * },
51
51
  * ],
52
52
  * Tier: "free" || "advanced",
53
+ * EnablePrivateGua: true || false,
53
54
  * };
54
55
  * const command = new ModifyIpamCommand(input);
55
56
  * const response = await client.send(command);
@@ -80,6 +81,7 @@ declare const ModifyIpamCommand_base: {
80
81
  * // ResourceDiscoveryAssociationCount: Number("int"),
81
82
  * // StateMessage: "STRING_VALUE",
82
83
  * // Tier: "free" || "advanced",
84
+ * // EnablePrivateGua: true || false,
83
85
  * // },
84
86
  * // };
85
87
  *
@@ -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 { ModifyVpnTunnelCertificateRequest, ModifyVpnTunnelCertificateResult } from "../models/models_6";
4
+ import { ModifyVpnTunnelCertificateRequest } from "../models/models_6";
5
+ import { ModifyVpnTunnelCertificateResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -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 { ModifyVpnTunnelOptionsRequest, ModifyVpnTunnelOptionsResult } from "../models/models_6";
4
+ import { ModifyVpnTunnelOptionsRequest, ModifyVpnTunnelOptionsResult } 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 { MonitorInstancesRequest } from "../models/models_6";
5
- import { MonitorInstancesResult } from "../models/models_7";
4
+ import { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -0,0 +1,157 @@
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 { MoveCapacityReservationInstancesRequest, MoveCapacityReservationInstancesResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link MoveCapacityReservationInstancesCommand}.
14
+ */
15
+ export interface MoveCapacityReservationInstancesCommandInput extends MoveCapacityReservationInstancesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link MoveCapacityReservationInstancesCommand}.
21
+ */
22
+ export interface MoveCapacityReservationInstancesCommandOutput extends MoveCapacityReservationInstancesResult, __MetadataBearer {
23
+ }
24
+ declare const MoveCapacityReservationInstancesCommand_base: {
25
+ new (input: MoveCapacityReservationInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<MoveCapacityReservationInstancesCommandInput, MoveCapacityReservationInstancesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: MoveCapacityReservationInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<MoveCapacityReservationInstancesCommandInput, MoveCapacityReservationInstancesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Move available capacity from a source Capacity Reservation to a destination Capacity Reservation. The source Capacity Reservation and the destination Capacity Reservation must be <code>active</code>, owned by your Amazon Web Services account, and share the following:
31
+ * </p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>Instance type</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>Platform</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>Availability Zone</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>Tenancy</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>Placement group</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>Capacity Reservation end time - <code>At specific time</code> or <code>Manually</code>.</p>
50
+ * </li>
51
+ * </ul>
52
+ * @example
53
+ * Use a bare-bones client and the command you need to make an API call.
54
+ * ```javascript
55
+ * import { EC2Client, MoveCapacityReservationInstancesCommand } from "@aws-sdk/client-ec2"; // ES Modules import
56
+ * // const { EC2Client, MoveCapacityReservationInstancesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
57
+ * const client = new EC2Client(config);
58
+ * const input = { // MoveCapacityReservationInstancesRequest
59
+ * DryRun: true || false,
60
+ * ClientToken: "STRING_VALUE",
61
+ * SourceCapacityReservationId: "STRING_VALUE", // required
62
+ * DestinationCapacityReservationId: "STRING_VALUE", // required
63
+ * InstanceCount: Number("int"), // required
64
+ * };
65
+ * const command = new MoveCapacityReservationInstancesCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // MoveCapacityReservationInstancesResult
68
+ * // SourceCapacityReservation: { // CapacityReservation
69
+ * // CapacityReservationId: "STRING_VALUE",
70
+ * // OwnerId: "STRING_VALUE",
71
+ * // CapacityReservationArn: "STRING_VALUE",
72
+ * // AvailabilityZoneId: "STRING_VALUE",
73
+ * // InstanceType: "STRING_VALUE",
74
+ * // InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro",
75
+ * // AvailabilityZone: "STRING_VALUE",
76
+ * // Tenancy: "default" || "dedicated",
77
+ * // TotalInstanceCount: Number("int"),
78
+ * // AvailableInstanceCount: Number("int"),
79
+ * // EbsOptimized: true || false,
80
+ * // EphemeralStorage: true || false,
81
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
82
+ * // StartDate: new Date("TIMESTAMP"),
83
+ * // EndDate: new Date("TIMESTAMP"),
84
+ * // EndDateType: "unlimited" || "limited",
85
+ * // InstanceMatchCriteria: "open" || "targeted",
86
+ * // CreateDate: new Date("TIMESTAMP"),
87
+ * // Tags: [ // TagList
88
+ * // { // Tag
89
+ * // Key: "STRING_VALUE",
90
+ * // Value: "STRING_VALUE",
91
+ * // },
92
+ * // ],
93
+ * // OutpostArn: "STRING_VALUE",
94
+ * // CapacityReservationFleetId: "STRING_VALUE",
95
+ * // PlacementGroupArn: "STRING_VALUE",
96
+ * // CapacityAllocations: [ // CapacityAllocations
97
+ * // { // CapacityAllocation
98
+ * // AllocationType: "used",
99
+ * // Count: Number("int"),
100
+ * // },
101
+ * // ],
102
+ * // ReservationType: "default" || "capacity-block",
103
+ * // },
104
+ * // DestinationCapacityReservation: {
105
+ * // CapacityReservationId: "STRING_VALUE",
106
+ * // OwnerId: "STRING_VALUE",
107
+ * // CapacityReservationArn: "STRING_VALUE",
108
+ * // AvailabilityZoneId: "STRING_VALUE",
109
+ * // InstanceType: "STRING_VALUE",
110
+ * // InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro",
111
+ * // AvailabilityZone: "STRING_VALUE",
112
+ * // Tenancy: "default" || "dedicated",
113
+ * // TotalInstanceCount: Number("int"),
114
+ * // AvailableInstanceCount: Number("int"),
115
+ * // EbsOptimized: true || false,
116
+ * // EphemeralStorage: true || false,
117
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
118
+ * // StartDate: new Date("TIMESTAMP"),
119
+ * // EndDate: new Date("TIMESTAMP"),
120
+ * // EndDateType: "unlimited" || "limited",
121
+ * // InstanceMatchCriteria: "open" || "targeted",
122
+ * // CreateDate: new Date("TIMESTAMP"),
123
+ * // Tags: [
124
+ * // {
125
+ * // Key: "STRING_VALUE",
126
+ * // Value: "STRING_VALUE",
127
+ * // },
128
+ * // ],
129
+ * // OutpostArn: "STRING_VALUE",
130
+ * // CapacityReservationFleetId: "STRING_VALUE",
131
+ * // PlacementGroupArn: "STRING_VALUE",
132
+ * // CapacityAllocations: [
133
+ * // {
134
+ * // AllocationType: "used",
135
+ * // Count: Number("int"),
136
+ * // },
137
+ * // ],
138
+ * // ReservationType: "default" || "capacity-block",
139
+ * // },
140
+ * // InstanceCount: Number("int"),
141
+ * // };
142
+ *
143
+ * ```
144
+ *
145
+ * @param MoveCapacityReservationInstancesCommandInput - {@link MoveCapacityReservationInstancesCommandInput}
146
+ * @returns {@link MoveCapacityReservationInstancesCommandOutput}
147
+ * @see {@link MoveCapacityReservationInstancesCommandInput} for command's `input` shape.
148
+ * @see {@link MoveCapacityReservationInstancesCommandOutput} for command's `response` shape.
149
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
150
+ *
151
+ * @throws {@link EC2ServiceException}
152
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
153
+ *
154
+ * @public
155
+ */
156
+ export declare class MoveCapacityReservationInstancesCommand extends MoveCapacityReservationInstancesCommand_base {
157
+ }
@@ -53,6 +53,7 @@ export * from "./ConfirmProductInstanceCommand";
53
53
  export * from "./CopyFpgaImageCommand";
54
54
  export * from "./CopyImageCommand";
55
55
  export * from "./CopySnapshotCommand";
56
+ export * from "./CreateCapacityReservationBySplittingCommand";
56
57
  export * from "./CreateCapacityReservationCommand";
57
58
  export * from "./CreateCapacityReservationFleetCommand";
58
59
  export * from "./CreateCarrierGatewayCommand";
@@ -556,6 +557,7 @@ export * from "./ModifyVpnTunnelOptionsCommand";
556
557
  export * from "./MonitorInstancesCommand";
557
558
  export * from "./MoveAddressToVpcCommand";
558
559
  export * from "./MoveByoipCidrToIpamCommand";
560
+ export * from "./MoveCapacityReservationInstancesCommand";
559
561
  export * from "./ProvisionByoipCidrCommand";
560
562
  export * from "./ProvisionIpamByoasnCommand";
561
563
  export * from "./ProvisionIpamPoolCidrCommand";
@@ -1407,7 +1407,7 @@ export interface AnalysisRouteTableRoute {
1407
1407
  */
1408
1408
  DestinationCidr?: string;
1409
1409
  /**
1410
- * <p>The prefix of the Amazon Web Service.</p>
1410
+ * <p>The prefix of the Amazon Web Services service.</p>
1411
1411
  * @public
1412
1412
  */
1413
1413
  DestinationPrefixListId?: string;
@@ -4376,6 +4376,31 @@ export interface AssociateSubnetCidrBlockRequest {
4376
4376
  */
4377
4377
  Ipv6NetmaskLength?: number;
4378
4378
  }
4379
+ /**
4380
+ * @public
4381
+ * @enum
4382
+ */
4383
+ export declare const IpSource: {
4384
+ readonly amazon: "amazon";
4385
+ readonly byoip: "byoip";
4386
+ readonly none: "none";
4387
+ };
4388
+ /**
4389
+ * @public
4390
+ */
4391
+ export type IpSource = (typeof IpSource)[keyof typeof IpSource];
4392
+ /**
4393
+ * @public
4394
+ * @enum
4395
+ */
4396
+ export declare const Ipv6AddressAttribute: {
4397
+ readonly private: "private";
4398
+ readonly public: "public";
4399
+ };
4400
+ /**
4401
+ * @public
4402
+ */
4403
+ export type Ipv6AddressAttribute = (typeof Ipv6AddressAttribute)[keyof typeof Ipv6AddressAttribute];
4379
4404
  /**
4380
4405
  * @public
4381
4406
  * @enum
@@ -4428,6 +4453,16 @@ export interface SubnetIpv6CidrBlockAssociation {
4428
4453
  * @public
4429
4454
  */
4430
4455
  Ipv6CidrBlockState?: SubnetCidrBlockState;
4456
+ /**
4457
+ * <p>Public IPv6 addresses are those advertised on the internet from Amazon Web Services. Private IP addresses are not and cannot be advertised on the internet from Amazon Web Services.</p>
4458
+ * @public
4459
+ */
4460
+ Ipv6AddressAttribute?: Ipv6AddressAttribute;
4461
+ /**
4462
+ * <p>The source that allocated the IP address space. <code>byoip</code> or <code>amazon</code> indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP). <code>none</code> indicates private space.</p>
4463
+ * @public
4464
+ */
4465
+ IpSource?: IpSource;
4431
4466
  }
4432
4467
  /**
4433
4468
  * @public
@@ -4875,6 +4910,16 @@ export interface VpcIpv6CidrBlockAssociation {
4875
4910
  * @public
4876
4911
  */
4877
4912
  Ipv6Pool?: string;
4913
+ /**
4914
+ * <p>Public IPv6 addresses are those advertised on the internet from Amazon Web Services. Private IP addresses are not and cannot be advertised on the internet from Amazon Web Services.</p>
4915
+ * @public
4916
+ */
4917
+ Ipv6AddressAttribute?: Ipv6AddressAttribute;
4918
+ /**
4919
+ * <p>The source that allocated the IP address space. <code>byoip</code> or <code>amazon</code> indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP). <code>none</code> indicates private space.</p>
4920
+ * @public
4921
+ */
4922
+ IpSource?: IpSource;
4878
4923
  }
4879
4924
  /**
4880
4925
  * @public
@@ -7596,6 +7641,68 @@ export interface CreateCapacityReservationResult {
7596
7641
  */
7597
7642
  CapacityReservation?: CapacityReservation;
7598
7643
  }
7644
+ /**
7645
+ * @public
7646
+ */
7647
+ export interface CreateCapacityReservationBySplittingRequest {
7648
+ /**
7649
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7650
+ * @public
7651
+ */
7652
+ DryRun?: boolean;
7653
+ /**
7654
+ * <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">Ensure Idempotency</a>.</p>
7655
+ * @public
7656
+ */
7657
+ ClientToken?: string;
7658
+ /**
7659
+ * <p>
7660
+ * The ID of the Capacity Reservation from which you want to split the available capacity.
7661
+ * </p>
7662
+ * @public
7663
+ */
7664
+ SourceCapacityReservationId: string | undefined;
7665
+ /**
7666
+ * <p>
7667
+ * The number of instances to split from the source Capacity Reservation.
7668
+ * </p>
7669
+ * @public
7670
+ */
7671
+ InstanceCount: number | undefined;
7672
+ /**
7673
+ * <p>
7674
+ * The tags to apply to the new Capacity Reservation.
7675
+ * </p>
7676
+ * @public
7677
+ */
7678
+ TagSpecifications?: TagSpecification[];
7679
+ }
7680
+ /**
7681
+ * @public
7682
+ */
7683
+ export interface CreateCapacityReservationBySplittingResult {
7684
+ /**
7685
+ * <p>
7686
+ * Information about the source Capacity Reservation.
7687
+ * </p>
7688
+ * @public
7689
+ */
7690
+ SourceCapacityReservation?: CapacityReservation;
7691
+ /**
7692
+ * <p>
7693
+ * Information about the destination Capacity Reservation.
7694
+ * </p>
7695
+ * @public
7696
+ */
7697
+ DestinationCapacityReservation?: CapacityReservation;
7698
+ /**
7699
+ * <p>
7700
+ * The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.
7701
+ * </p>
7702
+ * @public
7703
+ */
7704
+ InstanceCount?: number;
7705
+ }
7599
7706
  /**
7600
7707
  * @public
7601
7708
  * @enum
@@ -8492,231 +8599,6 @@ export interface ReservationFleetInstanceSpecification {
8492
8599
  */
8493
8600
  Priority?: number;
8494
8601
  }
8495
- /**
8496
- * @public
8497
- * @enum
8498
- */
8499
- export declare const FleetCapacityReservationTenancy: {
8500
- readonly default: "default";
8501
- };
8502
- /**
8503
- * @public
8504
- */
8505
- export type FleetCapacityReservationTenancy = (typeof FleetCapacityReservationTenancy)[keyof typeof FleetCapacityReservationTenancy];
8506
- /**
8507
- * @public
8508
- */
8509
- export interface CreateCapacityReservationFleetRequest {
8510
- /**
8511
- * <p>The strategy used by the Capacity Reservation Fleet to determine which of the specified
8512
- * instance types to use. Currently, only the <code>prioritized</code> allocation strategy
8513
- * is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
8514
- * strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
8515
- * <p>Valid values: <code>prioritized</code>
8516
- * </p>
8517
- * @public
8518
- */
8519
- AllocationStrategy?: string;
8520
- /**
8521
- * <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">Ensure Idempotency</a>.</p>
8522
- * @public
8523
- */
8524
- ClientToken?: string;
8525
- /**
8526
- * <p>Information about the instance types for which to reserve the capacity.</p>
8527
- * @public
8528
- */
8529
- InstanceTypeSpecifications: ReservationFleetInstanceSpecification[] | undefined;
8530
- /**
8531
- * <p>Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations
8532
- * in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of
8533
- * the following tenancy settings:</p>
8534
- * <ul>
8535
- * <li>
8536
- * <p>
8537
- * <code>default</code> - The Capacity Reservation Fleet is created on hardware
8538
- * that is shared with other Amazon Web Services accounts.</p>
8539
- * </li>
8540
- * <li>
8541
- * <p>
8542
- * <code>dedicated</code> - The Capacity Reservations are created on single-tenant
8543
- * hardware that is dedicated to a single Amazon Web Services account.</p>
8544
- * </li>
8545
- * </ul>
8546
- * @public
8547
- */
8548
- Tenancy?: FleetCapacityReservationTenancy;
8549
- /**
8550
- * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This
8551
- * value, together with the instance type weights that you assign to each instance type
8552
- * used by the Fleet determine the number of instances for which the Fleet reserves
8553
- * capacity. Both values are based on units that make sense for your workload. For more
8554
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
8555
- * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
8556
- * @public
8557
- */
8558
- TotalTargetCapacity: number | undefined;
8559
- /**
8560
- * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity
8561
- * Reservation Fleet expires, its state changes to <code>expired</code> and all of the Capacity
8562
- * Reservations in the Fleet expire.</p>
8563
- * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example,
8564
- * if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet
8565
- * is guaranteed to expire between <code>13:30:55</code> and <code>14:30:55</code> on
8566
- * <code>5/31/2019</code>.
8567
- * </p>
8568
- * @public
8569
- */
8570
- EndDate?: Date;
8571
- /**
8572
- * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All
8573
- * Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
8574
- * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching criteria
8575
- * only. This means that instances that have matching attributes (instance type, platform, and
8576
- * Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
8577
- * explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
8578
- * @public
8579
- */
8580
- InstanceMatchCriteria?: FleetInstanceMatchCriteria;
8581
- /**
8582
- * <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned
8583
- * to the Capacity Reservations in the Fleet.</p>
8584
- * @public
8585
- */
8586
- TagSpecifications?: TagSpecification[];
8587
- /**
8588
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8589
- * @public
8590
- */
8591
- DryRun?: boolean;
8592
- }
8593
- /**
8594
- * <p>Information about a Capacity Reservation in a Capacity Reservation Fleet.</p>
8595
- * @public
8596
- */
8597
- export interface FleetCapacityReservation {
8598
- /**
8599
- * <p>The ID of the Capacity Reservation.</p>
8600
- * @public
8601
- */
8602
- CapacityReservationId?: string;
8603
- /**
8604
- * <p>The ID of the Availability Zone in which the Capacity Reservation reserves capacity.</p>
8605
- * @public
8606
- */
8607
- AvailabilityZoneId?: string;
8608
- /**
8609
- * <p>The instance type for which the Capacity Reservation reserves capacity.</p>
8610
- * @public
8611
- */
8612
- InstanceType?: _InstanceType;
8613
- /**
8614
- * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
8615
- * @public
8616
- */
8617
- InstancePlatform?: CapacityReservationInstancePlatform;
8618
- /**
8619
- * <p>The Availability Zone in which the Capacity Reservation reserves capacity.</p>
8620
- * @public
8621
- */
8622
- AvailabilityZone?: string;
8623
- /**
8624
- * <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
8625
- * @public
8626
- */
8627
- TotalInstanceCount?: number;
8628
- /**
8629
- * <p>The number of capacity units fulfilled by the Capacity Reservation. For more information,
8630
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
8631
- * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
8632
- * @public
8633
- */
8634
- FulfilledCapacity?: number;
8635
- /**
8636
- * <p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.</p>
8637
- * @public
8638
- */
8639
- EbsOptimized?: boolean;
8640
- /**
8641
- * <p>The date and time at which the Capacity Reservation was created.</p>
8642
- * @public
8643
- */
8644
- CreateDate?: Date;
8645
- /**
8646
- * <p>The weight of the instance type in the Capacity Reservation Fleet. For more information, see
8647
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type
8648
- * weight</a> in the <i>Amazon EC2 User Guide</i>.</p>
8649
- * @public
8650
- */
8651
- Weight?: number;
8652
- /**
8653
- * <p>The priority of the instance type in the Capacity Reservation Fleet. For more information,
8654
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
8655
- * priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
8656
- * @public
8657
- */
8658
- Priority?: number;
8659
- }
8660
- /**
8661
- * @public
8662
- */
8663
- export interface CreateCapacityReservationFleetResult {
8664
- /**
8665
- * <p>The ID of the Capacity Reservation Fleet.</p>
8666
- * @public
8667
- */
8668
- CapacityReservationFleetId?: string;
8669
- /**
8670
- * <p>The status of the Capacity Reservation Fleet.</p>
8671
- * @public
8672
- */
8673
- State?: CapacityReservationFleetState;
8674
- /**
8675
- * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.</p>
8676
- * @public
8677
- */
8678
- TotalTargetCapacity?: number;
8679
- /**
8680
- * <p>The requested capacity units that have been successfully reserved.</p>
8681
- * @public
8682
- */
8683
- TotalFulfilledCapacity?: number;
8684
- /**
8685
- * <p>The instance matching criteria for the Capacity Reservation Fleet.</p>
8686
- * @public
8687
- */
8688
- InstanceMatchCriteria?: FleetInstanceMatchCriteria;
8689
- /**
8690
- * <p>The allocation strategy used by the Capacity Reservation Fleet.</p>
8691
- * @public
8692
- */
8693
- AllocationStrategy?: string;
8694
- /**
8695
- * <p>The date and time at which the Capacity Reservation Fleet was created.</p>
8696
- * @public
8697
- */
8698
- CreateTime?: Date;
8699
- /**
8700
- * <p>The date and time at which the Capacity Reservation Fleet expires.</p>
8701
- * @public
8702
- */
8703
- EndDate?: Date;
8704
- /**
8705
- * <p>Indicates the tenancy of Capacity Reservation Fleet.</p>
8706
- * @public
8707
- */
8708
- Tenancy?: FleetCapacityReservationTenancy;
8709
- /**
8710
- * <p>Information about the individual Capacity Reservations in the Capacity Reservation Fleet.</p>
8711
- * @public
8712
- */
8713
- FleetCapacityReservations?: FleetCapacityReservation[];
8714
- /**
8715
- * <p>The tags assigned to the Capacity Reservation Fleet.</p>
8716
- * @public
8717
- */
8718
- Tags?: Tag[];
8719
- }
8720
8602
  /**
8721
8603
  * @internal
8722
8604
  */