@aws-sdk/client-networkmanager 3.658.0 → 3.658.1

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
@@ -1236,7 +1236,7 @@ var se_DescribeGlobalNetworksCommand = /* @__PURE__ */ __name(async (input, cont
1236
1236
  const headers = {};
1237
1237
  b.bp("/global-networks");
1238
1238
  const query = (0, import_smithy_client.map)({
1239
- [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => (input[_GNI] || []).map((_entry) => _entry)],
1239
+ [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => input[_GNI] || []],
1240
1240
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1241
1241
  [_nT]: [, input[_NT]]
1242
1242
  });
@@ -1317,7 +1317,7 @@ var se_GetConnectionsCommand = /* @__PURE__ */ __name(async (input, context) =>
1317
1317
  b.bp("/global-networks/{GlobalNetworkId}/connections");
1318
1318
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1319
1319
  const query = (0, import_smithy_client.map)({
1320
- [_cI]: [() => input.ConnectionIds !== void 0, () => (input[_CI] || []).map((_entry) => _entry)],
1320
+ [_cI]: [() => input.ConnectionIds !== void 0, () => input[_CI] || []],
1321
1321
  [_dI]: [, input[_DI]],
1322
1322
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1323
1323
  [_nT]: [, input[_NT]]
@@ -1341,7 +1341,7 @@ var se_GetConnectPeerAssociationsCommand = /* @__PURE__ */ __name(async (input,
1341
1341
  b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations");
1342
1342
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1343
1343
  const query = (0, import_smithy_client.map)({
1344
- [_cPI]: [() => input.ConnectPeerIds !== void 0, () => (input[_CPI] || []).map((_entry) => _entry)],
1344
+ [_cPI]: [() => input.ConnectPeerIds !== void 0, () => input[_CPI] || []],
1345
1345
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1346
1346
  [_nT]: [, input[_NT]]
1347
1347
  });
@@ -1405,7 +1405,7 @@ var se_GetCustomerGatewayAssociationsCommand = /* @__PURE__ */ __name(async (inp
1405
1405
  b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations");
1406
1406
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1407
1407
  const query = (0, import_smithy_client.map)({
1408
- [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => (input[_CGA] || []).map((_entry) => _entry)],
1408
+ [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => input[_CGA] || []],
1409
1409
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1410
1410
  [_nT]: [, input[_NT]]
1411
1411
  });
@@ -1419,7 +1419,7 @@ var se_GetDevicesCommand = /* @__PURE__ */ __name(async (input, context) => {
1419
1419
  b.bp("/global-networks/{GlobalNetworkId}/devices");
1420
1420
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1421
1421
  const query = (0, import_smithy_client.map)({
1422
- [_dIe]: [() => input.DeviceIds !== void 0, () => (input[_DIe] || []).map((_entry) => _entry)],
1422
+ [_dIe]: [() => input.DeviceIds !== void 0, () => input[_DIe] || []],
1423
1423
  [_sI]: [, input[_SI]],
1424
1424
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1425
1425
  [_nT]: [, input[_NT]]
@@ -1449,7 +1449,7 @@ var se_GetLinksCommand = /* @__PURE__ */ __name(async (input, context) => {
1449
1449
  b.bp("/global-networks/{GlobalNetworkId}/links");
1450
1450
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1451
1451
  const query = (0, import_smithy_client.map)({
1452
- [_lIi]: [() => input.LinkIds !== void 0, () => (input[_LIi] || []).map((_entry) => _entry)],
1452
+ [_lIi]: [() => input.LinkIds !== void 0, () => input[_LIi] || []],
1453
1453
  [_sI]: [, input[_SI]],
1454
1454
  [_t]: [, input[_T]],
1455
1455
  [_p]: [, input[_P]],
@@ -1580,7 +1580,7 @@ var se_GetSitesCommand = /* @__PURE__ */ __name(async (input, context) => {
1580
1580
  b.bp("/global-networks/{GlobalNetworkId}/sites");
1581
1581
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1582
1582
  const query = (0, import_smithy_client.map)({
1583
- [_sIi]: [() => input.SiteIds !== void 0, () => (input[_SIi] || []).map((_entry) => _entry)],
1583
+ [_sIi]: [() => input.SiteIds !== void 0, () => input[_SIi] || []],
1584
1584
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1585
1585
  [_nT]: [, input[_NT]]
1586
1586
  });
@@ -1603,10 +1603,7 @@ var se_GetTransitGatewayConnectPeerAssociationsCommand = /* @__PURE__ */ __name(
1603
1603
  b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations");
1604
1604
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1605
1605
  const query = (0, import_smithy_client.map)({
1606
- [_tGCPA]: [
1607
- () => input.TransitGatewayConnectPeerArns !== void 0,
1608
- () => (input[_TGCPA] || []).map((_entry) => _entry)
1609
- ],
1606
+ [_tGCPA]: [() => input.TransitGatewayConnectPeerArns !== void 0, () => input[_TGCPA] || []],
1610
1607
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1611
1608
  [_nT]: [, input[_NT]]
1612
1609
  });
@@ -1629,7 +1626,7 @@ var se_GetTransitGatewayRegistrationsCommand = /* @__PURE__ */ __name(async (inp
1629
1626
  b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations");
1630
1627
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
1631
1628
  const query = (0, import_smithy_client.map)({
1632
- [_tGA]: [() => input.TransitGatewayArns !== void 0, () => (input[_TGA] || []).map((_entry) => _entry)],
1629
+ [_tGA]: [() => input.TransitGatewayArns !== void 0, () => input[_TGA] || []],
1633
1630
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1634
1631
  [_nT]: [, input[_NT]]
1635
1632
  });
@@ -1873,10 +1870,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1873
1870
  b.bp("/tags/{ResourceArn}");
1874
1871
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1875
1872
  const query = (0, import_smithy_client.map)({
1876
- [_tK]: [
1877
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
1878
- () => (input[_TK] || []).map((_entry) => _entry)
1879
- ]
1873
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
1880
1874
  });
1881
1875
  let body;
1882
1876
  b.m("DELETE").h(headers).q(query).b(body);
@@ -406,7 +406,7 @@ export const se_DescribeGlobalNetworksCommand = async (input, context) => {
406
406
  const headers = {};
407
407
  b.bp("/global-networks");
408
408
  const query = map({
409
- [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => (input[_GNI] || []).map((_entry) => _entry)],
409
+ [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => input[_GNI] || []],
410
410
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
411
411
  [_nT]: [, input[_NT]],
412
412
  });
@@ -482,7 +482,7 @@ export const se_GetConnectionsCommand = async (input, context) => {
482
482
  b.bp("/global-networks/{GlobalNetworkId}/connections");
483
483
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
484
484
  const query = map({
485
- [_cI]: [() => input.ConnectionIds !== void 0, () => (input[_CI] || []).map((_entry) => _entry)],
485
+ [_cI]: [() => input.ConnectionIds !== void 0, () => input[_CI] || []],
486
486
  [_dI]: [, input[_DI]],
487
487
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
488
488
  [_nT]: [, input[_NT]],
@@ -506,7 +506,7 @@ export const se_GetConnectPeerAssociationsCommand = async (input, context) => {
506
506
  b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations");
507
507
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
508
508
  const query = map({
509
- [_cPI]: [() => input.ConnectPeerIds !== void 0, () => (input[_CPI] || []).map((_entry) => _entry)],
509
+ [_cPI]: [() => input.ConnectPeerIds !== void 0, () => input[_CPI] || []],
510
510
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
511
511
  [_nT]: [, input[_NT]],
512
512
  });
@@ -570,7 +570,7 @@ export const se_GetCustomerGatewayAssociationsCommand = async (input, context) =
570
570
  b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations");
571
571
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
572
572
  const query = map({
573
- [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => (input[_CGA] || []).map((_entry) => _entry)],
573
+ [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => input[_CGA] || []],
574
574
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
575
575
  [_nT]: [, input[_NT]],
576
576
  });
@@ -584,7 +584,7 @@ export const se_GetDevicesCommand = async (input, context) => {
584
584
  b.bp("/global-networks/{GlobalNetworkId}/devices");
585
585
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
586
586
  const query = map({
587
- [_dIe]: [() => input.DeviceIds !== void 0, () => (input[_DIe] || []).map((_entry) => _entry)],
587
+ [_dIe]: [() => input.DeviceIds !== void 0, () => input[_DIe] || []],
588
588
  [_sI]: [, input[_SI]],
589
589
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
590
590
  [_nT]: [, input[_NT]],
@@ -614,7 +614,7 @@ export const se_GetLinksCommand = async (input, context) => {
614
614
  b.bp("/global-networks/{GlobalNetworkId}/links");
615
615
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
616
616
  const query = map({
617
- [_lIi]: [() => input.LinkIds !== void 0, () => (input[_LIi] || []).map((_entry) => _entry)],
617
+ [_lIi]: [() => input.LinkIds !== void 0, () => input[_LIi] || []],
618
618
  [_sI]: [, input[_SI]],
619
619
  [_t]: [, input[_T]],
620
620
  [_p]: [, input[_P]],
@@ -743,7 +743,7 @@ export const se_GetSitesCommand = async (input, context) => {
743
743
  b.bp("/global-networks/{GlobalNetworkId}/sites");
744
744
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
745
745
  const query = map({
746
- [_sIi]: [() => input.SiteIds !== void 0, () => (input[_SIi] || []).map((_entry) => _entry)],
746
+ [_sIi]: [() => input.SiteIds !== void 0, () => input[_SIi] || []],
747
747
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
748
748
  [_nT]: [, input[_NT]],
749
749
  });
@@ -766,10 +766,7 @@ export const se_GetTransitGatewayConnectPeerAssociationsCommand = async (input,
766
766
  b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations");
767
767
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
768
768
  const query = map({
769
- [_tGCPA]: [
770
- () => input.TransitGatewayConnectPeerArns !== void 0,
771
- () => (input[_TGCPA] || []).map((_entry) => _entry),
772
- ],
769
+ [_tGCPA]: [() => input.TransitGatewayConnectPeerArns !== void 0, () => input[_TGCPA] || []],
773
770
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
774
771
  [_nT]: [, input[_NT]],
775
772
  });
@@ -792,7 +789,7 @@ export const se_GetTransitGatewayRegistrationsCommand = async (input, context) =
792
789
  b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations");
793
790
  b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
794
791
  const query = map({
795
- [_tGA]: [() => input.TransitGatewayArns !== void 0, () => (input[_TGA] || []).map((_entry) => _entry)],
792
+ [_tGA]: [() => input.TransitGatewayArns !== void 0, () => input[_TGA] || []],
796
793
  [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
797
794
  [_nT]: [, input[_NT]],
798
795
  });
@@ -1024,10 +1021,7 @@ export const se_UntagResourceCommand = async (input, context) => {
1024
1021
  b.bp("/tags/{ResourceArn}");
1025
1022
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1026
1023
  const query = map({
1027
- [_tK]: [
1028
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
1029
- () => (input[_TK] || []).map((_entry) => _entry),
1030
- ],
1024
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
1031
1025
  });
1032
1026
  let body;
1033
1027
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2888,11 +2882,6 @@ const deserializeMetadata = (output) => ({
2888
2882
  cfId: output.headers["x-amz-cf-id"],
2889
2883
  });
2890
2884
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2891
- const isSerializableHeaderValue = (value) => value !== undefined &&
2892
- value !== null &&
2893
- value !== "" &&
2894
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
2895
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
2896
2885
  const _A = "Alias";
2897
2886
  const _AI = "AccountId";
2898
2887
  const _AR = "AwsRegion";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmanager",
3
3
  "description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
4
- "version": "3.658.0",
4
+ "version": "3.658.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-networkmanager",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",