@aws-sdk/client-ec2 3.1170.0 → 3.1172.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 (102) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +245 -32
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyTransitGatewayPeeringAttachmentCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +20 -0
  7. package/dist-es/schemas/schemas_0.js +202 -31
  8. package/dist-types/EC2.d.ts +7 -0
  9. package/dist-types/EC2Client.d.ts +3 -2
  10. package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  11. package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +10 -0
  12. package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -2
  13. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +7 -0
  15. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +44 -0
  17. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +20 -0
  22. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -0
  30. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +22 -0
  32. package/dist-types/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
  33. package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  34. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  35. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -2
  36. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +12 -0
  37. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -1
  38. package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -2
  40. package/dist-types/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +119 -0
  41. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +14 -0
  42. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -1
  43. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +23 -1
  44. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +23 -1
  45. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +23 -1
  46. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +45 -1
  47. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  48. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +76 -0
  49. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
  50. package/dist-types/commands/index.d.ts +1 -0
  51. package/dist-types/models/enums.d.ts +60 -0
  52. package/dist-types/models/models_0.d.ts +187 -161
  53. package/dist-types/models/models_1.d.ts +162 -156
  54. package/dist-types/models/models_2.d.ts +246 -125
  55. package/dist-types/models/models_3.d.ts +211 -264
  56. package/dist-types/models/models_4.d.ts +266 -367
  57. package/dist-types/models/models_5.d.ts +366 -129
  58. package/dist-types/models/models_6.d.ts +129 -178
  59. package/dist-types/models/models_7.d.ts +275 -446
  60. package/dist-types/models/models_8.d.ts +469 -5
  61. package/dist-types/schemas/schemas_0.d.ts +12 -0
  62. package/dist-types/ts3.4/EC2.d.ts +17 -0
  63. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +2 -1
  70. package/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +4 -2
  76. package/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +2 -1
  85. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -2
  90. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  91. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +39 -32
  93. package/dist-types/ts3.4/models/models_1.d.ts +32 -33
  94. package/dist-types/ts3.4/models/models_2.d.ts +48 -29
  95. package/dist-types/ts3.4/models/models_3.d.ts +45 -54
  96. package/dist-types/ts3.4/models/models_4.d.ts +62 -72
  97. package/dist-types/ts3.4/models/models_5.d.ts +71 -33
  98. package/dist-types/ts3.4/models/models_6.d.ts +38 -44
  99. package/dist-types/ts3.4/models/models_7.d.ts +65 -85
  100. package/dist-types/ts3.4/models/models_8.d.ts +90 -7
  101. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  102. package/package.json +1 -1
@@ -1,12 +1,469 @@
1
- import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ArchitectureValues, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SeverityLabel, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TransitGatewayAttachmentResourceType, VerificationMethod, ZeroSizePreference } from "./enums";
2
- import type { AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
1
+ import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ArchitectureValues, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SeverityLabel, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TransitGatewayAttachmentResourceType, VerificationMethod, VpnTunnelBandwidth, ZeroSizePreference } from "./enums";
2
+ import type { AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VpnAdditionalKeyExchangeRequest } from "./models_0";
3
3
  import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
4
- import type { TransitGatewayRoute } from "./models_2";
4
+ import type { IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayRoute, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { Byoasn, CapacityBlock, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
- import type { InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
7
- import type { InstanceNetworkInterfaceSpecification, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
6
+ import type { InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis } from "./models_4";
7
+ import type { InstanceNetworkInterfaceSpecification, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
8
8
  import type { CapacityManagerMonitoredTagKey, Purchase } from "./models_6";
9
9
  import type { CapacityReservationSpecification, EnclaveOptionsRequest } from "./models_7";
10
+ /**
11
+ * @public
12
+ */
13
+ export interface ModifyVpcTenancyResult {
14
+ /**
15
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an
16
+ * error.</p>
17
+ * @public
18
+ */
19
+ ReturnValue?: boolean | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface ModifyVpnConnectionRequest {
25
+ /**
26
+ * <p>The ID of the VPN connection.</p>
27
+ * @public
28
+ */
29
+ VpnConnectionId: string | undefined;
30
+ /**
31
+ * <p>The ID of the transit gateway.</p>
32
+ * @public
33
+ */
34
+ TransitGatewayId?: string | undefined;
35
+ /**
36
+ * <p>The ID of the customer gateway at your end of the VPN connection.</p>
37
+ * @public
38
+ */
39
+ CustomerGatewayId?: string | undefined;
40
+ /**
41
+ * <p>The ID of the virtual private gateway at the Amazon Web Services side of the VPN
42
+ * connection.</p>
43
+ * @public
44
+ */
45
+ VpnGatewayId?: string | undefined;
46
+ /**
47
+ * <p>Checks whether you have the required permissions for the action, without actually
48
+ * making the request, and provides an error response. If you have the required
49
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
50
+ * <code>UnauthorizedOperation</code>.</p>
51
+ * @public
52
+ */
53
+ DryRun?: boolean | undefined;
54
+ }
55
+ /**
56
+ * @public
57
+ */
58
+ export interface ModifyVpnConnectionResult {
59
+ /**
60
+ * <p>Information about the VPN connection.</p>
61
+ * @public
62
+ */
63
+ VpnConnection?: VpnConnection | undefined;
64
+ }
65
+ /**
66
+ * @public
67
+ */
68
+ export interface ModifyVpnConnectionOptionsRequest {
69
+ /**
70
+ * <p>The ID of the Site-to-Site VPN connection. </p>
71
+ * @public
72
+ */
73
+ VpnConnectionId: string | undefined;
74
+ /**
75
+ * <p>The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
76
+ * <p>Default: <code>0.0.0.0/0</code>
77
+ * </p>
78
+ * @public
79
+ */
80
+ LocalIpv4NetworkCidr?: string | undefined;
81
+ /**
82
+ * <p>The IPv4 CIDR on the Amazon Web Services side of the VPN connection.</p>
83
+ * <p>Default: <code>0.0.0.0/0</code>
84
+ * </p>
85
+ * @public
86
+ */
87
+ RemoteIpv4NetworkCidr?: string | undefined;
88
+ /**
89
+ * <p>The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.</p>
90
+ * <p>Default: <code>::/0</code>
91
+ * </p>
92
+ * @public
93
+ */
94
+ LocalIpv6NetworkCidr?: string | undefined;
95
+ /**
96
+ * <p>The IPv6 CIDR on the Amazon Web Services side of the VPN connection.</p>
97
+ * <p>Default: <code>::/0</code>
98
+ * </p>
99
+ * @public
100
+ */
101
+ RemoteIpv6NetworkCidr?: string | undefined;
102
+ /**
103
+ * <p>The desired bandwidth specification for the VPN connection. <code>standard</code> supports up to 1.25 Gbps per tunnel, while <code>large</code> supports up to 5 Gbps per tunnel. Large bandwidth is only available for VPN connections attached to a transit gateway or to Cloud WAN. The default value is <code>standard</code>.</p>
104
+ * @public
105
+ */
106
+ TunnelBandwidth?: VpnTunnelBandwidth | undefined;
107
+ /**
108
+ * <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>
109
+ * @public
110
+ */
111
+ DryRun?: boolean | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ */
116
+ export interface ModifyVpnConnectionOptionsResult {
117
+ /**
118
+ * <p>Information about the VPN connection.</p>
119
+ * @public
120
+ */
121
+ VpnConnection?: VpnConnection | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export interface ModifyVpnTunnelCertificateRequest {
127
+ /**
128
+ * <p>The ID of the Amazon Web Services Site-to-Site VPN connection.</p>
129
+ * @public
130
+ */
131
+ VpnConnectionId: string | undefined;
132
+ /**
133
+ * <p>The external IP address of the VPN tunnel.</p>
134
+ * @public
135
+ */
136
+ VpnTunnelOutsideIpAddress: string | undefined;
137
+ /**
138
+ * <p>Checks whether you have the required permissions for the action, without actually
139
+ * making the request, and provides an error response. If you have the required
140
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
141
+ * <code>UnauthorizedOperation</code>.</p>
142
+ * @public
143
+ */
144
+ DryRun?: boolean | undefined;
145
+ }
146
+ /**
147
+ * @public
148
+ */
149
+ export interface ModifyVpnTunnelCertificateResult {
150
+ /**
151
+ * <p>Information about the VPN connection.</p>
152
+ * @public
153
+ */
154
+ VpnConnection?: VpnConnection | undefined;
155
+ }
156
+ /**
157
+ * <p>The Amazon Web Services Site-to-Site VPN tunnel options to modify.</p>
158
+ * @public
159
+ */
160
+ export interface ModifyVpnTunnelOptionsSpecification {
161
+ /**
162
+ * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks must be
163
+ * unique across all VPN connections that use the same virtual private gateway. </p>
164
+ * <p>Constraints: A size /30 CIDR block from the <code>169.254.0.0/16</code> range. The
165
+ * following CIDR blocks are reserved and cannot be used:</p>
166
+ * <ul>
167
+ * <li>
168
+ * <p>
169
+ * <code>169.254.0.0/30</code>
170
+ * </p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <code>169.254.1.0/30</code>
175
+ * </p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <code>169.254.2.0/30</code>
180
+ * </p>
181
+ * </li>
182
+ * <li>
183
+ * <p>
184
+ * <code>169.254.3.0/30</code>
185
+ * </p>
186
+ * </li>
187
+ * <li>
188
+ * <p>
189
+ * <code>169.254.4.0/30</code>
190
+ * </p>
191
+ * </li>
192
+ * <li>
193
+ * <p>
194
+ * <code>169.254.5.0/30</code>
195
+ * </p>
196
+ * </li>
197
+ * <li>
198
+ * <p>
199
+ * <code>169.254.169.252/30</code>
200
+ * </p>
201
+ * </li>
202
+ * </ul>
203
+ * @public
204
+ */
205
+ TunnelInsideCidr?: string | undefined;
206
+ /**
207
+ * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks must be
208
+ * unique across all VPN connections that use the same transit gateway.</p>
209
+ * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> range.</p>
210
+ * @public
211
+ */
212
+ TunnelInsideIpv6Cidr?: string | undefined;
213
+ /**
214
+ * <p>The pre-shared key (PSK) to establish initial authentication between the virtual
215
+ * private gateway and the customer gateway.</p>
216
+ * <p>Constraints: Allowed characters are alphanumeric characters, periods (.), and
217
+ * underscores (_). Must be between 8 and 64 characters in length and cannot start with
218
+ * zero (0).</p>
219
+ * @public
220
+ */
221
+ PreSharedKey?: string | undefined;
222
+ /**
223
+ * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p>
224
+ * <p>Constraints: A value between 900 and 28,800.</p>
225
+ * <p>Default: <code>28800</code>
226
+ * </p>
227
+ * @public
228
+ */
229
+ Phase1LifetimeSeconds?: number | undefined;
230
+ /**
231
+ * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p>
232
+ * <p>Constraints: A value between 900 and 3,600. The value must be less than the value for
233
+ * <code>Phase1LifetimeSeconds</code>.</p>
234
+ * <p>Default: <code>3600</code>
235
+ * </p>
236
+ * @public
237
+ */
238
+ Phase2LifetimeSeconds?: number | undefined;
239
+ /**
240
+ * <p>The margin time, in seconds, before the phase 2 lifetime expires, during which the
241
+ * Amazon Web Services side of the VPN connection performs an IKE rekey. The exact time
242
+ * of the rekey is randomly selected based on the value for
243
+ * <code>RekeyFuzzPercentage</code>.</p>
244
+ * <p>Constraints: A value between 60 and half of <code>Phase2LifetimeSeconds</code>.</p>
245
+ * <p>Default: <code>270</code>
246
+ * </p>
247
+ * @public
248
+ */
249
+ RekeyMarginTimeSeconds?: number | undefined;
250
+ /**
251
+ * <p>The percentage of the rekey window (determined by <code>RekeyMarginTimeSeconds</code>)
252
+ * during which the rekey time is randomly selected.</p>
253
+ * <p>Constraints: A value between 0 and 100.</p>
254
+ * <p>Default: <code>100</code>
255
+ * </p>
256
+ * @public
257
+ */
258
+ RekeyFuzzPercentage?: number | undefined;
259
+ /**
260
+ * <p>The number of packets in an IKE replay window.</p>
261
+ * <p>Constraints: A value between 64 and 2048.</p>
262
+ * <p>Default: <code>1024</code>
263
+ * </p>
264
+ * @public
265
+ */
266
+ ReplayWindowSize?: number | undefined;
267
+ /**
268
+ * <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>
269
+ * <p>Constraints: A value greater than or equal to 30.</p>
270
+ * <p>Default: <code>40</code>
271
+ * </p>
272
+ * @public
273
+ */
274
+ DPDTimeoutSeconds?: number | undefined;
275
+ /**
276
+ * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to restart
277
+ * the IKE initiation. Specify <code>clear</code> to end the IKE session.</p>
278
+ * <p>Valid Values: <code>clear</code> | <code>none</code> | <code>restart</code>
279
+ * </p>
280
+ * <p>Default: <code>clear</code>
281
+ * </p>
282
+ * @public
283
+ */
284
+ DPDTimeoutAction?: string | undefined;
285
+ /**
286
+ * <p>One or more encryption algorithms that are permitted for the VPN tunnel for phase 1
287
+ * IKE negotiations.</p>
288
+ * <p>Valid values: <code>AES128</code> | <code>AES256</code> | <code>AES128-GCM-16</code> |
289
+ * <code>AES256-GCM-16</code>
290
+ * </p>
291
+ * @public
292
+ */
293
+ Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[] | undefined;
294
+ /**
295
+ * <p>One or more encryption algorithms that are permitted for the VPN tunnel for phase 2
296
+ * IKE negotiations.</p>
297
+ * <p>Valid values: <code>AES128</code> | <code>AES256</code> | <code>AES128-GCM-16</code> |
298
+ * <code>AES256-GCM-16</code>
299
+ * </p>
300
+ * @public
301
+ */
302
+ Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[] | undefined;
303
+ /**
304
+ * <p>One or more integrity algorithms that are permitted for the VPN tunnel for phase 1 IKE
305
+ * negotiations.</p>
306
+ * <p>Valid values: <code>SHA1</code> | <code>SHA2-256</code> | <code>SHA2-384</code> |
307
+ * <code>SHA2-512</code>
308
+ * </p>
309
+ * @public
310
+ */
311
+ Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[] | undefined;
312
+ /**
313
+ * <p>One or more integrity algorithms that are permitted for the VPN tunnel for phase 2 IKE
314
+ * negotiations.</p>
315
+ * <p>Valid values: <code>SHA1</code> | <code>SHA2-256</code> | <code>SHA2-384</code> |
316
+ * <code>SHA2-512</code>
317
+ * </p>
318
+ * @public
319
+ */
320
+ Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[] | undefined;
321
+ /**
322
+ * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for
323
+ * phase 1 IKE negotiations.</p>
324
+ * <p>Valid values: <code>2</code> | <code>14</code> | <code>15</code> | <code>16</code> |
325
+ * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> |
326
+ * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> |
327
+ * <code>35</code>
328
+ * </p>
329
+ * @public
330
+ */
331
+ Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[] | undefined;
332
+ /**
333
+ * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel for
334
+ * phase 2 IKE negotiations.</p>
335
+ * <p>Valid values: <code>2</code> | <code>5</code> | <code>14</code> | <code>15</code> |
336
+ * <code>16</code> | <code>17</code> | <code>18</code> | <code>19</code> |
337
+ * <code>20</code> | <code>21</code> | <code>22</code> | <code>23</code> |
338
+ * <code>24</code> | <code>35</code> | <code>36</code> | <code>37</code>
339
+ * </p>
340
+ * @public
341
+ */
342
+ Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[] | undefined;
343
+ /**
344
+ * <p>The IKE versions that are permitted for the VPN tunnel.</p>
345
+ * <p>Valid values: <code>ikev1</code> | <code>ikev2</code>
346
+ * </p>
347
+ * @public
348
+ */
349
+ IKEVersions?: IKEVersionsRequestListValue[] | undefined;
350
+ /**
351
+ * <p>The action to take when the establishing the tunnel for the VPN connection. By
352
+ * default, your customer gateway device must initiate the IKE negotiation and bring up the
353
+ * tunnel. Specify <code>start</code> for Amazon Web Services to initiate the IKE
354
+ * negotiation.</p>
355
+ * <p>Valid Values: <code>add</code> | <code>start</code>
356
+ * </p>
357
+ * <p>Default: <code>add</code>
358
+ * </p>
359
+ * @public
360
+ */
361
+ StartupAction?: string | undefined;
362
+ /**
363
+ * <p>Options for logging VPN tunnel activity.</p>
364
+ * @public
365
+ */
366
+ LogOptions?: VpnTunnelLogOptionsSpecification | undefined;
367
+ /**
368
+ * <p>Turn on or off tunnel endpoint lifecycle control feature.</p>
369
+ * @public
370
+ */
371
+ EnableTunnelLifecycleControl?: boolean | undefined;
372
+ /**
373
+ * <p>One or more additional key exchange rounds that are permitted for the VPN tunnel for
374
+ * phase 1 IKE negotiations. Additional key exchanges occur after the initial
375
+ * Diffie-Hellman exchange. Each round must have a unique round number.</p>
376
+ * <p>Additional key exchanges are supported only with IKEv2. You can't specify a
377
+ * <code>required</code> round if <code>IKEVersions</code> contains only
378
+ * <code>ikev1</code>.</p>
379
+ * @public
380
+ */
381
+ Phase1AdditionalKeyExchanges?: VpnAdditionalKeyExchangeRequest[] | undefined;
382
+ /**
383
+ * <p>One or more additional key exchange rounds that are permitted for the VPN tunnel for
384
+ * phase 2 IKE negotiations. Additional key exchanges occur after the initial
385
+ * Diffie-Hellman exchange. Each round must have a unique round number.</p>
386
+ * <p>Additional key exchanges are supported only with IKEv2. You can't specify a
387
+ * <code>required</code> round if <code>IKEVersions</code> contains only
388
+ * <code>ikev1</code>.</p>
389
+ * @public
390
+ */
391
+ Phase2AdditionalKeyExchanges?: VpnAdditionalKeyExchangeRequest[] | undefined;
392
+ }
393
+ /**
394
+ * @public
395
+ */
396
+ export interface ModifyVpnTunnelOptionsRequest {
397
+ /**
398
+ * <p>The ID of the Amazon Web Services Site-to-Site VPN connection.</p>
399
+ * @public
400
+ */
401
+ VpnConnectionId: string | undefined;
402
+ /**
403
+ * <p>The external IP address of the VPN tunnel.</p>
404
+ * @public
405
+ */
406
+ VpnTunnelOutsideIpAddress: string | undefined;
407
+ /**
408
+ * <p>The tunnel options to modify.</p>
409
+ * @public
410
+ */
411
+ TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
412
+ /**
413
+ * <p>Checks whether you have the required permissions for the action, without actually
414
+ * making the request, and provides an error response. If you have the required
415
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
416
+ * <code>UnauthorizedOperation</code>.</p>
417
+ * @public
418
+ */
419
+ DryRun?: boolean | undefined;
420
+ /**
421
+ * <p>Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off <code>EnableTunnelLifecycleControl</code>.</p>
422
+ * <p>Valid values: <code>True</code> | <code>False</code>
423
+ * </p>
424
+ * @public
425
+ */
426
+ SkipTunnelReplacement?: boolean | undefined;
427
+ /**
428
+ * <p>Specifies the storage mode for the pre-shared key (PSK). Valid values are <code>Standard</code> (stored in Site-to-Site VPN service) or <code>SecretsManager</code> (stored in Amazon Web Services Secrets Manager).</p>
429
+ * @public
430
+ */
431
+ PreSharedKeyStorage?: string | undefined;
432
+ }
433
+ /**
434
+ * @public
435
+ */
436
+ export interface ModifyVpnTunnelOptionsResult {
437
+ /**
438
+ * <p>Information about the VPN connection.</p>
439
+ * @public
440
+ */
441
+ VpnConnection?: VpnConnection | undefined;
442
+ }
443
+ /**
444
+ * @public
445
+ */
446
+ export interface MonitorInstancesRequest {
447
+ /**
448
+ * <p>The IDs of the instances.</p>
449
+ * @public
450
+ */
451
+ InstanceIds: string[] | undefined;
452
+ /**
453
+ * <p>The IDs of the metric categories to associate with the instances. The specified
454
+ * metric categories are added to any metric categories that are already associated with
455
+ * the instances.</p>
456
+ * @public
457
+ */
458
+ MetricCategoryIds?: string[] | undefined;
459
+ /**
460
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
461
+ * request, and provides an error response. If you have the required permissions, the error response is
462
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
463
+ * @public
464
+ */
465
+ DryRun?: boolean | undefined;
466
+ }
10
467
  /**
11
468
  * <p>Describes the monitoring of an instance.</p>
12
469
  * @public
@@ -461,6 +918,13 @@ export interface PurchaseCapacityBlockResult {
461
918
  * @public
462
919
  */
463
920
  CapacityBlocks?: CapacityBlock[] | undefined;
921
+ /**
922
+ * <p>The Capacity Reservations created as a result of the Capacity Block purchase. When a
923
+ * Capacity Block offering contains multiple segments, a separate Capacity Reservation is
924
+ * created for each segment.</p>
925
+ * @public
926
+ */
927
+ CapacityReservations?: CapacityReservation[] | undefined;
464
928
  }
465
929
  /**
466
930
  * @public
@@ -37,11 +37,14 @@ export declare var AccountAttributeValue$: StaticStructureSchema;
37
37
  export declare var AccountVpcEncryptionControl$: StaticStructureSchema;
38
38
  export declare var AccountVpcEncryptionControlExclusions$: StaticStructureSchema;
39
39
  export declare var ActiveInstance$: StaticStructureSchema;
40
+ export declare var ActiveVpnTunnelAdditionalKeyExchange$: StaticStructureSchema;
40
41
  export declare var ActiveVpnTunnelStatus$: StaticStructureSchema;
41
42
  export declare var AddedPrincipal$: StaticStructureSchema;
42
43
  export declare var AddIpamOperatingRegion$: StaticStructureSchema;
43
44
  export declare var AddIpamOrganizationalUnitExclusion$: StaticStructureSchema;
44
45
  export declare var AdditionalDetail$: StaticStructureSchema;
46
+ export declare var AdditionalKeyExchangeMethodsListValue$: StaticStructureSchema;
47
+ export declare var AdditionalKeyExchangeMethodsRequestListValue$: StaticStructureSchema;
45
48
  export declare var AddPrefixListEntry$: StaticStructureSchema;
46
49
  export declare var Address$: StaticStructureSchema;
47
50
  export declare var AddressAttribute$: StaticStructureSchema;
@@ -206,7 +209,9 @@ export declare var CapacityAllocationMetadataEntry$: StaticStructureSchema;
206
209
  export declare var CapacityBlock$: StaticStructureSchema;
207
210
  export declare var CapacityBlockExtension$: StaticStructureSchema;
208
211
  export declare var CapacityBlockExtensionOffering$: StaticStructureSchema;
212
+ export declare var CapacityBlockInstanceTypePreference$: StaticStructureSchema;
209
213
  export declare var CapacityBlockOffering$: StaticStructureSchema;
214
+ export declare var CapacityBlockOfferingSegment$: StaticStructureSchema;
210
215
  export declare var CapacityBlockStatus$: StaticStructureSchema;
211
216
  export declare var CapacityManagerCondition$: StaticStructureSchema;
212
217
  export declare var CapacityManagerDataExportResponse$: StaticStructureSchema;
@@ -405,6 +410,7 @@ export declare var CreateNetworkInterfacePermissionRequest$: StaticStructureSche
405
410
  export declare var CreateNetworkInterfacePermissionResult$: StaticStructureSchema;
406
411
  export declare var CreateNetworkInterfaceRequest$: StaticStructureSchema;
407
412
  export declare var CreateNetworkInterfaceResult$: StaticStructureSchema;
413
+ export declare var CreatePeeringConnectionOptionsRequest$: StaticStructureSchema;
408
414
  export declare var CreatePlacementGroupRequest$: StaticStructureSchema;
409
415
  export declare var CreatePlacementGroupResult$: StaticStructureSchema;
410
416
  export declare var CreatePublicIpv4PoolRequest$: StaticStructureSchema;
@@ -1977,6 +1983,9 @@ export declare var ModifyTransitGatewayMeteringPolicyResult$: StaticStructureSch
1977
1983
  export declare var ModifyTransitGatewayNetworkFunctionAttachmentRequest$: StaticStructureSchema;
1978
1984
  export declare var ModifyTransitGatewayNetworkFunctionAttachmentResult$: StaticStructureSchema;
1979
1985
  export declare var ModifyTransitGatewayOptions$: StaticStructureSchema;
1986
+ export declare var ModifyTransitGatewayPeeringAttachmentRequest$: StaticStructureSchema;
1987
+ export declare var ModifyTransitGatewayPeeringAttachmentRequestOptions$: StaticStructureSchema;
1988
+ export declare var ModifyTransitGatewayPeeringAttachmentResult$: StaticStructureSchema;
1980
1989
  export declare var ModifyTransitGatewayPolicyTableEntryRequest$: StaticStructureSchema;
1981
1990
  export declare var ModifyTransitGatewayPolicyTableEntryResult$: StaticStructureSchema;
1982
1991
  export declare var ModifyTransitGatewayPrefixListReferenceRequest$: StaticStructureSchema;
@@ -2589,6 +2598,8 @@ export declare var VpcPeeringConnection$: StaticStructureSchema;
2589
2598
  export declare var VpcPeeringConnectionOptionsDescription$: StaticStructureSchema;
2590
2599
  export declare var VpcPeeringConnectionStateReason$: StaticStructureSchema;
2591
2600
  export declare var VpcPeeringConnectionVpcInfo$: StaticStructureSchema;
2601
+ export declare var VpnAdditionalKeyExchange$: StaticStructureSchema;
2602
+ export declare var VpnAdditionalKeyExchangeRequest$: StaticStructureSchema;
2592
2603
  export declare var VpnConcentrator$: StaticStructureSchema;
2593
2604
  export declare var VpnConnection$: StaticStructureSchema;
2594
2605
  export declare var VpnConnectionDeviceType$: StaticStructureSchema;
@@ -3320,6 +3331,7 @@ export declare var ModifyTransitGateway$: StaticOperationSchema;
3320
3331
  export declare var ModifyTransitGatewayAttachmentNatConfiguration$: StaticOperationSchema;
3321
3332
  export declare var ModifyTransitGatewayMeteringPolicy$: StaticOperationSchema;
3322
3333
  export declare var ModifyTransitGatewayNetworkFunctionAttachment$: StaticOperationSchema;
3334
+ export declare var ModifyTransitGatewayPeeringAttachment$: StaticOperationSchema;
3323
3335
  export declare var ModifyTransitGatewayPolicyTableEntry$: StaticOperationSchema;
3324
3336
  export declare var ModifyTransitGatewayPrefixListReference$: StaticOperationSchema;
3325
3337
  export declare var ModifyTransitGatewayVpcAttachment$: StaticOperationSchema;
@@ -2828,6 +2828,10 @@ import {
2828
2828
  ModifyTransitGatewayNetworkFunctionAttachmentCommandInput,
2829
2829
  ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput,
2830
2830
  } from "./commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand";
2831
+ import {
2832
+ ModifyTransitGatewayPeeringAttachmentCommandInput,
2833
+ ModifyTransitGatewayPeeringAttachmentCommandOutput,
2834
+ } from "./commands/ModifyTransitGatewayPeeringAttachmentCommand";
2831
2835
  import {
2832
2836
  ModifyTransitGatewayPolicyTableEntryCommandInput,
2833
2837
  ModifyTransitGatewayPolicyTableEntryCommandOutput,
@@ -12883,6 +12887,19 @@ export interface EC2 {
12883
12887
  options: EC2RequestOptions,
12884
12888
  cb: (err: any, data?: ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput) => void,
12885
12889
  ): void;
12890
+ modifyTransitGatewayPeeringAttachment(
12891
+ args: ModifyTransitGatewayPeeringAttachmentCommandInput,
12892
+ options?: EC2RequestOptions,
12893
+ ): Promise<ModifyTransitGatewayPeeringAttachmentCommandOutput>;
12894
+ modifyTransitGatewayPeeringAttachment(
12895
+ args: ModifyTransitGatewayPeeringAttachmentCommandInput,
12896
+ cb: (err: any, data?: ModifyTransitGatewayPeeringAttachmentCommandOutput) => void,
12897
+ ): void;
12898
+ modifyTransitGatewayPeeringAttachment(
12899
+ args: ModifyTransitGatewayPeeringAttachmentCommandInput,
12900
+ options: EC2RequestOptions,
12901
+ cb: (err: any, data?: ModifyTransitGatewayPeeringAttachmentCommandOutput) => void,
12902
+ ): void;
12886
12903
  modifyTransitGatewayPolicyTableEntry(
12887
12904
  args: ModifyTransitGatewayPolicyTableEntryCommandInput,
12888
12905
  options?: EC2RequestOptions,
@@ -2855,6 +2855,10 @@ import {
2855
2855
  ModifyTransitGatewayNetworkFunctionAttachmentCommandInput,
2856
2856
  ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput,
2857
2857
  } from "./commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand";
2858
+ import {
2859
+ ModifyTransitGatewayPeeringAttachmentCommandInput,
2860
+ ModifyTransitGatewayPeeringAttachmentCommandOutput,
2861
+ } from "./commands/ModifyTransitGatewayPeeringAttachmentCommand";
2858
2862
  import {
2859
2863
  ModifyTransitGatewayPolicyTableEntryCommandInput,
2860
2864
  ModifyTransitGatewayPolicyTableEntryCommandOutput,
@@ -4022,6 +4026,7 @@ export type ServiceInputTypes =
4022
4026
  | ModifyTransitGatewayCommandInput
4023
4027
  | ModifyTransitGatewayMeteringPolicyCommandInput
4024
4028
  | ModifyTransitGatewayNetworkFunctionAttachmentCommandInput
4029
+ | ModifyTransitGatewayPeeringAttachmentCommandInput
4025
4030
  | ModifyTransitGatewayPolicyTableEntryCommandInput
4026
4031
  | ModifyTransitGatewayPrefixListReferenceCommandInput
4027
4032
  | ModifyTransitGatewayVpcAttachmentCommandInput
@@ -4852,6 +4857,7 @@ export type ServiceOutputTypes =
4852
4857
  | ModifyTransitGatewayCommandOutput
4853
4858
  | ModifyTransitGatewayMeteringPolicyCommandOutput
4854
4859
  | ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput
4860
+ | ModifyTransitGatewayPeeringAttachmentCommandOutput
4855
4861
  | ModifyTransitGatewayPolicyTableEntryCommandOutput
4856
4862
  | ModifyTransitGatewayPrefixListReferenceCommandOutput
4857
4863
  | ModifyTransitGatewayVpcAttachmentCommandOutput
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateCapacityReservationDateChangeQuoteRequest } from "../models/models_0";
3
- import { CreateCapacityReservationDateChangeQuoteResult } from "../models/models_1";
2
+ import {
3
+ CreateCapacityReservationDateChangeQuoteRequest,
4
+ CreateCapacityReservationDateChangeQuoteResult,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface CreateCapacityReservationDateChangeQuoteCommandInput extends CreateCapacityReservationDateChangeQuoteRequest {}
6
8
  export interface CreateCapacityReservationDateChangeQuoteCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateNetworkAclEntryRequest } from "../models/models_1";
2
+ import { CreateNetworkAclEntryRequest } from "../models/models_2";
3
3
  export { __MetadataBearer };
4
4
  export interface CreateNetworkAclEntryCommandInput extends CreateNetworkAclEntryRequest {}
5
5
  export interface CreateNetworkAclEntryCommandOutput extends __MetadataBearer {}
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  DeleteInstanceEventWindowRequest,
4
4
  DeleteInstanceEventWindowResult,
5
- } from "../models/models_2";
5
+ } from "../models/models_3";
6
6
  export { __MetadataBearer };
7
7
  export interface DeleteInstanceEventWindowCommandInput extends DeleteInstanceEventWindowRequest {}
8
8
  export interface DeleteInstanceEventWindowCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DeleteInternetGatewayRequest } from "../models/models_2";
2
+ import { DeleteInternetGatewayRequest } from "../models/models_3";
3
3
  export { __MetadataBearer };
4
4
  export interface DeleteInternetGatewayCommandInput extends DeleteInternetGatewayRequest {}
5
5
  export interface DeleteInternetGatewayCommandOutput extends __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DeleteIpamRequest, DeleteIpamResult } from "../models/models_2";
2
+ import { DeleteIpamRequest, DeleteIpamResult } from "../models/models_3";
3
3
  export { __MetadataBearer };
4
4
  export interface DeleteIpamCommandInput extends DeleteIpamRequest {}
5
5
  export interface DeleteIpamCommandOutput extends DeleteIpamResult, __MetadataBearer {}
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DescribeConversionTasksRequest, DescribeConversionTasksResult } from "../models/models_3";
2
+ import { DescribeConversionTasksRequest } from "../models/models_3";
3
+ import { DescribeConversionTasksResult } from "../models/models_4";
3
4
  export { __MetadataBearer };
4
5
  export interface DescribeConversionTasksCommandInput extends DescribeConversionTasksRequest {}
5
6
  export interface DescribeConversionTasksCommandOutput