@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
@@ -1,10 +1,298 @@
1
1
  import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
- import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, IpamPoolCidr, TpmSupportValues } from "./models_3";
5
- import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotPlacement } from "./models_4";
6
- import { Purchase, RunInstancesMonitoringEnabled, SpotInstanceRequest } from "./models_5";
3
+ import { IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, TransitGatewayRoute, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
+ import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
+ import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, SpotPlacement, TpmSupportValues } from "./models_4";
6
+ import { Purchase, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest } from "./models_5";
7
7
  import { CapacityReservationSpecification } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyVpnTunnelCertificateResult {
12
+ /**
13
+ * <p>Information about the VPN connection.</p>
14
+ * @public
15
+ */
16
+ VpnConnection?: VpnConnection;
17
+ }
18
+ /**
19
+ * <p>The Amazon Web Services Site-to-Site VPN tunnel options to modify.</p>
20
+ * @public
21
+ */
22
+ export interface ModifyVpnTunnelOptionsSpecification {
23
+ /**
24
+ * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks must be
25
+ * unique across all VPN connections that use the same virtual private gateway. </p>
26
+ * <p>Constraints: A size /30 CIDR block from the <code>169.254.0.0/16</code> range. The
27
+ * following CIDR blocks are reserved and cannot be used:</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>
31
+ * <code>169.254.0.0/30</code>
32
+ * </p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>169.254.1.0/30</code>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <code>169.254.2.0/30</code>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>169.254.3.0/30</code>
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>169.254.4.0/30</code>
52
+ * </p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <code>169.254.5.0/30</code>
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>169.254.169.252/30</code>
62
+ * </p>
63
+ * </li>
64
+ * </ul>
65
+ * @public
66
+ */
67
+ TunnelInsideCidr?: string;
68
+ /**
69
+ * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be
70
+ * unique across all VPN connections that use the same transit gateway.</p>
71
+ * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> range.</p>
72
+ * @public
73
+ */
74
+ TunnelInsideIpv6Cidr?: string;
75
+ /**
76
+ * <p>The pre-shared key (PSK) to establish initial authentication between the virtual
77
+ * private gateway and the customer gateway.</p>
78
+ * <p>Constraints: Allowed characters are alphanumeric characters, periods (.), and
79
+ * underscores (_). Must be between 8 and 64 characters in length and cannot start with
80
+ * zero (0).</p>
81
+ * @public
82
+ */
83
+ PreSharedKey?: string;
84
+ /**
85
+ * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p>
86
+ * <p>Constraints: A value between 900 and 28,800.</p>
87
+ * <p>Default: <code>28800</code>
88
+ * </p>
89
+ * @public
90
+ */
91
+ Phase1LifetimeSeconds?: number;
92
+ /**
93
+ * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p>
94
+ * <p>Constraints: A value between 900 and 3,600. The value must be less than the value for
95
+ * <code>Phase1LifetimeSeconds</code>.</p>
96
+ * <p>Default: <code>3600</code>
97
+ * </p>
98
+ * @public
99
+ */
100
+ Phase2LifetimeSeconds?: number;
101
+ /**
102
+ * <p>The margin time, in seconds, before the phase 2 lifetime expires, during which the
103
+ * Amazon Web Services side of the VPN connection performs an IKE rekey. The exact time
104
+ * of the rekey is randomly selected based on the value for
105
+ * <code>RekeyFuzzPercentage</code>.</p>
106
+ * <p>Constraints: A value between 60 and half of <code>Phase2LifetimeSeconds</code>.</p>
107
+ * <p>Default: <code>270</code>
108
+ * </p>
109
+ * @public
110
+ */
111
+ RekeyMarginTimeSeconds?: number;
112
+ /**
113
+ * <p>The percentage of the rekey window (determined by <code>RekeyMarginTimeSeconds</code>)
114
+ * during which the rekey time is randomly selected.</p>
115
+ * <p>Constraints: A value between 0 and 100.</p>
116
+ * <p>Default: <code>100</code>
117
+ * </p>
118
+ * @public
119
+ */
120
+ RekeyFuzzPercentage?: number;
121
+ /**
122
+ * <p>The number of packets in an IKE replay window.</p>
123
+ * <p>Constraints: A value between 64 and 2048.</p>
124
+ * <p>Default: <code>1024</code>
125
+ * </p>
126
+ * @public
127
+ */
128
+ ReplayWindowSize?: number;
129
+ /**
130
+ * <p>The number of seconds after which a DPD timeout occurs. A DPD timeout of 40 seconds means that the VPN endpoint will consider the peer dead 30 seconds after the first failed keep-alive.</p>
131
+ * <p>Constraints: A value greater than or equal to 30.</p>
132
+ * <p>Default: <code>40</code>
133
+ * </p>
134
+ * @public
135
+ */
136
+ DPDTimeoutSeconds?: number;
137
+ /**
138
+ * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to restart
139
+ * the IKE initiation. Specify <code>clear</code> to end the IKE session.</p>
140
+ * <p>Valid Values: <code>clear</code> | <code>none</code> | <code>restart</code>
141
+ * </p>
142
+ * <p>Default: <code>clear</code>
143
+ * </p>
144
+ * @public
145
+ */
146
+ DPDTimeoutAction?: string;
147
+ /**
148
+ * <p>One or more encryption algorithms that are permitted for the VPN tunnel for phase 1
149
+ * IKE negotiations.</p>
150
+ * <p>Valid values: <code>AES128</code> | <code>AES256</code> | <code>AES128-GCM-16</code> |
151
+ * <code>AES256-GCM-16</code>
152
+ * </p>
153
+ * @public
154
+ */
155
+ Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[];
156
+ /**
157
+ * <p>One or more encryption algorithms that are permitted for the VPN tunnel for phase 2
158
+ * IKE negotiations.</p>
159
+ * <p>Valid values: <code>AES128</code> | <code>AES256</code> | <code>AES128-GCM-16</code> |
160
+ * <code>AES256-GCM-16</code>
161
+ * </p>
162
+ * @public
163
+ */
164
+ Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[];
165
+ /**
166
+ * <p>One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE
167
+ * negotiations.</p>
168
+ * <p>Valid values: <code>SHA1</code> | <code>SHA2-256</code> | <code>SHA2-384</code> |
169
+ * <code>SHA2-512</code>
170
+ * </p>
171
+ * @public
172
+ */
173
+ Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[];
174
+ /**
175
+ * <p>One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE
176
+ * negotiations.</p>
177
+ * <p>Valid values: <code>SHA1</code> | <code>SHA2-256</code> | <code>SHA2-384</code> |
178
+ * <code>SHA2-512</code>
179
+ * </p>
180
+ * @public
181
+ */
182
+ Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[];
183
+ /**
184
+ * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for
185
+ * phase 1 IKE negotiations.</p>
186
+ * <p>Valid values: <code>2</code> | <code>14</code> | <code>15</code> | <code>16</code> |
187
+ * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> |
188
+ * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code>
189
+ * </p>
190
+ * @public
191
+ */
192
+ Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[];
193
+ /**
194
+ * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for
195
+ * phase 2 IKE negotiations.</p>
196
+ * <p>Valid values: <code>2</code> | <code>5</code> | <code>14</code> | <code>15</code> |
197
+ * <code>16</code> | <code>17</code> | <code>18</code> | <code>19</code> |
198
+ * <code>20</code> | <code>21</code> | <code>22</code> | <code>23</code> |
199
+ * <code>24</code>
200
+ * </p>
201
+ * @public
202
+ */
203
+ Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[];
204
+ /**
205
+ * <p>The IKE versions that are permitted for the VPN tunnel.</p>
206
+ * <p>Valid values: <code>ikev1</code> | <code>ikev2</code>
207
+ * </p>
208
+ * @public
209
+ */
210
+ IKEVersions?: IKEVersionsRequestListValue[];
211
+ /**
212
+ * <p>The action to take when the establishing the tunnel for the VPN connection. By
213
+ * default, your customer gateway device must initiate the IKE negotiation and bring up the
214
+ * tunnel. Specify <code>start</code> for Amazon Web Services to initiate the IKE
215
+ * negotiation.</p>
216
+ * <p>Valid Values: <code>add</code> | <code>start</code>
217
+ * </p>
218
+ * <p>Default: <code>add</code>
219
+ * </p>
220
+ * @public
221
+ */
222
+ StartupAction?: string;
223
+ /**
224
+ * <p>Options for logging VPN tunnel activity.</p>
225
+ * @public
226
+ */
227
+ LogOptions?: VpnTunnelLogOptionsSpecification;
228
+ /**
229
+ * <p>Turn on or off tunnel endpoint lifecycle control feature.</p>
230
+ * @public
231
+ */
232
+ EnableTunnelLifecycleControl?: boolean;
233
+ }
234
+ /**
235
+ * @public
236
+ */
237
+ export interface ModifyVpnTunnelOptionsRequest {
238
+ /**
239
+ * <p>The ID of the Amazon Web Services Site-to-Site VPN connection.</p>
240
+ * @public
241
+ */
242
+ VpnConnectionId: string | undefined;
243
+ /**
244
+ * <p>The external IP address of the VPN tunnel.</p>
245
+ * @public
246
+ */
247
+ VpnTunnelOutsideIpAddress: string | undefined;
248
+ /**
249
+ * <p>The tunnel options to modify.</p>
250
+ * @public
251
+ */
252
+ TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
253
+ /**
254
+ * <p>Checks whether you have the required permissions for the action, without actually
255
+ * making the request, and provides an error response. If you have the required
256
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
257
+ * <code>UnauthorizedOperation</code>.</p>
258
+ * @public
259
+ */
260
+ DryRun?: boolean;
261
+ /**
262
+ * <p>Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off <code>EnableTunnelLifecycleControl</code>.</p>
263
+ * <p>Valid values: <code>True</code> | <code>False</code>
264
+ * </p>
265
+ * @public
266
+ */
267
+ SkipTunnelReplacement?: boolean;
268
+ }
269
+ /**
270
+ * @public
271
+ */
272
+ export interface ModifyVpnTunnelOptionsResult {
273
+ /**
274
+ * <p>Information about the VPN connection.</p>
275
+ * @public
276
+ */
277
+ VpnConnection?: VpnConnection;
278
+ }
279
+ /**
280
+ * @public
281
+ */
282
+ export interface MonitorInstancesRequest {
283
+ /**
284
+ * <p>The IDs of the instances.</p>
285
+ * @public
286
+ */
287
+ InstanceIds: string[] | undefined;
288
+ /**
289
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
290
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
291
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
292
+ * @public
293
+ */
294
+ DryRun?: boolean;
295
+ }
8
296
  /**
9
297
  * <p>Describes the monitoring of an instance.</p>
10
298
  * @public
@@ -113,6 +401,67 @@ export interface MoveByoipCidrToIpamResult {
113
401
  */
114
402
  ByoipCidr?: ByoipCidr;
115
403
  }
404
+ /**
405
+ * @public
406
+ */
407
+ export interface MoveCapacityReservationInstancesRequest {
408
+ /**
409
+ * <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>
410
+ * @public
411
+ */
412
+ DryRun?: boolean;
413
+ /**
414
+ * <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>
415
+ * @public
416
+ */
417
+ ClientToken?: string;
418
+ /**
419
+ * <p>
420
+ * The ID of the Capacity Reservation from which you want to move capacity.
421
+ * </p>
422
+ * @public
423
+ */
424
+ SourceCapacityReservationId: string | undefined;
425
+ /**
426
+ * <p>
427
+ * The ID of the Capacity Reservation that you want to move capacity into.
428
+ * </p>
429
+ * @public
430
+ */
431
+ DestinationCapacityReservationId: string | undefined;
432
+ /**
433
+ * <p>The number of instances that you want to move from the source Capacity Reservation.
434
+ * </p>
435
+ * @public
436
+ */
437
+ InstanceCount: number | undefined;
438
+ }
439
+ /**
440
+ * @public
441
+ */
442
+ export interface MoveCapacityReservationInstancesResult {
443
+ /**
444
+ * <p>
445
+ * Information about the source Capacity Reservation.
446
+ * </p>
447
+ * @public
448
+ */
449
+ SourceCapacityReservation?: CapacityReservation;
450
+ /**
451
+ * <p>
452
+ * Information about the destination Capacity Reservation.
453
+ * </p>
454
+ * @public
455
+ */
456
+ DestinationCapacityReservation?: CapacityReservation;
457
+ /**
458
+ * <p>
459
+ * The number of instances that were moved from the source Capacity Reservation to the destination Capacity Reservation.
460
+ * </p>
461
+ * @public
462
+ */
463
+ InstanceCount?: number;
464
+ }
116
465
  /**
117
466
  * <p>Provides authorization for Amazon to bring a specific IP address range to a specific
118
467
  * Amazon Web Services account using bring your own IP addresses (BYOIP). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip">Configuring your BYOIP address range</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -368,7 +717,7 @@ export interface ProvisionPublicIpv4PoolCidrRequest {
368
717
  */
369
718
  PoolId: string | undefined;
370
719
  /**
371
- * <p>The netmask length of the CIDR you would like to allocate to the public IPv4 pool.</p>
720
+ * <p>The netmask length of the CIDR you would like to allocate to the public IPv4 pool. The least specific netmask length you can define is 24.</p>
372
721
  * @public
373
722
  */
374
723
  NetmaskLength: number | undefined;
@@ -4508,6 +4857,22 @@ export interface WithdrawByoipCidrResult {
4508
4857
  */
4509
4858
  ByoipCidr?: ByoipCidr;
4510
4859
  }
4860
+ /**
4861
+ * @internal
4862
+ */
4863
+ export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (obj: ModifyVpnTunnelCertificateResult) => any;
4864
+ /**
4865
+ * @internal
4866
+ */
4867
+ export declare const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsSpecification) => any;
4868
+ /**
4869
+ * @internal
4870
+ */
4871
+ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsRequest) => any;
4872
+ /**
4873
+ * @internal
4874
+ */
4875
+ export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsResult) => any;
4511
4876
  /**
4512
4877
  * @internal
4513
4878
  */
@@ -55,6 +55,7 @@ import { ConfirmProductInstanceCommandInput, ConfirmProductInstanceCommandOutput
55
55
  import { CopyFpgaImageCommandInput, CopyFpgaImageCommandOutput } from "../commands/CopyFpgaImageCommand";
56
56
  import { CopyImageCommandInput, CopyImageCommandOutput } from "../commands/CopyImageCommand";
57
57
  import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "../commands/CopySnapshotCommand";
58
+ import { CreateCapacityReservationBySplittingCommandInput, CreateCapacityReservationBySplittingCommandOutput } from "../commands/CreateCapacityReservationBySplittingCommand";
58
59
  import { CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput } from "../commands/CreateCapacityReservationCommand";
59
60
  import { CreateCapacityReservationFleetCommandInput, CreateCapacityReservationFleetCommandOutput } from "../commands/CreateCapacityReservationFleetCommand";
60
61
  import { CreateCarrierGatewayCommandInput, CreateCarrierGatewayCommandOutput } from "../commands/CreateCarrierGatewayCommand";
@@ -558,6 +559,7 @@ import { ModifyVpnTunnelOptionsCommandInput, ModifyVpnTunnelOptionsCommandOutput
558
559
  import { MonitorInstancesCommandInput, MonitorInstancesCommandOutput } from "../commands/MonitorInstancesCommand";
559
560
  import { MoveAddressToVpcCommandInput, MoveAddressToVpcCommandOutput } from "../commands/MoveAddressToVpcCommand";
560
561
  import { MoveByoipCidrToIpamCommandInput, MoveByoipCidrToIpamCommandOutput } from "../commands/MoveByoipCidrToIpamCommand";
562
+ import { MoveCapacityReservationInstancesCommandInput, MoveCapacityReservationInstancesCommandOutput } from "../commands/MoveCapacityReservationInstancesCommand";
561
563
  import { ProvisionByoipCidrCommandInput, ProvisionByoipCidrCommandOutput } from "../commands/ProvisionByoipCidrCommand";
562
564
  import { ProvisionIpamByoasnCommandInput, ProvisionIpamByoasnCommandOutput } from "../commands/ProvisionIpamByoasnCommand";
563
565
  import { ProvisionIpamPoolCidrCommandInput, ProvisionIpamPoolCidrCommandOutput } from "../commands/ProvisionIpamPoolCidrCommand";
@@ -849,6 +851,10 @@ export declare const se_CopySnapshotCommand: (input: CopySnapshotCommandInput, c
849
851
  * serializeAws_ec2CreateCapacityReservationCommand
850
852
  */
851
853
  export declare const se_CreateCapacityReservationCommand: (input: CreateCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
854
+ /**
855
+ * serializeAws_ec2CreateCapacityReservationBySplittingCommand
856
+ */
857
+ export declare const se_CreateCapacityReservationBySplittingCommand: (input: CreateCapacityReservationBySplittingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
852
858
  /**
853
859
  * serializeAws_ec2CreateCapacityReservationFleetCommand
854
860
  */
@@ -2857,6 +2863,10 @@ export declare const se_MoveAddressToVpcCommand: (input: MoveAddressToVpcCommand
2857
2863
  * serializeAws_ec2MoveByoipCidrToIpamCommand
2858
2864
  */
2859
2865
  export declare const se_MoveByoipCidrToIpamCommand: (input: MoveByoipCidrToIpamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2866
+ /**
2867
+ * serializeAws_ec2MoveCapacityReservationInstancesCommand
2868
+ */
2869
+ export declare const se_MoveCapacityReservationInstancesCommand: (input: MoveCapacityReservationInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2860
2870
  /**
2861
2871
  * serializeAws_ec2ProvisionByoipCidrCommand
2862
2872
  */
@@ -3349,6 +3359,10 @@ export declare const de_CopySnapshotCommand: (output: __HttpResponse, context: _
3349
3359
  * deserializeAws_ec2CreateCapacityReservationCommand
3350
3360
  */
3351
3361
  export declare const de_CreateCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCapacityReservationCommandOutput>;
3362
+ /**
3363
+ * deserializeAws_ec2CreateCapacityReservationBySplittingCommand
3364
+ */
3365
+ export declare const de_CreateCapacityReservationBySplittingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCapacityReservationBySplittingCommandOutput>;
3352
3366
  /**
3353
3367
  * deserializeAws_ec2CreateCapacityReservationFleetCommand
3354
3368
  */
@@ -5357,6 +5371,10 @@ export declare const de_MoveAddressToVpcCommand: (output: __HttpResponse, contex
5357
5371
  * deserializeAws_ec2MoveByoipCidrToIpamCommand
5358
5372
  */
5359
5373
  export declare const de_MoveByoipCidrToIpamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MoveByoipCidrToIpamCommandOutput>;
5374
+ /**
5375
+ * deserializeAws_ec2MoveCapacityReservationInstancesCommand
5376
+ */
5377
+ export declare const de_MoveCapacityReservationInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MoveCapacityReservationInstancesCommandOutput>;
5360
5378
  /**
5361
5379
  * deserializeAws_ec2ProvisionByoipCidrCommand
5362
5380
  */
@@ -219,6 +219,10 @@ import {
219
219
  CopySnapshotCommandInput,
220
220
  CopySnapshotCommandOutput,
221
221
  } from "./commands/CopySnapshotCommand";
222
+ import {
223
+ CreateCapacityReservationBySplittingCommandInput,
224
+ CreateCapacityReservationBySplittingCommandOutput,
225
+ } from "./commands/CreateCapacityReservationBySplittingCommand";
222
226
  import {
223
227
  CreateCapacityReservationCommandInput,
224
228
  CreateCapacityReservationCommandOutput,
@@ -2231,6 +2235,10 @@ import {
2231
2235
  MoveByoipCidrToIpamCommandInput,
2232
2236
  MoveByoipCidrToIpamCommandOutput,
2233
2237
  } from "./commands/MoveByoipCidrToIpamCommand";
2238
+ import {
2239
+ MoveCapacityReservationInstancesCommandInput,
2240
+ MoveCapacityReservationInstancesCommandOutput,
2241
+ } from "./commands/MoveCapacityReservationInstancesCommand";
2234
2242
  import {
2235
2243
  ProvisionByoipCidrCommandInput,
2236
2244
  ProvisionByoipCidrCommandOutput,
@@ -3294,6 +3302,25 @@ export interface EC2 {
3294
3302
  options: __HttpHandlerOptions,
3295
3303
  cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void
3296
3304
  ): void;
3305
+ createCapacityReservationBySplitting(
3306
+ args: CreateCapacityReservationBySplittingCommandInput,
3307
+ options?: __HttpHandlerOptions
3308
+ ): Promise<CreateCapacityReservationBySplittingCommandOutput>;
3309
+ createCapacityReservationBySplitting(
3310
+ args: CreateCapacityReservationBySplittingCommandInput,
3311
+ cb: (
3312
+ err: any,
3313
+ data?: CreateCapacityReservationBySplittingCommandOutput
3314
+ ) => void
3315
+ ): void;
3316
+ createCapacityReservationBySplitting(
3317
+ args: CreateCapacityReservationBySplittingCommandInput,
3318
+ options: __HttpHandlerOptions,
3319
+ cb: (
3320
+ err: any,
3321
+ data?: CreateCapacityReservationBySplittingCommandOutput
3322
+ ) => void
3323
+ ): void;
3297
3324
  createCapacityReservationFleet(
3298
3325
  args: CreateCapacityReservationFleetCommandInput,
3299
3326
  options?: __HttpHandlerOptions
@@ -10643,6 +10670,19 @@ export interface EC2 {
10643
10670
  options: __HttpHandlerOptions,
10644
10671
  cb: (err: any, data?: MoveByoipCidrToIpamCommandOutput) => void
10645
10672
  ): void;
10673
+ moveCapacityReservationInstances(
10674
+ args: MoveCapacityReservationInstancesCommandInput,
10675
+ options?: __HttpHandlerOptions
10676
+ ): Promise<MoveCapacityReservationInstancesCommandOutput>;
10677
+ moveCapacityReservationInstances(
10678
+ args: MoveCapacityReservationInstancesCommandInput,
10679
+ cb: (err: any, data?: MoveCapacityReservationInstancesCommandOutput) => void
10680
+ ): void;
10681
+ moveCapacityReservationInstances(
10682
+ args: MoveCapacityReservationInstancesCommandInput,
10683
+ options: __HttpHandlerOptions,
10684
+ cb: (err: any, data?: MoveCapacityReservationInstancesCommandOutput) => void
10685
+ ): void;
10646
10686
  provisionByoipCidr(
10647
10687
  args: ProvisionByoipCidrCommandInput,
10648
10688
  options?: __HttpHandlerOptions
@@ -265,6 +265,10 @@ import {
265
265
  CopySnapshotCommandInput,
266
266
  CopySnapshotCommandOutput,
267
267
  } from "./commands/CopySnapshotCommand";
268
+ import {
269
+ CreateCapacityReservationBySplittingCommandInput,
270
+ CreateCapacityReservationBySplittingCommandOutput,
271
+ } from "./commands/CreateCapacityReservationBySplittingCommand";
268
272
  import {
269
273
  CreateCapacityReservationCommandInput,
270
274
  CreateCapacityReservationCommandOutput,
@@ -2277,6 +2281,10 @@ import {
2277
2281
  MoveByoipCidrToIpamCommandInput,
2278
2282
  MoveByoipCidrToIpamCommandOutput,
2279
2283
  } from "./commands/MoveByoipCidrToIpamCommand";
2284
+ import {
2285
+ MoveCapacityReservationInstancesCommandInput,
2286
+ MoveCapacityReservationInstancesCommandOutput,
2287
+ } from "./commands/MoveCapacityReservationInstancesCommand";
2280
2288
  import {
2281
2289
  ProvisionByoipCidrCommandInput,
2282
2290
  ProvisionByoipCidrCommandOutput,
@@ -2608,6 +2616,7 @@ export type ServiceInputTypes =
2608
2616
  | CopyFpgaImageCommandInput
2609
2617
  | CopyImageCommandInput
2610
2618
  | CopySnapshotCommandInput
2619
+ | CreateCapacityReservationBySplittingCommandInput
2611
2620
  | CreateCapacityReservationCommandInput
2612
2621
  | CreateCapacityReservationFleetCommandInput
2613
2622
  | CreateCarrierGatewayCommandInput
@@ -3111,6 +3120,7 @@ export type ServiceInputTypes =
3111
3120
  | MonitorInstancesCommandInput
3112
3121
  | MoveAddressToVpcCommandInput
3113
3122
  | MoveByoipCidrToIpamCommandInput
3123
+ | MoveCapacityReservationInstancesCommandInput
3114
3124
  | ProvisionByoipCidrCommandInput
3115
3125
  | ProvisionIpamByoasnCommandInput
3116
3126
  | ProvisionIpamPoolCidrCommandInput
@@ -3234,6 +3244,7 @@ export type ServiceOutputTypes =
3234
3244
  | CopyFpgaImageCommandOutput
3235
3245
  | CopyImageCommandOutput
3236
3246
  | CopySnapshotCommandOutput
3247
+ | CreateCapacityReservationBySplittingCommandOutput
3237
3248
  | CreateCapacityReservationCommandOutput
3238
3249
  | CreateCapacityReservationFleetCommandOutput
3239
3250
  | CreateCarrierGatewayCommandOutput
@@ -3737,6 +3748,7 @@ export type ServiceOutputTypes =
3737
3748
  | MonitorInstancesCommandOutput
3738
3749
  | MoveAddressToVpcCommandOutput
3739
3750
  | MoveByoipCidrToIpamCommandOutput
3751
+ | MoveCapacityReservationInstancesCommandOutput
3740
3752
  | ProvisionByoipCidrCommandOutput
3741
3753
  | ProvisionIpamByoasnCommandOutput
3742
3754
  | ProvisionIpamPoolCidrCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ CreateCapacityReservationBySplittingRequest,
10
+ CreateCapacityReservationBySplittingResult,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateCapacityReservationBySplittingCommandInput
15
+ extends CreateCapacityReservationBySplittingRequest {}
16
+ export interface CreateCapacityReservationBySplittingCommandOutput
17
+ extends CreateCapacityReservationBySplittingResult,
18
+ __MetadataBearer {}
19
+ declare const CreateCapacityReservationBySplittingCommand_base: {
20
+ new (
21
+ input: CreateCapacityReservationBySplittingCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateCapacityReservationBySplittingCommandInput,
24
+ CreateCapacityReservationBySplittingCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateCapacityReservationBySplittingCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateCapacityReservationBySplittingCommandInput,
33
+ CreateCapacityReservationBySplittingCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateCapacityReservationBySplittingCommand extends CreateCapacityReservationBySplittingCommand_base {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateCapacityReservationFleetRequest,
10
10
  CreateCapacityReservationFleetResult,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateCapacityReservationFleetCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateNetworkInterfaceRequest } from "../models/models_1";
9
- import { CreateNetworkInterfaceResult } from "../models/models_2";
8
+ import {
9
+ CreateNetworkInterfaceRequest,
10
+ CreateNetworkInterfaceResult,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateNetworkInterfaceCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DeleteLaunchTemplateVersionsRequest,
10
- DeleteLaunchTemplateVersionsResult,
11
- } from "../models/models_2";
8
+ import { DeleteLaunchTemplateVersionsRequest } from "../models/models_2";
9
+ import { DeleteLaunchTemplateVersionsResult } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteLaunchTemplateVersionsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteLocalGatewayRouteRequest,
10
10
  DeleteLocalGatewayRouteResult,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteLocalGatewayRouteCommandInput