@aws-sdk/client-ec2 3.928.0 → 3.929.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 (31) hide show
  1. package/dist-cjs/index.js +16 -3
  2. package/dist-es/models/models_3.js +4 -3
  3. package/dist-es/models/models_4.js +3 -0
  4. package/dist-es/protocols/Aws_ec2.js +8 -0
  5. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  6. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -2
  7. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  8. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
  9. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -2
  10. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -2
  11. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  12. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  13. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  14. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
  15. package/dist-types/models/models_3.d.ts +29 -11
  16. package/dist-types/models/models_4.d.ts +12 -320
  17. package/dist-types/models/models_5.d.ts +319 -43
  18. package/dist-types/models/models_6.d.ts +45 -29
  19. package/dist-types/models/models_7.d.ts +28 -33
  20. package/dist-types/models/models_8.d.ts +33 -1
  21. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -2
  22. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/models/models_3.d.ts +8 -4
  26. package/dist-types/ts3.4/models/models_4.d.ts +4 -8
  27. package/dist-types/ts3.4/models/models_5.d.ts +7 -7
  28. package/dist-types/ts3.4/models/models_6.d.ts +8 -7
  29. package/dist-types/ts3.4/models/models_7.d.ts +7 -7
  30. package/dist-types/ts3.4/models/models_8.d.ts +12 -1
  31. package/package.json +2 -2
package/dist-cjs/index.js CHANGED
@@ -41055,6 +41055,9 @@ const se_VpnConnectionOptionsSpecification = (input, context) => {
41055
41055
  if (input[_TTGAI] != null) {
41056
41056
  entries[_TTGAI] = input[_TTGAI];
41057
41057
  }
41058
+ if (input[_TB] != null) {
41059
+ entries[_TB] = input[_TB];
41060
+ }
41058
41061
  if (input[_SRO] != null) {
41059
41062
  entries[_SRO] = input[_SRO];
41060
41063
  }
@@ -66140,6 +66143,9 @@ const de_VpnConnectionOptions = (output, context) => {
66140
66143
  else if (output[_tOS] != null && output[_tOS][_i] != null) {
66141
66144
  contents[_TO] = de_TunnelOptionsList(smithyClient.getArrayIfSingleItem(output[_tOS][_i]));
66142
66145
  }
66146
+ if (output[_tB] != null) {
66147
+ contents[_TB] = smithyClient.expectString(output[_tB]);
66148
+ }
66143
66149
  return contents;
66144
66150
  };
66145
66151
  const de_VpnGateway = (output, context) => {
@@ -68917,6 +68923,7 @@ const _TAAC = "TotalAvailableAddressCount";
68917
68923
  const _TAC = "TotalAvailableCapacity";
68918
68924
  const _TACo = "TotalAddressCount";
68919
68925
  const _TAI = "TransferAccountId";
68926
+ const _TB = "TunnelBandwidth";
68920
68927
  const _TC = "TargetConfigurations";
68921
68928
  const _TCS = "TargetCapacitySpecification";
68922
68929
  const _TCUT = "TargetCapacityUnitType";
@@ -70912,6 +70919,7 @@ const _tAAC = "totalAvailableAddressCount";
70912
70919
  const _tAC = "totalAvailableCapacity";
70913
70920
  const _tACo = "totalAddressCount";
70914
70921
  const _tAI = "transferAccountId";
70922
+ const _tB = "tunnelBandwidth";
70915
70923
  const _tC = "totalCapacity";
70916
70924
  const _tCS = "targetCapacitySpecification";
70917
70925
  const _tCUT = "targetCapacityUnitType";
@@ -76312,6 +76320,10 @@ const ServiceConnectivityType = {
76312
76320
  ipv4: "ipv4",
76313
76321
  ipv6: "ipv6",
76314
76322
  };
76323
+ const VpnTunnelBandwidth = {
76324
+ large: "large",
76325
+ standard: "standard",
76326
+ };
76315
76327
  const TunnelInsideIpVersion = {
76316
76328
  ipv4: "ipv4",
76317
76329
  ipv6: "ipv6",
@@ -76404,9 +76416,6 @@ const AvailabilityZoneState = {
76404
76416
  information: "information",
76405
76417
  unavailable: "unavailable",
76406
76418
  };
76407
- const MetricType = {
76408
- aggregate_latency: "aggregate-latency",
76409
- };
76410
76419
  const CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = (obj) => ({
76411
76420
  ...obj,
76412
76421
  ...(obj.ClientSecret && { ClientSecret: smithyClient.SENSITIVE_STRING }),
@@ -78355,6 +78364,9 @@ class DescribeAwsNetworkPerformanceMetricSubscriptionsCommand extends smithyClie
78355
78364
  .build() {
78356
78365
  }
78357
78366
 
78367
+ const MetricType = {
78368
+ aggregate_latency: "aggregate-latency",
78369
+ };
78358
78370
  const PeriodType = {
78359
78371
  fifteen_minutes: "fifteen-minutes",
78360
78372
  five_minutes: "five-minutes",
@@ -91653,6 +91665,7 @@ exports.VpnEcmpSupportValue = VpnEcmpSupportValue;
91653
91665
  exports.VpnProtocol = VpnProtocol;
91654
91666
  exports.VpnState = VpnState;
91655
91667
  exports.VpnStaticRouteSource = VpnStaticRouteSource;
91668
+ exports.VpnTunnelBandwidth = VpnTunnelBandwidth;
91656
91669
  exports.VpnTunnelOptionsSpecificationFilterSensitiveLog = VpnTunnelOptionsSpecificationFilterSensitiveLog;
91657
91670
  exports.VpnTunnelProvisioningStatus = VpnTunnelProvisioningStatus;
91658
91671
  exports.WeekDay = WeekDay;
@@ -71,6 +71,10 @@ export const ServiceConnectivityType = {
71
71
  ipv4: "ipv4",
72
72
  ipv6: "ipv6",
73
73
  };
74
+ export const VpnTunnelBandwidth = {
75
+ large: "large",
76
+ standard: "standard",
77
+ };
74
78
  export const TunnelInsideIpVersion = {
75
79
  ipv4: "ipv4",
76
80
  ipv6: "ipv6",
@@ -163,9 +167,6 @@ export const AvailabilityZoneState = {
163
167
  information: "information",
164
168
  unavailable: "unavailable",
165
169
  };
166
- export const MetricType = {
167
- aggregate_latency: "aggregate-latency",
168
- };
169
170
  export const CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = (obj) => ({
170
171
  ...obj,
171
172
  ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
@@ -1,5 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { BundleTaskFilterSensitiveLog, } from "./models_0";
3
+ export const MetricType = {
4
+ aggregate_latency: "aggregate-latency",
5
+ };
3
6
  export const PeriodType = {
4
7
  fifteen_minutes: "fifteen-minutes",
5
8
  five_minutes: "five-minutes",
@@ -40938,6 +40938,9 @@ const se_VpnConnectionOptionsSpecification = (input, context) => {
40938
40938
  if (input[_TTGAI] != null) {
40939
40939
  entries[_TTGAI] = input[_TTGAI];
40940
40940
  }
40941
+ if (input[_TB] != null) {
40942
+ entries[_TB] = input[_TB];
40943
+ }
40941
40944
  if (input[_SRO] != null) {
40942
40945
  entries[_SRO] = input[_SRO];
40943
40946
  }
@@ -66023,6 +66026,9 @@ const de_VpnConnectionOptions = (output, context) => {
66023
66026
  else if (output[_tOS] != null && output[_tOS][_i] != null) {
66024
66027
  contents[_TO] = de_TunnelOptionsList(__getArrayIfSingleItem(output[_tOS][_i]), context);
66025
66028
  }
66029
+ if (output[_tB] != null) {
66030
+ contents[_TB] = __expectString(output[_tB]);
66031
+ }
66026
66032
  return contents;
66027
66033
  };
66028
66034
  const de_VpnGateway = (output, context) => {
@@ -68804,6 +68810,7 @@ const _TAAC = "TotalAvailableAddressCount";
68804
68810
  const _TAC = "TotalAvailableCapacity";
68805
68811
  const _TACo = "TotalAddressCount";
68806
68812
  const _TAI = "TransferAccountId";
68813
+ const _TB = "TunnelBandwidth";
68807
68814
  const _TC = "TargetConfigurations";
68808
68815
  const _TCS = "TargetCapacitySpecification";
68809
68816
  const _TCUT = "TargetCapacityUnitType";
@@ -70799,6 +70806,7 @@ const _tAAC = "totalAvailableAddressCount";
70799
70806
  const _tAC = "totalAvailableCapacity";
70800
70807
  const _tACo = "totalAddressCount";
70801
70808
  const _tAI = "transferAccountId";
70809
+ const _tB = "tunnelBandwidth";
70802
70810
  const _tC = "totalCapacity";
70803
70811
  const _tCS = "targetCapacitySpecification";
70804
70812
  const _tCUT = "targetCapacityUnitType";
@@ -137,6 +137,7 @@ declare const CreateVpnConnectionCommand_base: {
137
137
  * RemoteIpv6NetworkCidr: "STRING_VALUE",
138
138
  * OutsideIpAddressType: "STRING_VALUE",
139
139
  * TransportTransitGatewayAttachmentId: "STRING_VALUE",
140
+ * TunnelBandwidth: "standard" || "large",
140
141
  * StaticRoutesOnly: true || false,
141
142
  * },
142
143
  * };
@@ -218,6 +219,7 @@ declare const CreateVpnConnectionCommand_base: {
218
219
  * // EnableTunnelLifecycleControl: true || false,
219
220
  * // },
220
221
  * // ],
222
+ * // TunnelBandwidth: "standard" || "large",
221
223
  * // },
222
224
  * // Routes: [ // VpnStaticRouteList
223
225
  * // { // VpnStaticRoute
@@ -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 { DescribeInstanceTypesRequest } from "../models/models_4";
5
- import { DescribeInstanceTypesResult } from "../models/models_5";
4
+ import { DescribeInstanceTypesRequest, DescribeInstanceTypesResult } from "../models/models_5";
6
5
  /**
7
6
  * @public
8
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 { DescribeTrunkInterfaceAssociationsRequest } from "../models/models_5";
5
- import { DescribeTrunkInterfaceAssociationsResult } from "../models/models_6";
4
+ import { DescribeTrunkInterfaceAssociationsRequest, DescribeTrunkInterfaceAssociationsResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -131,6 +131,7 @@ declare const DescribeVpnConnectionsCommand_base: {
131
131
  * // EnableTunnelLifecycleControl: true || false,
132
132
  * // },
133
133
  * // ],
134
+ * // TunnelBandwidth: "standard" || "large",
134
135
  * // },
135
136
  * // Routes: [ // VpnStaticRouteList
136
137
  * // { // VpnStaticRoute
@@ -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 { GetFlowLogsIntegrationTemplateRequest } from "../models/models_6";
5
- import { GetFlowLogsIntegrationTemplateResult } from "../models/models_7";
4
+ import { GetFlowLogsIntegrationTemplateRequest, GetFlowLogsIntegrationTemplateResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
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 { ModifyTransitGatewayVpcAttachmentRequest } from "../models/models_7";
5
- import { ModifyTransitGatewayVpcAttachmentResult } from "../models/models_8";
4
+ import { ModifyTransitGatewayVpcAttachmentRequest, ModifyTransitGatewayVpcAttachmentResult } from "../models/models_8";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -156,6 +156,7 @@ declare const ModifyVpnConnectionCommand_base: {
156
156
  * // EnableTunnelLifecycleControl: true || false,
157
157
  * // },
158
158
  * // ],
159
+ * // TunnelBandwidth: "standard" || "large",
159
160
  * // },
160
161
  * // Routes: [ // VpnStaticRouteList
161
162
  * // { // VpnStaticRoute
@@ -126,6 +126,7 @@ declare const ModifyVpnConnectionOptionsCommand_base: {
126
126
  * // EnableTunnelLifecycleControl: true || false,
127
127
  * // },
128
128
  * // ],
129
+ * // TunnelBandwidth: "standard" || "large",
129
130
  * // },
130
131
  * // Routes: [ // VpnStaticRouteList
131
132
  * // { // VpnStaticRoute
@@ -119,6 +119,7 @@ declare const ModifyVpnTunnelCertificateCommand_base: {
119
119
  * // EnableTunnelLifecycleControl: true || false,
120
120
  * // },
121
121
  * // ],
122
+ * // TunnelBandwidth: "standard" || "large",
122
123
  * // },
123
124
  * // Routes: [ // VpnStaticRouteList
124
125
  * // { // VpnStaticRoute
@@ -180,6 +180,7 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
180
180
  * // EnableTunnelLifecycleControl: true || false,
181
181
  * // },
182
182
  * // ],
183
+ * // TunnelBandwidth: "standard" || "large",
183
184
  * // },
184
185
  * // Routes: [ // VpnStaticRouteList
185
186
  * // { // VpnStaticRoute
@@ -1791,6 +1791,18 @@ export interface CreateVpcPeeringConnectionResult {
1791
1791
  */
1792
1792
  VpcPeeringConnection?: VpcPeeringConnection | undefined;
1793
1793
  }
1794
+ /**
1795
+ * @public
1796
+ * @enum
1797
+ */
1798
+ export declare const VpnTunnelBandwidth: {
1799
+ readonly large: "large";
1800
+ readonly standard: "standard";
1801
+ };
1802
+ /**
1803
+ * @public
1804
+ */
1805
+ export type VpnTunnelBandwidth = (typeof VpnTunnelBandwidth)[keyof typeof VpnTunnelBandwidth];
1794
1806
  /**
1795
1807
  * @public
1796
1808
  * @enum
@@ -2205,6 +2217,15 @@ export interface VpnConnectionOptionsSpecification {
2205
2217
  * @public
2206
2218
  */
2207
2219
  TransportTransitGatewayAttachmentId?: string | undefined;
2220
+ /**
2221
+ * <p>
2222
+ * The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel's throughput
2223
+ * capacity. <code>standard</code> supports up to 1.25 Gbps per tunnel, while <code>large</code> supports up to 5 Gbps per tunnel. The default value is <code>standard</code>. Existing
2224
+ * VPN connections without a bandwidth setting will automatically default to <code>standard</code>.
2225
+ * </p>
2226
+ * @public
2227
+ */
2228
+ TunnelBandwidth?: VpnTunnelBandwidth | undefined;
2208
2229
  /**
2209
2230
  * <p>Indicate whether the VPN connection uses static routes only. If you are creating a VPN
2210
2231
  * connection for a device that does not support BGP, you must specify <code>true</code>.
@@ -2573,6 +2594,14 @@ export interface VpnConnectionOptions {
2573
2594
  * @public
2574
2595
  */
2575
2596
  TunnelOptions?: TunnelOption[] | undefined;
2597
+ /**
2598
+ * <p>
2599
+ * The configured bandwidth for the VPN tunnel. Represents the current throughput capacity setting for the tunnel connection. <code>standard</code> tunnel bandwidth supports up to 1.25 Gbps per tunnel while <code>large</code>
2600
+ * supports up to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the connection, <code>standard</code> is used as the default value.
2601
+ * </p>
2602
+ * @public
2603
+ */
2604
+ TunnelBandwidth?: VpnTunnelBandwidth | undefined;
2576
2605
  }
2577
2606
  /**
2578
2607
  * @public
@@ -6545,17 +6574,6 @@ export interface DescribeAwsNetworkPerformanceMetricSubscriptionsRequest {
6545
6574
  */
6546
6575
  DryRun?: boolean | undefined;
6547
6576
  }
6548
- /**
6549
- * @public
6550
- * @enum
6551
- */
6552
- export declare const MetricType: {
6553
- readonly aggregate_latency: "aggregate-latency";
6554
- };
6555
- /**
6556
- * @public
6557
- */
6558
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
6559
6577
  /**
6560
6578
  * @internal
6561
6579
  */