@aws-sdk/client-networkmanager 3.54.0 → 3.56.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 (107) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/NetworkManagerClient.js +13 -13
  3. package/dist-cjs/commands/AcceptAttachmentCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateConnectPeerCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateCustomerGatewayCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateLinkCommand.js +3 -3
  7. package/dist-cjs/commands/AssociateTransitGatewayConnectPeerCommand.js +3 -3
  8. package/dist-cjs/commands/CreateConnectAttachmentCommand.js +3 -3
  9. package/dist-cjs/commands/CreateConnectPeerCommand.js +3 -3
  10. package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
  11. package/dist-cjs/commands/CreateCoreNetworkCommand.js +3 -3
  12. package/dist-cjs/commands/CreateDeviceCommand.js +3 -3
  13. package/dist-cjs/commands/CreateGlobalNetworkCommand.js +3 -3
  14. package/dist-cjs/commands/CreateLinkCommand.js +3 -3
  15. package/dist-cjs/commands/CreateSiteCommand.js +3 -3
  16. package/dist-cjs/commands/CreateSiteToSiteVpnAttachmentCommand.js +3 -3
  17. package/dist-cjs/commands/CreateVpcAttachmentCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteAttachmentCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteConnectPeerCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteCoreNetworkCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteCoreNetworkPolicyVersionCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteDeviceCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteGlobalNetworkCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteLinkCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteSiteCommand.js +3 -3
  28. package/dist-cjs/commands/DeregisterTransitGatewayCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeGlobalNetworksCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateConnectPeerCommand.js +3 -3
  31. package/dist-cjs/commands/DisassociateCustomerGatewayCommand.js +3 -3
  32. package/dist-cjs/commands/DisassociateLinkCommand.js +3 -3
  33. package/dist-cjs/commands/DisassociateTransitGatewayConnectPeerCommand.js +3 -3
  34. package/dist-cjs/commands/ExecuteCoreNetworkChangeSetCommand.js +3 -3
  35. package/dist-cjs/commands/GetConnectAttachmentCommand.js +3 -3
  36. package/dist-cjs/commands/GetConnectPeerAssociationsCommand.js +3 -3
  37. package/dist-cjs/commands/GetConnectPeerCommand.js +3 -3
  38. package/dist-cjs/commands/GetConnectionsCommand.js +3 -3
  39. package/dist-cjs/commands/GetCoreNetworkChangeSetCommand.js +3 -3
  40. package/dist-cjs/commands/GetCoreNetworkCommand.js +3 -3
  41. package/dist-cjs/commands/GetCoreNetworkPolicyCommand.js +3 -3
  42. package/dist-cjs/commands/GetCustomerGatewayAssociationsCommand.js +3 -3
  43. package/dist-cjs/commands/GetDevicesCommand.js +3 -3
  44. package/dist-cjs/commands/GetLinkAssociationsCommand.js +3 -3
  45. package/dist-cjs/commands/GetLinksCommand.js +3 -3
  46. package/dist-cjs/commands/GetNetworkResourceCountsCommand.js +3 -3
  47. package/dist-cjs/commands/GetNetworkResourceRelationshipsCommand.js +3 -3
  48. package/dist-cjs/commands/GetNetworkResourcesCommand.js +3 -3
  49. package/dist-cjs/commands/GetNetworkRoutesCommand.js +3 -3
  50. package/dist-cjs/commands/GetNetworkTelemetryCommand.js +3 -3
  51. package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
  52. package/dist-cjs/commands/GetRouteAnalysisCommand.js +3 -3
  53. package/dist-cjs/commands/GetSiteToSiteVpnAttachmentCommand.js +3 -3
  54. package/dist-cjs/commands/GetSitesCommand.js +3 -3
  55. package/dist-cjs/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +3 -3
  56. package/dist-cjs/commands/GetTransitGatewayRegistrationsCommand.js +3 -3
  57. package/dist-cjs/commands/GetVpcAttachmentCommand.js +3 -3
  58. package/dist-cjs/commands/ListAttachmentsCommand.js +3 -3
  59. package/dist-cjs/commands/ListConnectPeersCommand.js +3 -3
  60. package/dist-cjs/commands/ListCoreNetworkPolicyVersionsCommand.js +3 -3
  61. package/dist-cjs/commands/ListCoreNetworksCommand.js +3 -3
  62. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  63. package/dist-cjs/commands/PutCoreNetworkPolicyCommand.js +3 -3
  64. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  65. package/dist-cjs/commands/RegisterTransitGatewayCommand.js +3 -3
  66. package/dist-cjs/commands/RejectAttachmentCommand.js +3 -3
  67. package/dist-cjs/commands/RestoreCoreNetworkPolicyVersionCommand.js +3 -3
  68. package/dist-cjs/commands/StartRouteAnalysisCommand.js +3 -3
  69. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  70. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  71. package/dist-cjs/commands/UpdateConnectionCommand.js +3 -3
  72. package/dist-cjs/commands/UpdateCoreNetworkCommand.js +3 -3
  73. package/dist-cjs/commands/UpdateDeviceCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateGlobalNetworkCommand.js +3 -3
  75. package/dist-cjs/commands/UpdateLinkCommand.js +3 -3
  76. package/dist-cjs/commands/UpdateNetworkResourceMetadataCommand.js +3 -3
  77. package/dist-cjs/commands/UpdateSiteCommand.js +3 -3
  78. package/dist-cjs/commands/UpdateVpcAttachmentCommand.js +3 -3
  79. package/dist-cjs/endpoints.js +1 -1
  80. package/dist-cjs/protocols/Aws_restJson1.js +499 -499
  81. package/dist-cjs/runtimeConfig.browser.js +4 -4
  82. package/dist-cjs/runtimeConfig.js +9 -9
  83. package/dist-cjs/runtimeConfig.native.js +1 -1
  84. package/dist-es/NetworkManager.js +76 -76
  85. package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +4 -4
  86. package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +4 -4
  87. package/dist-es/pagination/GetConnectionsPaginator.js +4 -4
  88. package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +4 -4
  89. package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +4 -4
  90. package/dist-es/pagination/GetDevicesPaginator.js +4 -4
  91. package/dist-es/pagination/GetLinkAssociationsPaginator.js +4 -4
  92. package/dist-es/pagination/GetLinksPaginator.js +4 -4
  93. package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +4 -4
  94. package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +4 -4
  95. package/dist-es/pagination/GetNetworkResourcesPaginator.js +4 -4
  96. package/dist-es/pagination/GetNetworkTelemetryPaginator.js +4 -4
  97. package/dist-es/pagination/GetSitesPaginator.js +4 -4
  98. package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +4 -4
  99. package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +4 -4
  100. package/dist-es/pagination/ListAttachmentsPaginator.js +4 -4
  101. package/dist-es/pagination/ListConnectPeersPaginator.js +4 -4
  102. package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +4 -4
  103. package/dist-es/pagination/ListCoreNetworksPaginator.js +4 -4
  104. package/dist-es/protocols/Aws_restJson1.js +76 -76
  105. package/dist-types/runtimeConfig.native.d.ts +2 -2
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  107. package/package.json +34 -34
@@ -12,7 +12,7 @@ export var serializeAws_restJson1AcceptAttachmentCommand = function (input, cont
12
12
  case 1:
13
13
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
14
14
  headers = {};
15
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}/accept";
15
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}/accept";
16
16
  if (input.AttachmentId !== undefined) {
17
17
  labelValue = input.AttachmentId;
18
18
  if (labelValue.length <= 0) {
@@ -45,7 +45,7 @@ export var serializeAws_restJson1AssociateConnectPeerCommand = function (input,
45
45
  headers = {
46
46
  "content-type": "application/json",
47
47
  };
48
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
48
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
49
49
  "/global-networks/{GlobalNetworkId}/connect-peer-associations";
50
50
  if (input.GlobalNetworkId !== undefined) {
51
51
  labelValue = input.GlobalNetworkId;
@@ -80,7 +80,7 @@ export var serializeAws_restJson1AssociateCustomerGatewayCommand = function (inp
80
80
  headers = {
81
81
  "content-type": "application/json",
82
82
  };
83
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
83
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
84
84
  "/global-networks/{GlobalNetworkId}/customer-gateway-associations";
85
85
  if (input.GlobalNetworkId !== undefined) {
86
86
  labelValue = input.GlobalNetworkId;
@@ -116,7 +116,7 @@ export var serializeAws_restJson1AssociateLinkCommand = function (input, context
116
116
  headers = {
117
117
  "content-type": "application/json",
118
118
  };
119
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
119
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
120
120
  "/global-networks/{GlobalNetworkId}/link-associations";
121
121
  if (input.GlobalNetworkId !== undefined) {
122
122
  labelValue = input.GlobalNetworkId;
@@ -151,7 +151,7 @@ export var serializeAws_restJson1AssociateTransitGatewayConnectPeerCommand = fun
151
151
  headers = {
152
152
  "content-type": "application/json",
153
153
  };
154
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
154
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
155
155
  "/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations";
156
156
  if (input.GlobalNetworkId !== undefined) {
157
157
  labelValue = input.GlobalNetworkId;
@@ -190,7 +190,7 @@ export var serializeAws_restJson1CreateConnectAttachmentCommand = function (inpu
190
190
  headers = {
191
191
  "content-type": "application/json",
192
192
  };
193
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-attachments";
193
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-attachments";
194
194
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.CoreNetworkId !== undefined && input.CoreNetworkId !== null && { CoreNetworkId: input.CoreNetworkId })), (input.EdgeLocation !== undefined && input.EdgeLocation !== null && { EdgeLocation: input.EdgeLocation })), (input.Options !== undefined &&
195
195
  input.Options !== null && { Options: serializeAws_restJson1ConnectAttachmentOptions(input.Options, context) })), (input.Tags !== undefined &&
196
196
  input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.TransportAttachmentId !== undefined &&
@@ -217,7 +217,7 @@ export var serializeAws_restJson1CreateConnectionCommand = function (input, cont
217
217
  headers = {
218
218
  "content-type": "application/json",
219
219
  };
220
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
220
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
221
221
  "/global-networks/{GlobalNetworkId}/connections";
222
222
  if (input.GlobalNetworkId !== undefined) {
223
223
  labelValue = input.GlobalNetworkId;
@@ -256,7 +256,7 @@ export var serializeAws_restJson1CreateConnectPeerCommand = function (input, con
256
256
  headers = {
257
257
  "content-type": "application/json",
258
258
  };
259
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers";
259
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers";
260
260
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BgpOptions !== undefined &&
261
261
  input.BgpOptions !== null && { BgpOptions: serializeAws_restJson1BgpOptions(input.BgpOptions, context) })), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ConnectAttachmentId !== undefined &&
262
262
  input.ConnectAttachmentId !== null && { ConnectAttachmentId: input.ConnectAttachmentId })), (input.CoreNetworkAddress !== undefined &&
@@ -288,7 +288,7 @@ export var serializeAws_restJson1CreateCoreNetworkCommand = function (input, con
288
288
  headers = {
289
289
  "content-type": "application/json",
290
290
  };
291
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks";
291
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks";
292
292
  body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.GlobalNetworkId !== undefined &&
293
293
  input.GlobalNetworkId !== null && { GlobalNetworkId: input.GlobalNetworkId })), (input.PolicyDocument !== undefined &&
294
294
  input.PolicyDocument !== null && { PolicyDocument: input.PolicyDocument })), (input.Tags !== undefined &&
@@ -315,7 +315,7 @@ export var serializeAws_restJson1CreateDeviceCommand = function (input, context)
315
315
  headers = {
316
316
  "content-type": "application/json",
317
317
  };
318
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
318
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
319
319
  "/global-networks/{GlobalNetworkId}/devices";
320
320
  if (input.GlobalNetworkId !== undefined) {
321
321
  labelValue = input.GlobalNetworkId;
@@ -353,7 +353,7 @@ export var serializeAws_restJson1CreateGlobalNetworkCommand = function (input, c
353
353
  headers = {
354
354
  "content-type": "application/json",
355
355
  };
356
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks";
356
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks";
357
357
  body = JSON.stringify(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Tags !== undefined &&
358
358
  input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
359
359
  return [2, new __HttpRequest({
@@ -378,7 +378,7 @@ export var serializeAws_restJson1CreateLinkCommand = function (input, context) {
378
378
  headers = {
379
379
  "content-type": "application/json",
380
380
  };
381
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/links";
381
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/links";
382
382
  if (input.GlobalNetworkId !== undefined) {
383
383
  labelValue = input.GlobalNetworkId;
384
384
  if (labelValue.length <= 0) {
@@ -414,7 +414,7 @@ export var serializeAws_restJson1CreateSiteCommand = function (input, context) {
414
414
  headers = {
415
415
  "content-type": "application/json",
416
416
  };
417
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/sites";
417
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/sites";
418
418
  if (input.GlobalNetworkId !== undefined) {
419
419
  labelValue = input.GlobalNetworkId;
420
420
  if (labelValue.length <= 0) {
@@ -451,7 +451,7 @@ export var serializeAws_restJson1CreateSiteToSiteVpnAttachmentCommand = function
451
451
  headers = {
452
452
  "content-type": "application/json",
453
453
  };
454
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/site-to-site-vpn-attachments";
454
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/site-to-site-vpn-attachments";
455
455
  body = JSON.stringify(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.CoreNetworkId !== undefined && input.CoreNetworkId !== null && { CoreNetworkId: input.CoreNetworkId })), (input.Tags !== undefined &&
456
456
  input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VpnConnectionArn !== undefined &&
457
457
  input.VpnConnectionArn !== null && { VpnConnectionArn: input.VpnConnectionArn })));
@@ -478,7 +478,7 @@ export var serializeAws_restJson1CreateVpcAttachmentCommand = function (input, c
478
478
  headers = {
479
479
  "content-type": "application/json",
480
480
  };
481
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments";
481
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments";
482
482
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.CoreNetworkId !== undefined && input.CoreNetworkId !== null && { CoreNetworkId: input.CoreNetworkId })), (input.Options !== undefined &&
483
483
  input.Options !== null && { Options: serializeAws_restJson1VpcOptions(input.Options, context) })), (input.SubnetArns !== undefined &&
484
484
  input.SubnetArns !== null && { SubnetArns: serializeAws_restJson1SubnetArnList(input.SubnetArns, context) })), (input.Tags !== undefined &&
@@ -503,7 +503,7 @@ export var serializeAws_restJson1DeleteAttachmentCommand = function (input, cont
503
503
  case 1:
504
504
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
505
505
  headers = {};
506
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}";
506
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}";
507
507
  if (input.AttachmentId !== undefined) {
508
508
  labelValue = input.AttachmentId;
509
509
  if (labelValue.length <= 0) {
@@ -534,7 +534,7 @@ export var serializeAws_restJson1DeleteConnectionCommand = function (input, cont
534
534
  case 1:
535
535
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
536
536
  headers = {};
537
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
537
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
538
538
  "/global-networks/{GlobalNetworkId}/connections/{ConnectionId}";
539
539
  if (input.GlobalNetworkId !== undefined) {
540
540
  labelValue = input.GlobalNetworkId;
@@ -576,7 +576,7 @@ export var serializeAws_restJson1DeleteConnectPeerCommand = function (input, con
576
576
  case 1:
577
577
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
578
578
  headers = {};
579
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers/{ConnectPeerId}";
579
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers/{ConnectPeerId}";
580
580
  if (input.ConnectPeerId !== undefined) {
581
581
  labelValue = input.ConnectPeerId;
582
582
  if (labelValue.length <= 0) {
@@ -607,7 +607,7 @@ export var serializeAws_restJson1DeleteCoreNetworkCommand = function (input, con
607
607
  case 1:
608
608
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
609
609
  headers = {};
610
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
610
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
611
611
  if (input.CoreNetworkId !== undefined) {
612
612
  labelValue = input.CoreNetworkId;
613
613
  if (labelValue.length <= 0) {
@@ -638,7 +638,7 @@ export var serializeAws_restJson1DeleteCoreNetworkPolicyVersionCommand = functio
638
638
  case 1:
639
639
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
640
640
  headers = {};
641
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
641
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
642
642
  "/core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}";
643
643
  if (input.CoreNetworkId !== undefined) {
644
644
  labelValue = input.CoreNetworkId;
@@ -680,7 +680,7 @@ export var serializeAws_restJson1DeleteDeviceCommand = function (input, context)
680
680
  case 1:
681
681
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
682
682
  headers = {};
683
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
683
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
684
684
  "/global-networks/{GlobalNetworkId}/devices/{DeviceId}";
685
685
  if (input.GlobalNetworkId !== undefined) {
686
686
  labelValue = input.GlobalNetworkId;
@@ -722,7 +722,7 @@ export var serializeAws_restJson1DeleteGlobalNetworkCommand = function (input, c
722
722
  case 1:
723
723
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
724
724
  headers = {};
725
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}";
725
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}";
726
726
  if (input.GlobalNetworkId !== undefined) {
727
727
  labelValue = input.GlobalNetworkId;
728
728
  if (labelValue.length <= 0) {
@@ -753,7 +753,7 @@ export var serializeAws_restJson1DeleteLinkCommand = function (input, context) {
753
753
  case 1:
754
754
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
755
755
  headers = {};
756
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
756
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
757
757
  "/global-networks/{GlobalNetworkId}/links/{LinkId}";
758
758
  if (input.GlobalNetworkId !== undefined) {
759
759
  labelValue = input.GlobalNetworkId;
@@ -795,7 +795,7 @@ export var serializeAws_restJson1DeleteResourcePolicyCommand = function (input,
795
795
  case 1:
796
796
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
797
797
  headers = {};
798
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
798
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
799
799
  if (input.ResourceArn !== undefined) {
800
800
  labelValue = input.ResourceArn;
801
801
  if (labelValue.length <= 0) {
@@ -826,7 +826,7 @@ export var serializeAws_restJson1DeleteSiteCommand = function (input, context) {
826
826
  case 1:
827
827
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
828
828
  headers = {};
829
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
829
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
830
830
  "/global-networks/{GlobalNetworkId}/sites/{SiteId}";
831
831
  if (input.GlobalNetworkId !== undefined) {
832
832
  labelValue = input.GlobalNetworkId;
@@ -868,7 +868,7 @@ export var serializeAws_restJson1DeregisterTransitGatewayCommand = function (inp
868
868
  case 1:
869
869
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
870
870
  headers = {};
871
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
871
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
872
872
  "/global-networks/{GlobalNetworkId}/transit-gateway-registrations/{TransitGatewayArn}";
873
873
  if (input.GlobalNetworkId !== undefined) {
874
874
  labelValue = input.GlobalNetworkId;
@@ -910,7 +910,7 @@ export var serializeAws_restJson1DescribeGlobalNetworksCommand = function (input
910
910
  case 1:
911
911
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
912
912
  headers = {};
913
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks";
913
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks";
914
914
  query = __assign(__assign(__assign({}, (input.GlobalNetworkIds !== undefined && {
915
915
  globalNetworkIds: (input.GlobalNetworkIds || []).map(function (_entry) { return _entry; }),
916
916
  })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
@@ -935,7 +935,7 @@ export var serializeAws_restJson1DisassociateConnectPeerCommand = function (inpu
935
935
  case 1:
936
936
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
937
937
  headers = {};
938
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
938
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
939
939
  "/global-networks/{GlobalNetworkId}/connect-peer-associations/{ConnectPeerId}";
940
940
  if (input.GlobalNetworkId !== undefined) {
941
941
  labelValue = input.GlobalNetworkId;
@@ -977,7 +977,7 @@ export var serializeAws_restJson1DisassociateCustomerGatewayCommand = function (
977
977
  case 1:
978
978
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
979
979
  headers = {};
980
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
980
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
981
981
  "/global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn}";
982
982
  if (input.GlobalNetworkId !== undefined) {
983
983
  labelValue = input.GlobalNetworkId;
@@ -1019,7 +1019,7 @@ export var serializeAws_restJson1DisassociateLinkCommand = function (input, cont
1019
1019
  case 1:
1020
1020
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1021
1021
  headers = {};
1022
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1022
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1023
1023
  "/global-networks/{GlobalNetworkId}/link-associations";
1024
1024
  if (input.GlobalNetworkId !== undefined) {
1025
1025
  labelValue = input.GlobalNetworkId;
@@ -1053,7 +1053,7 @@ export var serializeAws_restJson1DisassociateTransitGatewayConnectPeerCommand =
1053
1053
  case 1:
1054
1054
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1055
1055
  headers = {};
1056
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1056
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1057
1057
  "/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations/{TransitGatewayConnectPeerArn}";
1058
1058
  if (input.GlobalNetworkId !== undefined) {
1059
1059
  labelValue = input.GlobalNetworkId;
@@ -1095,7 +1095,7 @@ export var serializeAws_restJson1ExecuteCoreNetworkChangeSetCommand = function (
1095
1095
  case 1:
1096
1096
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1097
1097
  headers = {};
1098
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1098
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1099
1099
  "/core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}/execute";
1100
1100
  if (input.CoreNetworkId !== undefined) {
1101
1101
  labelValue = input.CoreNetworkId;
@@ -1137,7 +1137,7 @@ export var serializeAws_restJson1GetConnectAttachmentCommand = function (input,
1137
1137
  case 1:
1138
1138
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1139
1139
  headers = {};
1140
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-attachments/{AttachmentId}";
1140
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-attachments/{AttachmentId}";
1141
1141
  if (input.AttachmentId !== undefined) {
1142
1142
  labelValue = input.AttachmentId;
1143
1143
  if (labelValue.length <= 0) {
@@ -1168,7 +1168,7 @@ export var serializeAws_restJson1GetConnectionsCommand = function (input, contex
1168
1168
  case 1:
1169
1169
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1170
1170
  headers = {};
1171
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1171
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1172
1172
  "/global-networks/{GlobalNetworkId}/connections";
1173
1173
  if (input.GlobalNetworkId !== undefined) {
1174
1174
  labelValue = input.GlobalNetworkId;
@@ -1204,7 +1204,7 @@ export var serializeAws_restJson1GetConnectPeerCommand = function (input, contex
1204
1204
  case 1:
1205
1205
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1206
1206
  headers = {};
1207
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers/{ConnectPeerId}";
1207
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers/{ConnectPeerId}";
1208
1208
  if (input.ConnectPeerId !== undefined) {
1209
1209
  labelValue = input.ConnectPeerId;
1210
1210
  if (labelValue.length <= 0) {
@@ -1235,7 +1235,7 @@ export var serializeAws_restJson1GetConnectPeerAssociationsCommand = function (i
1235
1235
  case 1:
1236
1236
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1237
1237
  headers = {};
1238
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1238
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1239
1239
  "/global-networks/{GlobalNetworkId}/connect-peer-associations";
1240
1240
  if (input.GlobalNetworkId !== undefined) {
1241
1241
  labelValue = input.GlobalNetworkId;
@@ -1271,7 +1271,7 @@ export var serializeAws_restJson1GetCoreNetworkCommand = function (input, contex
1271
1271
  case 1:
1272
1272
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1273
1273
  headers = {};
1274
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
1274
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
1275
1275
  if (input.CoreNetworkId !== undefined) {
1276
1276
  labelValue = input.CoreNetworkId;
1277
1277
  if (labelValue.length <= 0) {
@@ -1302,7 +1302,7 @@ export var serializeAws_restJson1GetCoreNetworkChangeSetCommand = function (inpu
1302
1302
  case 1:
1303
1303
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1304
1304
  headers = {};
1305
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1305
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1306
1306
  "/core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}";
1307
1307
  if (input.CoreNetworkId !== undefined) {
1308
1308
  labelValue = input.CoreNetworkId;
@@ -1346,7 +1346,7 @@ export var serializeAws_restJson1GetCoreNetworkPolicyCommand = function (input,
1346
1346
  case 1:
1347
1347
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1348
1348
  headers = {};
1349
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1349
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1350
1350
  "/core-networks/{CoreNetworkId}/core-network-policy";
1351
1351
  if (input.CoreNetworkId !== undefined) {
1352
1352
  labelValue = input.CoreNetworkId;
@@ -1380,7 +1380,7 @@ export var serializeAws_restJson1GetCustomerGatewayAssociationsCommand = functio
1380
1380
  case 1:
1381
1381
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1382
1382
  headers = {};
1383
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1383
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1384
1384
  "/global-networks/{GlobalNetworkId}/customer-gateway-associations";
1385
1385
  if (input.GlobalNetworkId !== undefined) {
1386
1386
  labelValue = input.GlobalNetworkId;
@@ -1416,7 +1416,7 @@ export var serializeAws_restJson1GetDevicesCommand = function (input, context) {
1416
1416
  case 1:
1417
1417
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1418
1418
  headers = {};
1419
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1419
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1420
1420
  "/global-networks/{GlobalNetworkId}/devices";
1421
1421
  if (input.GlobalNetworkId !== undefined) {
1422
1422
  labelValue = input.GlobalNetworkId;
@@ -1450,7 +1450,7 @@ export var serializeAws_restJson1GetLinkAssociationsCommand = function (input, c
1450
1450
  case 1:
1451
1451
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1452
1452
  headers = {};
1453
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1453
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1454
1454
  "/global-networks/{GlobalNetworkId}/link-associations";
1455
1455
  if (input.GlobalNetworkId !== undefined) {
1456
1456
  labelValue = input.GlobalNetworkId;
@@ -1484,7 +1484,7 @@ export var serializeAws_restJson1GetLinksCommand = function (input, context) { r
1484
1484
  case 1:
1485
1485
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1486
1486
  headers = {};
1487
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/links";
1487
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/links";
1488
1488
  if (input.GlobalNetworkId !== undefined) {
1489
1489
  labelValue = input.GlobalNetworkId;
1490
1490
  if (labelValue.length <= 0) {
@@ -1517,7 +1517,7 @@ export var serializeAws_restJson1GetNetworkResourceCountsCommand = function (inp
1517
1517
  case 1:
1518
1518
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1519
1519
  headers = {};
1520
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1520
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1521
1521
  "/global-networks/{GlobalNetworkId}/network-resource-count";
1522
1522
  if (input.GlobalNetworkId !== undefined) {
1523
1523
  labelValue = input.GlobalNetworkId;
@@ -1551,7 +1551,7 @@ export var serializeAws_restJson1GetNetworkResourceRelationshipsCommand = functi
1551
1551
  case 1:
1552
1552
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1553
1553
  headers = {};
1554
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1554
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1555
1555
  "/global-networks/{GlobalNetworkId}/network-resource-relationships";
1556
1556
  if (input.GlobalNetworkId !== undefined) {
1557
1557
  labelValue = input.GlobalNetworkId;
@@ -1585,7 +1585,7 @@ export var serializeAws_restJson1GetNetworkResourcesCommand = function (input, c
1585
1585
  case 1:
1586
1586
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1587
1587
  headers = {};
1588
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1588
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1589
1589
  "/global-networks/{GlobalNetworkId}/network-resources";
1590
1590
  if (input.GlobalNetworkId !== undefined) {
1591
1591
  labelValue = input.GlobalNetworkId;
@@ -1621,7 +1621,7 @@ export var serializeAws_restJson1GetNetworkRoutesCommand = function (input, cont
1621
1621
  headers = {
1622
1622
  "content-type": "application/json",
1623
1623
  };
1624
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1624
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1625
1625
  "/global-networks/{GlobalNetworkId}/network-routes";
1626
1626
  if (input.GlobalNetworkId !== undefined) {
1627
1627
  labelValue = input.GlobalNetworkId;
@@ -1677,7 +1677,7 @@ export var serializeAws_restJson1GetNetworkTelemetryCommand = function (input, c
1677
1677
  case 1:
1678
1678
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1679
1679
  headers = {};
1680
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1680
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1681
1681
  "/global-networks/{GlobalNetworkId}/network-telemetry";
1682
1682
  if (input.GlobalNetworkId !== undefined) {
1683
1683
  labelValue = input.GlobalNetworkId;
@@ -1711,7 +1711,7 @@ export var serializeAws_restJson1GetResourcePolicyCommand = function (input, con
1711
1711
  case 1:
1712
1712
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1713
1713
  headers = {};
1714
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
1714
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
1715
1715
  if (input.ResourceArn !== undefined) {
1716
1716
  labelValue = input.ResourceArn;
1717
1717
  if (labelValue.length <= 0) {
@@ -1742,7 +1742,7 @@ export var serializeAws_restJson1GetRouteAnalysisCommand = function (input, cont
1742
1742
  case 1:
1743
1743
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1744
1744
  headers = {};
1745
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1745
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1746
1746
  "/global-networks/{GlobalNetworkId}/route-analyses/{RouteAnalysisId}";
1747
1747
  if (input.GlobalNetworkId !== undefined) {
1748
1748
  labelValue = input.GlobalNetworkId;
@@ -1784,7 +1784,7 @@ export var serializeAws_restJson1GetSitesCommand = function (input, context) { r
1784
1784
  case 1:
1785
1785
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1786
1786
  headers = {};
1787
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/sites";
1787
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}/sites";
1788
1788
  if (input.GlobalNetworkId !== undefined) {
1789
1789
  labelValue = input.GlobalNetworkId;
1790
1790
  if (labelValue.length <= 0) {
@@ -1817,7 +1817,7 @@ export var serializeAws_restJson1GetSiteToSiteVpnAttachmentCommand = function (i
1817
1817
  case 1:
1818
1818
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1819
1819
  headers = {};
1820
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1820
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1821
1821
  "/site-to-site-vpn-attachments/{AttachmentId}";
1822
1822
  if (input.AttachmentId !== undefined) {
1823
1823
  labelValue = input.AttachmentId;
@@ -1849,7 +1849,7 @@ export var serializeAws_restJson1GetTransitGatewayConnectPeerAssociationsCommand
1849
1849
  case 1:
1850
1850
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1851
1851
  headers = {};
1852
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1852
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1853
1853
  "/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations";
1854
1854
  if (input.GlobalNetworkId !== undefined) {
1855
1855
  labelValue = input.GlobalNetworkId;
@@ -1885,7 +1885,7 @@ export var serializeAws_restJson1GetTransitGatewayRegistrationsCommand = functio
1885
1885
  case 1:
1886
1886
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1887
1887
  headers = {};
1888
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1888
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1889
1889
  "/global-networks/{GlobalNetworkId}/transit-gateway-registrations";
1890
1890
  if (input.GlobalNetworkId !== undefined) {
1891
1891
  labelValue = input.GlobalNetworkId;
@@ -1921,7 +1921,7 @@ export var serializeAws_restJson1GetVpcAttachmentCommand = function (input, cont
1921
1921
  case 1:
1922
1922
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1923
1923
  headers = {};
1924
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments/{AttachmentId}";
1924
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments/{AttachmentId}";
1925
1925
  if (input.AttachmentId !== undefined) {
1926
1926
  labelValue = input.AttachmentId;
1927
1927
  if (labelValue.length <= 0) {
@@ -1952,7 +1952,7 @@ export var serializeAws_restJson1ListAttachmentsCommand = function (input, conte
1952
1952
  case 1:
1953
1953
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1954
1954
  headers = {};
1955
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments";
1955
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments";
1956
1956
  query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CoreNetworkId !== undefined && { coreNetworkId: input.CoreNetworkId })), (input.AttachmentType !== undefined && { attachmentType: input.AttachmentType })), (input.EdgeLocation !== undefined && { edgeLocation: input.EdgeLocation })), (input.State !== undefined && { state: input.State })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1957
1957
  return [2, new __HttpRequest({
1958
1958
  protocol: protocol,
@@ -1975,7 +1975,7 @@ export var serializeAws_restJson1ListConnectPeersCommand = function (input, cont
1975
1975
  case 1:
1976
1976
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1977
1977
  headers = {};
1978
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers";
1978
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connect-peers";
1979
1979
  query = __assign(__assign(__assign(__assign({}, (input.CoreNetworkId !== undefined && { coreNetworkId: input.CoreNetworkId })), (input.ConnectAttachmentId !== undefined && { connectAttachmentId: input.ConnectAttachmentId })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1980
1980
  return [2, new __HttpRequest({
1981
1981
  protocol: protocol,
@@ -1998,7 +1998,7 @@ export var serializeAws_restJson1ListCoreNetworkPolicyVersionsCommand = function
1998
1998
  case 1:
1999
1999
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2000
2000
  headers = {};
2001
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2001
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2002
2002
  "/core-networks/{CoreNetworkId}/core-network-policy-versions";
2003
2003
  if (input.CoreNetworkId !== undefined) {
2004
2004
  labelValue = input.CoreNetworkId;
@@ -2032,7 +2032,7 @@ export var serializeAws_restJson1ListCoreNetworksCommand = function (input, cont
2032
2032
  case 1:
2033
2033
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2034
2034
  headers = {};
2035
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks";
2035
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks";
2036
2036
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
2037
2037
  return [2, new __HttpRequest({
2038
2038
  protocol: protocol,
@@ -2055,7 +2055,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
2055
2055
  case 1:
2056
2056
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2057
2057
  headers = {};
2058
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2058
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2059
2059
  if (input.ResourceArn !== undefined) {
2060
2060
  labelValue = input.ResourceArn;
2061
2061
  if (labelValue.length <= 0) {
@@ -2089,7 +2089,7 @@ export var serializeAws_restJson1PutCoreNetworkPolicyCommand = function (input,
2089
2089
  headers = {
2090
2090
  "content-type": "application/json",
2091
2091
  };
2092
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2092
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2093
2093
  "/core-networks/{CoreNetworkId}/core-network-policy";
2094
2094
  if (input.CoreNetworkId !== undefined) {
2095
2095
  labelValue = input.CoreNetworkId;
@@ -2126,7 +2126,7 @@ export var serializeAws_restJson1PutResourcePolicyCommand = function (input, con
2126
2126
  headers = {
2127
2127
  "content-type": "application/json",
2128
2128
  };
2129
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
2129
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-policy/{ResourceArn}";
2130
2130
  if (input.ResourceArn !== undefined) {
2131
2131
  labelValue = input.ResourceArn;
2132
2132
  if (labelValue.length <= 0) {
@@ -2161,7 +2161,7 @@ export var serializeAws_restJson1RegisterTransitGatewayCommand = function (input
2161
2161
  headers = {
2162
2162
  "content-type": "application/json",
2163
2163
  };
2164
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2164
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2165
2165
  "/global-networks/{GlobalNetworkId}/transit-gateway-registrations";
2166
2166
  if (input.GlobalNetworkId !== undefined) {
2167
2167
  labelValue = input.GlobalNetworkId;
@@ -2195,7 +2195,7 @@ export var serializeAws_restJson1RejectAttachmentCommand = function (input, cont
2195
2195
  case 1:
2196
2196
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2197
2197
  headers = {};
2198
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}/reject";
2198
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attachments/{AttachmentId}/reject";
2199
2199
  if (input.AttachmentId !== undefined) {
2200
2200
  labelValue = input.AttachmentId;
2201
2201
  if (labelValue.length <= 0) {
@@ -2226,7 +2226,7 @@ export var serializeAws_restJson1RestoreCoreNetworkPolicyVersionCommand = functi
2226
2226
  case 1:
2227
2227
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2228
2228
  headers = {};
2229
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2229
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2230
2230
  "/core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}/restore";
2231
2231
  if (input.CoreNetworkId !== undefined) {
2232
2232
  labelValue = input.CoreNetworkId;
@@ -2270,7 +2270,7 @@ export var serializeAws_restJson1StartRouteAnalysisCommand = function (input, co
2270
2270
  headers = {
2271
2271
  "content-type": "application/json",
2272
2272
  };
2273
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2273
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2274
2274
  "/global-networks/{GlobalNetworkId}/route-analyses";
2275
2275
  if (input.GlobalNetworkId !== undefined) {
2276
2276
  labelValue = input.GlobalNetworkId;
@@ -2313,7 +2313,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
2313
2313
  headers = {
2314
2314
  "content-type": "application/json",
2315
2315
  };
2316
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2316
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2317
2317
  if (input.ResourceArn !== undefined) {
2318
2318
  labelValue = input.ResourceArn;
2319
2319
  if (labelValue.length <= 0) {
@@ -2346,7 +2346,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
2346
2346
  case 1:
2347
2347
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2348
2348
  headers = {};
2349
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2349
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
2350
2350
  if (input.ResourceArn !== undefined) {
2351
2351
  labelValue = input.ResourceArn;
2352
2352
  if (labelValue.length <= 0) {
@@ -2381,7 +2381,7 @@ export var serializeAws_restJson1UpdateConnectionCommand = function (input, cont
2381
2381
  headers = {
2382
2382
  "content-type": "application/json",
2383
2383
  };
2384
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2384
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2385
2385
  "/global-networks/{GlobalNetworkId}/connections/{ConnectionId}";
2386
2386
  if (input.GlobalNetworkId !== undefined) {
2387
2387
  labelValue = input.GlobalNetworkId;
@@ -2427,7 +2427,7 @@ export var serializeAws_restJson1UpdateCoreNetworkCommand = function (input, con
2427
2427
  headers = {
2428
2428
  "content-type": "application/json",
2429
2429
  };
2430
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
2430
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/core-networks/{CoreNetworkId}";
2431
2431
  if (input.CoreNetworkId !== undefined) {
2432
2432
  labelValue = input.CoreNetworkId;
2433
2433
  if (labelValue.length <= 0) {
@@ -2461,7 +2461,7 @@ export var serializeAws_restJson1UpdateDeviceCommand = function (input, context)
2461
2461
  headers = {
2462
2462
  "content-type": "application/json",
2463
2463
  };
2464
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2464
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2465
2465
  "/global-networks/{GlobalNetworkId}/devices/{DeviceId}";
2466
2466
  if (input.GlobalNetworkId !== undefined) {
2467
2467
  labelValue = input.GlobalNetworkId;
@@ -2508,7 +2508,7 @@ export var serializeAws_restJson1UpdateGlobalNetworkCommand = function (input, c
2508
2508
  headers = {
2509
2509
  "content-type": "application/json",
2510
2510
  };
2511
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}";
2511
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/global-networks/{GlobalNetworkId}";
2512
2512
  if (input.GlobalNetworkId !== undefined) {
2513
2513
  labelValue = input.GlobalNetworkId;
2514
2514
  if (labelValue.length <= 0) {
@@ -2542,7 +2542,7 @@ export var serializeAws_restJson1UpdateLinkCommand = function (input, context) {
2542
2542
  headers = {
2543
2543
  "content-type": "application/json",
2544
2544
  };
2545
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2545
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2546
2546
  "/global-networks/{GlobalNetworkId}/links/{LinkId}";
2547
2547
  if (input.GlobalNetworkId !== undefined) {
2548
2548
  labelValue = input.GlobalNetworkId;
@@ -2588,7 +2588,7 @@ export var serializeAws_restJson1UpdateNetworkResourceMetadataCommand = function
2588
2588
  headers = {
2589
2589
  "content-type": "application/json",
2590
2590
  };
2591
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2591
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2592
2592
  "/global-networks/{GlobalNetworkId}/network-resources/{ResourceArn}/metadata";
2593
2593
  if (input.GlobalNetworkId !== undefined) {
2594
2594
  labelValue = input.GlobalNetworkId;
@@ -2636,7 +2636,7 @@ export var serializeAws_restJson1UpdateSiteCommand = function (input, context) {
2636
2636
  headers = {
2637
2637
  "content-type": "application/json",
2638
2638
  };
2639
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2639
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2640
2640
  "/global-networks/{GlobalNetworkId}/sites/{SiteId}";
2641
2641
  if (input.GlobalNetworkId !== undefined) {
2642
2642
  labelValue = input.GlobalNetworkId;
@@ -2682,7 +2682,7 @@ export var serializeAws_restJson1UpdateVpcAttachmentCommand = function (input, c
2682
2682
  headers = {
2683
2683
  "content-type": "application/json",
2684
2684
  };
2685
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments/{AttachmentId}";
2685
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vpc-attachments/{AttachmentId}";
2686
2686
  if (input.AttachmentId !== undefined) {
2687
2687
  labelValue = input.AttachmentId;
2688
2688
  if (labelValue.length <= 0) {