@aws-sdk/client-ec2 3.974.0 → 3.976.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.
package/dist-cjs/index.js CHANGED
@@ -213,6 +213,7 @@ const _AET = "AnalysisEndTime";
213
213
  const _AEd = "AddEntries";
214
214
  const _AEdd = "AddEntry";
215
215
  const _AF = "AddressFamily";
216
+ const _AFNI = "AdditionalFlexibleNetworkInterfaces";
216
217
  const _AFn = "AnalysisFindings";
217
218
  const _AGI = "AccessGroupId";
218
219
  const _AGLBA = "AddGatewayLoadBalancerArns";
@@ -6090,6 +6091,7 @@ const _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink";
6090
6091
  const _aEIO = "autoEnableIO";
6091
6092
  const _aES = "attachedEbsStatus";
6092
6093
  const _aF = "addressFamily";
6094
+ const _aFNI = "additionalFlexibleNetworkInterfaces";
6093
6095
  const _aFS = "analysisFindingSet";
6094
6096
  const _aI = "allocationId";
6095
6097
  const _aIA = "assignedIpv6Addresses";
@@ -20763,11 +20765,12 @@ var NetworkBandwidthGbpsRequest$ = [3, n0, _NBGR,
20763
20765
  ];
20764
20766
  var NetworkCardInfo$ = [3, n0, _NCIe,
20765
20767
  0,
20766
- [_NCI, _NPe, _MNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI],
20768
+ [_NCI, _NPe, _MNI, _AFNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI],
20767
20769
  [[1, { [_eQN]: `NetworkCardIndex`,
20768
20770
  [_xN]: _nCI }], [0, { [_eQN]: `NetworkPerformance`,
20769
20771
  [_xN]: _nPe }], [1, { [_eQN]: `MaximumNetworkInterfaces`,
20770
- [_xN]: _mNI }], [1, { [_eQN]: `BaselineBandwidthInGbps`,
20772
+ [_xN]: _mNI }], [1, { [_eQN]: `AdditionalFlexibleNetworkInterfaces`,
20773
+ [_xN]: _aFNI }], [1, { [_eQN]: `BaselineBandwidthInGbps`,
20771
20774
  [_xN]: _bBIG }], [1, { [_eQN]: `PeakBandwidthInGbps`,
20772
20775
  [_xN]: _pBIG }], [1, { [_eQN]: `DefaultEnaQueueCountPerInterface`,
20773
20776
  [_xN]: _dEQCPI }], [1, { [_eQN]: `MaximumEnaQueueCount`,
@@ -40604,7 +40607,7 @@ const checkState$u = async (client, input) => {
40604
40607
  try {
40605
40608
  const returnComparator = () => {
40606
40609
  let flat_1 = [].concat(...result.Images);
40607
- return (flat_1.length > 0.0);
40610
+ return (flat_1.length > 0);
40608
40611
  };
40609
40612
  if (returnComparator() == true) {
40610
40613
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -40744,7 +40747,7 @@ const checkState$r = async (client, input) => {
40744
40747
  try {
40745
40748
  const returnComparator = () => {
40746
40749
  let flat_1 = [].concat(...result.Reservations);
40747
- return (flat_1.length > 0.0);
40750
+ return (flat_1.length > 0);
40748
40751
  };
40749
40752
  if (returnComparator() == true) {
40750
40753
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -41122,7 +41125,7 @@ const checkState$l = async (client, input) => {
41122
41125
  let projection_3 = flat_1.map((element_2) => {
41123
41126
  return element_2.InternetGatewayId;
41124
41127
  });
41125
- return (projection_3.length > 0.0);
41128
+ return (projection_3.length > 0);
41126
41129
  };
41127
41130
  if (returnComparator() == true) {
41128
41131
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -41159,7 +41162,7 @@ const checkState$k = async (client, input) => {
41159
41162
  let projection_3 = flat_1.map((element_2) => {
41160
41163
  return element_2.KeyName;
41161
41164
  });
41162
- return (projection_3.length > 0.0);
41165
+ return (projection_3.length > 0);
41163
41166
  };
41164
41167
  if (returnComparator() == true) {
41165
41168
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -41364,7 +41367,7 @@ const checkState$g = async (client, input) => {
41364
41367
  let projection_3 = flat_1.map((element_2) => {
41365
41368
  return element_2.GroupId;
41366
41369
  });
41367
- return (projection_3.length > 0.0);
41370
+ return (projection_3.length > 0);
41368
41371
  };
41369
41372
  if (returnComparator() == true) {
41370
41373
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -41513,7 +41516,7 @@ const checkState$e = async (client, input) => {
41513
41516
  try {
41514
41517
  const returnComparator = () => {
41515
41518
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41516
- return (flat_1.length == 0.0);
41519
+ return (flat_1.length == 0);
41517
41520
  };
41518
41521
  if (returnComparator() == true) {
41519
41522
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -42217,7 +42220,7 @@ const checkState = async (client, input) => {
42217
42220
  reason = result;
42218
42221
  try {
42219
42222
  const returnComparator = () => {
42220
- return (result.PasswordData.length > 0.0);
42223
+ return (result.PasswordData.length > 0);
42221
42224
  };
42222
42225
  if (returnComparator() == true) {
42223
42226
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -92,6 +92,7 @@ const _AET = "AnalysisEndTime";
92
92
  const _AEd = "AddEntries";
93
93
  const _AEdd = "AddEntry";
94
94
  const _AF = "AddressFamily";
95
+ const _AFNI = "AdditionalFlexibleNetworkInterfaces";
95
96
  const _AFn = "AnalysisFindings";
96
97
  const _AGI = "AccessGroupId";
97
98
  const _AGLBA = "AddGatewayLoadBalancerArns";
@@ -5969,6 +5970,7 @@ const _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink";
5969
5970
  const _aEIO = "autoEnableIO";
5970
5971
  const _aES = "attachedEbsStatus";
5971
5972
  const _aF = "addressFamily";
5973
+ const _aFNI = "additionalFlexibleNetworkInterfaces";
5972
5974
  const _aFS = "analysisFindingSet";
5973
5975
  const _aI = "allocationId";
5974
5976
  const _aIA = "assignedIpv6Addresses";
@@ -20644,11 +20646,12 @@ export var NetworkBandwidthGbpsRequest$ = [3, n0, _NBGR,
20644
20646
  ];
20645
20647
  export var NetworkCardInfo$ = [3, n0, _NCIe,
20646
20648
  0,
20647
- [_NCI, _NPe, _MNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI],
20649
+ [_NCI, _NPe, _MNI, _AFNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI],
20648
20650
  [[1, { [_eQN]: `NetworkCardIndex`,
20649
20651
  [_xN]: _nCI }], [0, { [_eQN]: `NetworkPerformance`,
20650
20652
  [_xN]: _nPe }], [1, { [_eQN]: `MaximumNetworkInterfaces`,
20651
- [_xN]: _mNI }], [1, { [_eQN]: `BaselineBandwidthInGbps`,
20653
+ [_xN]: _mNI }], [1, { [_eQN]: `AdditionalFlexibleNetworkInterfaces`,
20654
+ [_xN]: _aFNI }], [1, { [_eQN]: `BaselineBandwidthInGbps`,
20652
20655
  [_xN]: _bBIG }], [1, { [_eQN]: `PeakBandwidthInGbps`,
20653
20656
  [_xN]: _pBIG }], [1, { [_eQN]: `DefaultEnaQueueCountPerInterface`,
20654
20657
  [_xN]: _dEQCPI }], [1, { [_eQN]: `MaximumEnaQueueCount`,
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
8
8
  try {
9
9
  const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Images);
11
- return (flat_1.length > 0.0);
11
+ return (flat_1.length > 0);
12
12
  };
13
13
  if (returnComparator() == true) {
14
14
  return { state: WaiterState.SUCCESS, reason };
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
8
8
  try {
9
9
  const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Reservations);
11
- return (flat_1.length > 0.0);
11
+ return (flat_1.length > 0);
12
12
  };
13
13
  if (returnComparator() == true) {
14
14
  return { state: WaiterState.SUCCESS, reason };
@@ -11,7 +11,7 @@ const checkState = async (client, input) => {
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.InternetGatewayId;
13
13
  });
14
- return (projection_3.length > 0.0);
14
+ return (projection_3.length > 0);
15
15
  };
16
16
  if (returnComparator() == true) {
17
17
  return { state: WaiterState.SUCCESS, reason };
@@ -11,7 +11,7 @@ const checkState = async (client, input) => {
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.KeyName;
13
13
  });
14
- return (projection_3.length > 0.0);
14
+ return (projection_3.length > 0);
15
15
  };
16
16
  if (returnComparator() == true) {
17
17
  return { state: WaiterState.SUCCESS, reason };
@@ -7,7 +7,7 @@ const checkState = async (client, input) => {
7
7
  reason = result;
8
8
  try {
9
9
  const returnComparator = () => {
10
- return (result.PasswordData.length > 0.0);
10
+ return (result.PasswordData.length > 0);
11
11
  };
12
12
  if (returnComparator() == true) {
13
13
  return { state: WaiterState.SUCCESS, reason };
@@ -11,7 +11,7 @@ const checkState = async (client, input) => {
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.GroupId;
13
13
  });
14
- return (projection_3.length > 0.0);
14
+ return (projection_3.length > 0);
15
15
  };
16
16
  if (returnComparator() == true) {
17
17
  return { state: WaiterState.SUCCESS, reason };
@@ -55,7 +55,7 @@ const checkState = async (client, input) => {
55
55
  try {
56
56
  const returnComparator = () => {
57
57
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
58
- return (flat_1.length == 0.0);
58
+ return (flat_1.length == 0);
59
59
  };
60
60
  if (returnComparator() == true) {
61
61
  return { state: WaiterState.SUCCESS, reason };
@@ -146,6 +146,7 @@ declare const DescribeInstanceTypesCommand_base: {
146
146
  * // NetworkCardIndex: Number("int"),
147
147
  * // NetworkPerformance: "STRING_VALUE",
148
148
  * // MaximumNetworkInterfaces: Number("int"),
149
+ * // AdditionalFlexibleNetworkInterfaces: Number("int"),
149
150
  * // BaselineBandwidthInGbps: Number("double"),
150
151
  * // PeakBandwidthInGbps: Number("double"),
151
152
  * // DefaultEnaQueueCountPerInterface: Number("int"),
@@ -2193,6 +2193,13 @@ export interface NetworkCardInfo {
2193
2193
  * @public
2194
2194
  */
2195
2195
  MaximumNetworkInterfaces?: number | undefined;
2196
+ /**
2197
+ * <p>The number of additional network interfaces that can be attached to an instance when using
2198
+ * flexible Elastic Network Adapter (ENA) queues. This number is in addition to the base number
2199
+ * specified by <code>maximumNetworkInterfaces</code>.</p>
2200
+ * @public
2201
+ */
2202
+ AdditionalFlexibleNetworkInterfaces?: number | undefined;
2196
2203
  /**
2197
2204
  * <p>The baseline network performance of the network card, in Gbps.</p>
2198
2205
  * @public
@@ -535,6 +535,7 @@ export interface NetworkCardInfo {
535
535
  NetworkCardIndex?: number | undefined;
536
536
  NetworkPerformance?: string | undefined;
537
537
  MaximumNetworkInterfaces?: number | undefined;
538
+ AdditionalFlexibleNetworkInterfaces?: number | undefined;
538
539
  BaselineBandwidthInGbps?: number | undefined;
539
540
  PeakBandwidthInGbps?: number | undefined;
540
541
  DefaultEnaQueueCountPerInterface?: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.974.0",
4
+ "version": "3.976.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.0",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-sdk-ec2": "^3.972.1",
30
- "@aws-sdk/middleware-user-agent": "^3.972.1",
31
- "@aws-sdk/region-config-resolver": "^3.972.1",
32
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.2",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.3",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.3",
31
+ "@aws-sdk/region-config-resolver": "^3.972.2",
32
+ "@aws-sdk/types": "^3.973.1",
33
33
  "@aws-sdk/util-endpoints": "3.972.0",
34
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
35
- "@aws-sdk/util-user-agent-node": "^3.972.1",
34
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
36
36
  "@smithy/config-resolver": "^4.4.6",
37
- "@smithy/core": "^3.21.0",
37
+ "@smithy/core": "^3.21.1",
38
38
  "@smithy/fetch-http-handler": "^5.3.9",
39
39
  "@smithy/hash-node": "^4.2.8",
40
40
  "@smithy/invalid-dependency": "^4.2.8",
41
41
  "@smithy/middleware-content-length": "^4.2.8",
42
- "@smithy/middleware-endpoint": "^4.4.10",
43
- "@smithy/middleware-retry": "^4.4.26",
42
+ "@smithy/middleware-endpoint": "^4.4.11",
43
+ "@smithy/middleware-retry": "^4.4.27",
44
44
  "@smithy/middleware-serde": "^4.2.9",
45
45
  "@smithy/middleware-stack": "^4.2.8",
46
46
  "@smithy/node-config-provider": "^4.3.8",
47
47
  "@smithy/node-http-handler": "^4.4.8",
48
48
  "@smithy/protocol-http": "^5.3.8",
49
- "@smithy/smithy-client": "^4.10.11",
49
+ "@smithy/smithy-client": "^4.10.12",
50
50
  "@smithy/types": "^4.12.0",
51
51
  "@smithy/url-parser": "^4.2.8",
52
52
  "@smithy/util-base64": "^4.3.0",
53
53
  "@smithy/util-body-length-browser": "^4.2.0",
54
54
  "@smithy/util-body-length-node": "^4.2.1",
55
- "@smithy/util-defaults-mode-browser": "^4.3.25",
56
- "@smithy/util-defaults-mode-node": "^4.2.28",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.26",
56
+ "@smithy/util-defaults-mode-node": "^4.2.29",
57
57
  "@smithy/util-endpoints": "^3.2.8",
58
58
  "@smithy/util-middleware": "^4.2.8",
59
59
  "@smithy/util-retry": "^4.2.8",