@aws-sdk/client-networkmanager 3.183.0 → 3.185.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 (119) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/NetworkManager.js +349 -342
  4. package/dist-es/NetworkManagerClient.js +28 -22
  5. package/dist-es/commands/AcceptAttachmentCommand.js +28 -21
  6. package/dist-es/commands/AssociateConnectPeerCommand.js +28 -21
  7. package/dist-es/commands/AssociateCustomerGatewayCommand.js +28 -21
  8. package/dist-es/commands/AssociateLinkCommand.js +28 -21
  9. package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +28 -21
  10. package/dist-es/commands/CreateConnectAttachmentCommand.js +28 -21
  11. package/dist-es/commands/CreateConnectPeerCommand.js +28 -21
  12. package/dist-es/commands/CreateConnectionCommand.js +28 -21
  13. package/dist-es/commands/CreateCoreNetworkCommand.js +28 -21
  14. package/dist-es/commands/CreateDeviceCommand.js +28 -21
  15. package/dist-es/commands/CreateGlobalNetworkCommand.js +28 -21
  16. package/dist-es/commands/CreateLinkCommand.js +28 -21
  17. package/dist-es/commands/CreateSiteCommand.js +28 -21
  18. package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +28 -21
  19. package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +28 -21
  20. package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +28 -21
  21. package/dist-es/commands/CreateVpcAttachmentCommand.js +28 -21
  22. package/dist-es/commands/DeleteAttachmentCommand.js +28 -21
  23. package/dist-es/commands/DeleteConnectPeerCommand.js +28 -21
  24. package/dist-es/commands/DeleteConnectionCommand.js +28 -21
  25. package/dist-es/commands/DeleteCoreNetworkCommand.js +28 -21
  26. package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +28 -21
  27. package/dist-es/commands/DeleteDeviceCommand.js +28 -21
  28. package/dist-es/commands/DeleteGlobalNetworkCommand.js +28 -21
  29. package/dist-es/commands/DeleteLinkCommand.js +28 -21
  30. package/dist-es/commands/DeletePeeringCommand.js +28 -21
  31. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  32. package/dist-es/commands/DeleteSiteCommand.js +28 -21
  33. package/dist-es/commands/DeregisterTransitGatewayCommand.js +28 -21
  34. package/dist-es/commands/DescribeGlobalNetworksCommand.js +28 -21
  35. package/dist-es/commands/DisassociateConnectPeerCommand.js +28 -21
  36. package/dist-es/commands/DisassociateCustomerGatewayCommand.js +28 -21
  37. package/dist-es/commands/DisassociateLinkCommand.js +28 -21
  38. package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +28 -21
  39. package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +28 -21
  40. package/dist-es/commands/GetConnectAttachmentCommand.js +28 -21
  41. package/dist-es/commands/GetConnectPeerAssociationsCommand.js +28 -21
  42. package/dist-es/commands/GetConnectPeerCommand.js +28 -21
  43. package/dist-es/commands/GetConnectionsCommand.js +28 -21
  44. package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +28 -21
  45. package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +28 -21
  46. package/dist-es/commands/GetCoreNetworkCommand.js +28 -21
  47. package/dist-es/commands/GetCoreNetworkPolicyCommand.js +28 -21
  48. package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +28 -21
  49. package/dist-es/commands/GetDevicesCommand.js +28 -21
  50. package/dist-es/commands/GetLinkAssociationsCommand.js +28 -21
  51. package/dist-es/commands/GetLinksCommand.js +28 -21
  52. package/dist-es/commands/GetNetworkResourceCountsCommand.js +28 -21
  53. package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +28 -21
  54. package/dist-es/commands/GetNetworkResourcesCommand.js +28 -21
  55. package/dist-es/commands/GetNetworkRoutesCommand.js +28 -21
  56. package/dist-es/commands/GetNetworkTelemetryCommand.js +28 -21
  57. package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
  58. package/dist-es/commands/GetRouteAnalysisCommand.js +28 -21
  59. package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +28 -21
  60. package/dist-es/commands/GetSitesCommand.js +28 -21
  61. package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +28 -21
  62. package/dist-es/commands/GetTransitGatewayPeeringCommand.js +28 -21
  63. package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +28 -21
  64. package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +28 -21
  65. package/dist-es/commands/GetVpcAttachmentCommand.js +28 -21
  66. package/dist-es/commands/ListAttachmentsCommand.js +28 -21
  67. package/dist-es/commands/ListConnectPeersCommand.js +28 -21
  68. package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +28 -21
  69. package/dist-es/commands/ListCoreNetworksCommand.js +28 -21
  70. package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +28 -21
  71. package/dist-es/commands/ListPeeringsCommand.js +28 -21
  72. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  73. package/dist-es/commands/PutCoreNetworkPolicyCommand.js +28 -21
  74. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  75. package/dist-es/commands/RegisterTransitGatewayCommand.js +28 -21
  76. package/dist-es/commands/RejectAttachmentCommand.js +28 -21
  77. package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +28 -21
  78. package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +28 -21
  79. package/dist-es/commands/StartRouteAnalysisCommand.js +28 -21
  80. package/dist-es/commands/TagResourceCommand.js +28 -21
  81. package/dist-es/commands/UntagResourceCommand.js +28 -21
  82. package/dist-es/commands/UpdateConnectionCommand.js +28 -21
  83. package/dist-es/commands/UpdateCoreNetworkCommand.js +28 -21
  84. package/dist-es/commands/UpdateDeviceCommand.js +28 -21
  85. package/dist-es/commands/UpdateGlobalNetworkCommand.js +28 -21
  86. package/dist-es/commands/UpdateLinkCommand.js +28 -21
  87. package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +28 -21
  88. package/dist-es/commands/UpdateSiteCommand.js +28 -21
  89. package/dist-es/commands/UpdateVpcAttachmentCommand.js +28 -21
  90. package/dist-es/endpoints.js +8 -8
  91. package/dist-es/models/NetworkManagerServiceException.js +10 -5
  92. package/dist-es/models/models_0.js +341 -814
  93. package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +68 -25
  94. package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +68 -25
  95. package/dist-es/pagination/GetConnectionsPaginator.js +68 -25
  96. package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +68 -25
  97. package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +68 -25
  98. package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +68 -25
  99. package/dist-es/pagination/GetDevicesPaginator.js +68 -25
  100. package/dist-es/pagination/GetLinkAssociationsPaginator.js +68 -25
  101. package/dist-es/pagination/GetLinksPaginator.js +68 -25
  102. package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +68 -25
  103. package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +68 -25
  104. package/dist-es/pagination/GetNetworkResourcesPaginator.js +68 -25
  105. package/dist-es/pagination/GetNetworkTelemetryPaginator.js +68 -25
  106. package/dist-es/pagination/GetSitesPaginator.js +68 -25
  107. package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +68 -25
  108. package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +68 -25
  109. package/dist-es/pagination/ListAttachmentsPaginator.js +68 -25
  110. package/dist-es/pagination/ListConnectPeersPaginator.js +68 -25
  111. package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +68 -25
  112. package/dist-es/pagination/ListCoreNetworksPaginator.js +68 -25
  113. package/dist-es/pagination/ListPeeringsPaginator.js +68 -25
  114. package/dist-es/protocols/Aws_restJson1.js +8892 -6202
  115. package/dist-es/runtimeConfig.browser.js +12 -26
  116. package/dist-es/runtimeConfig.js +12 -30
  117. package/dist-es/runtimeConfig.native.js +5 -8
  118. package/dist-es/runtimeConfig.shared.js +11 -8
  119. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { AcceptAttachmentCommand, } from "./commands/AcceptAttachmentCommand";
2
3
  import { AssociateConnectPeerCommand, } from "./commands/AssociateConnectPeerCommand";
3
4
  import { AssociateCustomerGatewayCommand, } from "./commands/AssociateCustomerGatewayCommand";
@@ -84,1195 +85,1201 @@ import { UpdateNetworkResourceMetadataCommand, } from "./commands/UpdateNetworkR
84
85
  import { UpdateSiteCommand } from "./commands/UpdateSiteCommand";
85
86
  import { UpdateVpcAttachmentCommand, } from "./commands/UpdateVpcAttachmentCommand";
86
87
  import { NetworkManagerClient } from "./NetworkManagerClient";
87
- export class NetworkManager extends NetworkManagerClient {
88
- acceptAttachment(args, optionsOrCb, cb) {
89
- const command = new AcceptAttachmentCommand(args);
88
+ var NetworkManager = (function (_super) {
89
+ __extends(NetworkManager, _super);
90
+ function NetworkManager() {
91
+ return _super !== null && _super.apply(this, arguments) || this;
92
+ }
93
+ NetworkManager.prototype.acceptAttachment = function (args, optionsOrCb, cb) {
94
+ var command = new AcceptAttachmentCommand(args);
90
95
  if (typeof optionsOrCb === "function") {
91
96
  this.send(command, optionsOrCb);
92
97
  }
93
98
  else if (typeof cb === "function") {
94
99
  if (typeof optionsOrCb !== "object")
95
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
100
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
96
101
  this.send(command, optionsOrCb || {}, cb);
97
102
  }
98
103
  else {
99
104
  return this.send(command, optionsOrCb);
100
105
  }
101
- }
102
- associateConnectPeer(args, optionsOrCb, cb) {
103
- const command = new AssociateConnectPeerCommand(args);
106
+ };
107
+ NetworkManager.prototype.associateConnectPeer = function (args, optionsOrCb, cb) {
108
+ var command = new AssociateConnectPeerCommand(args);
104
109
  if (typeof optionsOrCb === "function") {
105
110
  this.send(command, optionsOrCb);
106
111
  }
107
112
  else if (typeof cb === "function") {
108
113
  if (typeof optionsOrCb !== "object")
109
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
114
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
110
115
  this.send(command, optionsOrCb || {}, cb);
111
116
  }
112
117
  else {
113
118
  return this.send(command, optionsOrCb);
114
119
  }
115
- }
116
- associateCustomerGateway(args, optionsOrCb, cb) {
117
- const command = new AssociateCustomerGatewayCommand(args);
120
+ };
121
+ NetworkManager.prototype.associateCustomerGateway = function (args, optionsOrCb, cb) {
122
+ var command = new AssociateCustomerGatewayCommand(args);
118
123
  if (typeof optionsOrCb === "function") {
119
124
  this.send(command, optionsOrCb);
120
125
  }
121
126
  else if (typeof cb === "function") {
122
127
  if (typeof optionsOrCb !== "object")
123
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
128
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
124
129
  this.send(command, optionsOrCb || {}, cb);
125
130
  }
126
131
  else {
127
132
  return this.send(command, optionsOrCb);
128
133
  }
129
- }
130
- associateLink(args, optionsOrCb, cb) {
131
- const command = new AssociateLinkCommand(args);
134
+ };
135
+ NetworkManager.prototype.associateLink = function (args, optionsOrCb, cb) {
136
+ var command = new AssociateLinkCommand(args);
132
137
  if (typeof optionsOrCb === "function") {
133
138
  this.send(command, optionsOrCb);
134
139
  }
135
140
  else if (typeof cb === "function") {
136
141
  if (typeof optionsOrCb !== "object")
137
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
142
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
138
143
  this.send(command, optionsOrCb || {}, cb);
139
144
  }
140
145
  else {
141
146
  return this.send(command, optionsOrCb);
142
147
  }
143
- }
144
- associateTransitGatewayConnectPeer(args, optionsOrCb, cb) {
145
- const command = new AssociateTransitGatewayConnectPeerCommand(args);
148
+ };
149
+ NetworkManager.prototype.associateTransitGatewayConnectPeer = function (args, optionsOrCb, cb) {
150
+ var command = new AssociateTransitGatewayConnectPeerCommand(args);
146
151
  if (typeof optionsOrCb === "function") {
147
152
  this.send(command, optionsOrCb);
148
153
  }
149
154
  else if (typeof cb === "function") {
150
155
  if (typeof optionsOrCb !== "object")
151
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
156
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
152
157
  this.send(command, optionsOrCb || {}, cb);
153
158
  }
154
159
  else {
155
160
  return this.send(command, optionsOrCb);
156
161
  }
157
- }
158
- createConnectAttachment(args, optionsOrCb, cb) {
159
- const command = new CreateConnectAttachmentCommand(args);
162
+ };
163
+ NetworkManager.prototype.createConnectAttachment = function (args, optionsOrCb, cb) {
164
+ var command = new CreateConnectAttachmentCommand(args);
160
165
  if (typeof optionsOrCb === "function") {
161
166
  this.send(command, optionsOrCb);
162
167
  }
163
168
  else if (typeof cb === "function") {
164
169
  if (typeof optionsOrCb !== "object")
165
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
170
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
166
171
  this.send(command, optionsOrCb || {}, cb);
167
172
  }
168
173
  else {
169
174
  return this.send(command, optionsOrCb);
170
175
  }
171
- }
172
- createConnection(args, optionsOrCb, cb) {
173
- const command = new CreateConnectionCommand(args);
176
+ };
177
+ NetworkManager.prototype.createConnection = function (args, optionsOrCb, cb) {
178
+ var command = new CreateConnectionCommand(args);
174
179
  if (typeof optionsOrCb === "function") {
175
180
  this.send(command, optionsOrCb);
176
181
  }
177
182
  else if (typeof cb === "function") {
178
183
  if (typeof optionsOrCb !== "object")
179
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
184
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
180
185
  this.send(command, optionsOrCb || {}, cb);
181
186
  }
182
187
  else {
183
188
  return this.send(command, optionsOrCb);
184
189
  }
185
- }
186
- createConnectPeer(args, optionsOrCb, cb) {
187
- const command = new CreateConnectPeerCommand(args);
190
+ };
191
+ NetworkManager.prototype.createConnectPeer = function (args, optionsOrCb, cb) {
192
+ var command = new CreateConnectPeerCommand(args);
188
193
  if (typeof optionsOrCb === "function") {
189
194
  this.send(command, optionsOrCb);
190
195
  }
191
196
  else if (typeof cb === "function") {
192
197
  if (typeof optionsOrCb !== "object")
193
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
198
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
194
199
  this.send(command, optionsOrCb || {}, cb);
195
200
  }
196
201
  else {
197
202
  return this.send(command, optionsOrCb);
198
203
  }
199
- }
200
- createCoreNetwork(args, optionsOrCb, cb) {
201
- const command = new CreateCoreNetworkCommand(args);
204
+ };
205
+ NetworkManager.prototype.createCoreNetwork = function (args, optionsOrCb, cb) {
206
+ var command = new CreateCoreNetworkCommand(args);
202
207
  if (typeof optionsOrCb === "function") {
203
208
  this.send(command, optionsOrCb);
204
209
  }
205
210
  else if (typeof cb === "function") {
206
211
  if (typeof optionsOrCb !== "object")
207
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
212
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
208
213
  this.send(command, optionsOrCb || {}, cb);
209
214
  }
210
215
  else {
211
216
  return this.send(command, optionsOrCb);
212
217
  }
213
- }
214
- createDevice(args, optionsOrCb, cb) {
215
- const command = new CreateDeviceCommand(args);
218
+ };
219
+ NetworkManager.prototype.createDevice = function (args, optionsOrCb, cb) {
220
+ var command = new CreateDeviceCommand(args);
216
221
  if (typeof optionsOrCb === "function") {
217
222
  this.send(command, optionsOrCb);
218
223
  }
219
224
  else if (typeof cb === "function") {
220
225
  if (typeof optionsOrCb !== "object")
221
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
226
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
222
227
  this.send(command, optionsOrCb || {}, cb);
223
228
  }
224
229
  else {
225
230
  return this.send(command, optionsOrCb);
226
231
  }
227
- }
228
- createGlobalNetwork(args, optionsOrCb, cb) {
229
- const command = new CreateGlobalNetworkCommand(args);
232
+ };
233
+ NetworkManager.prototype.createGlobalNetwork = function (args, optionsOrCb, cb) {
234
+ var command = new CreateGlobalNetworkCommand(args);
230
235
  if (typeof optionsOrCb === "function") {
231
236
  this.send(command, optionsOrCb);
232
237
  }
233
238
  else if (typeof cb === "function") {
234
239
  if (typeof optionsOrCb !== "object")
235
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
240
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
236
241
  this.send(command, optionsOrCb || {}, cb);
237
242
  }
238
243
  else {
239
244
  return this.send(command, optionsOrCb);
240
245
  }
241
- }
242
- createLink(args, optionsOrCb, cb) {
243
- const command = new CreateLinkCommand(args);
246
+ };
247
+ NetworkManager.prototype.createLink = function (args, optionsOrCb, cb) {
248
+ var command = new CreateLinkCommand(args);
244
249
  if (typeof optionsOrCb === "function") {
245
250
  this.send(command, optionsOrCb);
246
251
  }
247
252
  else if (typeof cb === "function") {
248
253
  if (typeof optionsOrCb !== "object")
249
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
254
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
250
255
  this.send(command, optionsOrCb || {}, cb);
251
256
  }
252
257
  else {
253
258
  return this.send(command, optionsOrCb);
254
259
  }
255
- }
256
- createSite(args, optionsOrCb, cb) {
257
- const command = new CreateSiteCommand(args);
260
+ };
261
+ NetworkManager.prototype.createSite = function (args, optionsOrCb, cb) {
262
+ var command = new CreateSiteCommand(args);
258
263
  if (typeof optionsOrCb === "function") {
259
264
  this.send(command, optionsOrCb);
260
265
  }
261
266
  else if (typeof cb === "function") {
262
267
  if (typeof optionsOrCb !== "object")
263
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
268
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
264
269
  this.send(command, optionsOrCb || {}, cb);
265
270
  }
266
271
  else {
267
272
  return this.send(command, optionsOrCb);
268
273
  }
269
- }
270
- createSiteToSiteVpnAttachment(args, optionsOrCb, cb) {
271
- const command = new CreateSiteToSiteVpnAttachmentCommand(args);
274
+ };
275
+ NetworkManager.prototype.createSiteToSiteVpnAttachment = function (args, optionsOrCb, cb) {
276
+ var command = new CreateSiteToSiteVpnAttachmentCommand(args);
272
277
  if (typeof optionsOrCb === "function") {
273
278
  this.send(command, optionsOrCb);
274
279
  }
275
280
  else if (typeof cb === "function") {
276
281
  if (typeof optionsOrCb !== "object")
277
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
282
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
278
283
  this.send(command, optionsOrCb || {}, cb);
279
284
  }
280
285
  else {
281
286
  return this.send(command, optionsOrCb);
282
287
  }
283
- }
284
- createTransitGatewayPeering(args, optionsOrCb, cb) {
285
- const command = new CreateTransitGatewayPeeringCommand(args);
288
+ };
289
+ NetworkManager.prototype.createTransitGatewayPeering = function (args, optionsOrCb, cb) {
290
+ var command = new CreateTransitGatewayPeeringCommand(args);
286
291
  if (typeof optionsOrCb === "function") {
287
292
  this.send(command, optionsOrCb);
288
293
  }
289
294
  else if (typeof cb === "function") {
290
295
  if (typeof optionsOrCb !== "object")
291
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
296
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
292
297
  this.send(command, optionsOrCb || {}, cb);
293
298
  }
294
299
  else {
295
300
  return this.send(command, optionsOrCb);
296
301
  }
297
- }
298
- createTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
299
- const command = new CreateTransitGatewayRouteTableAttachmentCommand(args);
302
+ };
303
+ NetworkManager.prototype.createTransitGatewayRouteTableAttachment = function (args, optionsOrCb, cb) {
304
+ var command = new CreateTransitGatewayRouteTableAttachmentCommand(args);
300
305
  if (typeof optionsOrCb === "function") {
301
306
  this.send(command, optionsOrCb);
302
307
  }
303
308
  else if (typeof cb === "function") {
304
309
  if (typeof optionsOrCb !== "object")
305
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
310
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
306
311
  this.send(command, optionsOrCb || {}, cb);
307
312
  }
308
313
  else {
309
314
  return this.send(command, optionsOrCb);
310
315
  }
311
- }
312
- createVpcAttachment(args, optionsOrCb, cb) {
313
- const command = new CreateVpcAttachmentCommand(args);
316
+ };
317
+ NetworkManager.prototype.createVpcAttachment = function (args, optionsOrCb, cb) {
318
+ var command = new CreateVpcAttachmentCommand(args);
314
319
  if (typeof optionsOrCb === "function") {
315
320
  this.send(command, optionsOrCb);
316
321
  }
317
322
  else if (typeof cb === "function") {
318
323
  if (typeof optionsOrCb !== "object")
319
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
324
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
320
325
  this.send(command, optionsOrCb || {}, cb);
321
326
  }
322
327
  else {
323
328
  return this.send(command, optionsOrCb);
324
329
  }
325
- }
326
- deleteAttachment(args, optionsOrCb, cb) {
327
- const command = new DeleteAttachmentCommand(args);
330
+ };
331
+ NetworkManager.prototype.deleteAttachment = function (args, optionsOrCb, cb) {
332
+ var command = new DeleteAttachmentCommand(args);
328
333
  if (typeof optionsOrCb === "function") {
329
334
  this.send(command, optionsOrCb);
330
335
  }
331
336
  else if (typeof cb === "function") {
332
337
  if (typeof optionsOrCb !== "object")
333
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
338
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
334
339
  this.send(command, optionsOrCb || {}, cb);
335
340
  }
336
341
  else {
337
342
  return this.send(command, optionsOrCb);
338
343
  }
339
- }
340
- deleteConnection(args, optionsOrCb, cb) {
341
- const command = new DeleteConnectionCommand(args);
344
+ };
345
+ NetworkManager.prototype.deleteConnection = function (args, optionsOrCb, cb) {
346
+ var command = new DeleteConnectionCommand(args);
342
347
  if (typeof optionsOrCb === "function") {
343
348
  this.send(command, optionsOrCb);
344
349
  }
345
350
  else if (typeof cb === "function") {
346
351
  if (typeof optionsOrCb !== "object")
347
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
352
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
348
353
  this.send(command, optionsOrCb || {}, cb);
349
354
  }
350
355
  else {
351
356
  return this.send(command, optionsOrCb);
352
357
  }
353
- }
354
- deleteConnectPeer(args, optionsOrCb, cb) {
355
- const command = new DeleteConnectPeerCommand(args);
358
+ };
359
+ NetworkManager.prototype.deleteConnectPeer = function (args, optionsOrCb, cb) {
360
+ var command = new DeleteConnectPeerCommand(args);
356
361
  if (typeof optionsOrCb === "function") {
357
362
  this.send(command, optionsOrCb);
358
363
  }
359
364
  else if (typeof cb === "function") {
360
365
  if (typeof optionsOrCb !== "object")
361
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
366
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
362
367
  this.send(command, optionsOrCb || {}, cb);
363
368
  }
364
369
  else {
365
370
  return this.send(command, optionsOrCb);
366
371
  }
367
- }
368
- deleteCoreNetwork(args, optionsOrCb, cb) {
369
- const command = new DeleteCoreNetworkCommand(args);
372
+ };
373
+ NetworkManager.prototype.deleteCoreNetwork = function (args, optionsOrCb, cb) {
374
+ var command = new DeleteCoreNetworkCommand(args);
370
375
  if (typeof optionsOrCb === "function") {
371
376
  this.send(command, optionsOrCb);
372
377
  }
373
378
  else if (typeof cb === "function") {
374
379
  if (typeof optionsOrCb !== "object")
375
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
380
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
376
381
  this.send(command, optionsOrCb || {}, cb);
377
382
  }
378
383
  else {
379
384
  return this.send(command, optionsOrCb);
380
385
  }
381
- }
382
- deleteCoreNetworkPolicyVersion(args, optionsOrCb, cb) {
383
- const command = new DeleteCoreNetworkPolicyVersionCommand(args);
386
+ };
387
+ NetworkManager.prototype.deleteCoreNetworkPolicyVersion = function (args, optionsOrCb, cb) {
388
+ var command = new DeleteCoreNetworkPolicyVersionCommand(args);
384
389
  if (typeof optionsOrCb === "function") {
385
390
  this.send(command, optionsOrCb);
386
391
  }
387
392
  else if (typeof cb === "function") {
388
393
  if (typeof optionsOrCb !== "object")
389
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
390
395
  this.send(command, optionsOrCb || {}, cb);
391
396
  }
392
397
  else {
393
398
  return this.send(command, optionsOrCb);
394
399
  }
395
- }
396
- deleteDevice(args, optionsOrCb, cb) {
397
- const command = new DeleteDeviceCommand(args);
400
+ };
401
+ NetworkManager.prototype.deleteDevice = function (args, optionsOrCb, cb) {
402
+ var command = new DeleteDeviceCommand(args);
398
403
  if (typeof optionsOrCb === "function") {
399
404
  this.send(command, optionsOrCb);
400
405
  }
401
406
  else if (typeof cb === "function") {
402
407
  if (typeof optionsOrCb !== "object")
403
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
408
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
404
409
  this.send(command, optionsOrCb || {}, cb);
405
410
  }
406
411
  else {
407
412
  return this.send(command, optionsOrCb);
408
413
  }
409
- }
410
- deleteGlobalNetwork(args, optionsOrCb, cb) {
411
- const command = new DeleteGlobalNetworkCommand(args);
414
+ };
415
+ NetworkManager.prototype.deleteGlobalNetwork = function (args, optionsOrCb, cb) {
416
+ var command = new DeleteGlobalNetworkCommand(args);
412
417
  if (typeof optionsOrCb === "function") {
413
418
  this.send(command, optionsOrCb);
414
419
  }
415
420
  else if (typeof cb === "function") {
416
421
  if (typeof optionsOrCb !== "object")
417
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
422
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
418
423
  this.send(command, optionsOrCb || {}, cb);
419
424
  }
420
425
  else {
421
426
  return this.send(command, optionsOrCb);
422
427
  }
423
- }
424
- deleteLink(args, optionsOrCb, cb) {
425
- const command = new DeleteLinkCommand(args);
428
+ };
429
+ NetworkManager.prototype.deleteLink = function (args, optionsOrCb, cb) {
430
+ var command = new DeleteLinkCommand(args);
426
431
  if (typeof optionsOrCb === "function") {
427
432
  this.send(command, optionsOrCb);
428
433
  }
429
434
  else if (typeof cb === "function") {
430
435
  if (typeof optionsOrCb !== "object")
431
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
436
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
432
437
  this.send(command, optionsOrCb || {}, cb);
433
438
  }
434
439
  else {
435
440
  return this.send(command, optionsOrCb);
436
441
  }
437
- }
438
- deletePeering(args, optionsOrCb, cb) {
439
- const command = new DeletePeeringCommand(args);
442
+ };
443
+ NetworkManager.prototype.deletePeering = function (args, optionsOrCb, cb) {
444
+ var command = new DeletePeeringCommand(args);
440
445
  if (typeof optionsOrCb === "function") {
441
446
  this.send(command, optionsOrCb);
442
447
  }
443
448
  else if (typeof cb === "function") {
444
449
  if (typeof optionsOrCb !== "object")
445
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
450
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
446
451
  this.send(command, optionsOrCb || {}, cb);
447
452
  }
448
453
  else {
449
454
  return this.send(command, optionsOrCb);
450
455
  }
451
- }
452
- deleteResourcePolicy(args, optionsOrCb, cb) {
453
- const command = new DeleteResourcePolicyCommand(args);
456
+ };
457
+ NetworkManager.prototype.deleteResourcePolicy = function (args, optionsOrCb, cb) {
458
+ var command = new DeleteResourcePolicyCommand(args);
454
459
  if (typeof optionsOrCb === "function") {
455
460
  this.send(command, optionsOrCb);
456
461
  }
457
462
  else if (typeof cb === "function") {
458
463
  if (typeof optionsOrCb !== "object")
459
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
464
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
460
465
  this.send(command, optionsOrCb || {}, cb);
461
466
  }
462
467
  else {
463
468
  return this.send(command, optionsOrCb);
464
469
  }
465
- }
466
- deleteSite(args, optionsOrCb, cb) {
467
- const command = new DeleteSiteCommand(args);
470
+ };
471
+ NetworkManager.prototype.deleteSite = function (args, optionsOrCb, cb) {
472
+ var command = new DeleteSiteCommand(args);
468
473
  if (typeof optionsOrCb === "function") {
469
474
  this.send(command, optionsOrCb);
470
475
  }
471
476
  else if (typeof cb === "function") {
472
477
  if (typeof optionsOrCb !== "object")
473
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
478
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
474
479
  this.send(command, optionsOrCb || {}, cb);
475
480
  }
476
481
  else {
477
482
  return this.send(command, optionsOrCb);
478
483
  }
479
- }
480
- deregisterTransitGateway(args, optionsOrCb, cb) {
481
- const command = new DeregisterTransitGatewayCommand(args);
484
+ };
485
+ NetworkManager.prototype.deregisterTransitGateway = function (args, optionsOrCb, cb) {
486
+ var command = new DeregisterTransitGatewayCommand(args);
482
487
  if (typeof optionsOrCb === "function") {
483
488
  this.send(command, optionsOrCb);
484
489
  }
485
490
  else if (typeof cb === "function") {
486
491
  if (typeof optionsOrCb !== "object")
487
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
492
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
488
493
  this.send(command, optionsOrCb || {}, cb);
489
494
  }
490
495
  else {
491
496
  return this.send(command, optionsOrCb);
492
497
  }
493
- }
494
- describeGlobalNetworks(args, optionsOrCb, cb) {
495
- const command = new DescribeGlobalNetworksCommand(args);
498
+ };
499
+ NetworkManager.prototype.describeGlobalNetworks = function (args, optionsOrCb, cb) {
500
+ var command = new DescribeGlobalNetworksCommand(args);
496
501
  if (typeof optionsOrCb === "function") {
497
502
  this.send(command, optionsOrCb);
498
503
  }
499
504
  else if (typeof cb === "function") {
500
505
  if (typeof optionsOrCb !== "object")
501
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
506
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
502
507
  this.send(command, optionsOrCb || {}, cb);
503
508
  }
504
509
  else {
505
510
  return this.send(command, optionsOrCb);
506
511
  }
507
- }
508
- disassociateConnectPeer(args, optionsOrCb, cb) {
509
- const command = new DisassociateConnectPeerCommand(args);
512
+ };
513
+ NetworkManager.prototype.disassociateConnectPeer = function (args, optionsOrCb, cb) {
514
+ var command = new DisassociateConnectPeerCommand(args);
510
515
  if (typeof optionsOrCb === "function") {
511
516
  this.send(command, optionsOrCb);
512
517
  }
513
518
  else if (typeof cb === "function") {
514
519
  if (typeof optionsOrCb !== "object")
515
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
520
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
516
521
  this.send(command, optionsOrCb || {}, cb);
517
522
  }
518
523
  else {
519
524
  return this.send(command, optionsOrCb);
520
525
  }
521
- }
522
- disassociateCustomerGateway(args, optionsOrCb, cb) {
523
- const command = new DisassociateCustomerGatewayCommand(args);
526
+ };
527
+ NetworkManager.prototype.disassociateCustomerGateway = function (args, optionsOrCb, cb) {
528
+ var command = new DisassociateCustomerGatewayCommand(args);
524
529
  if (typeof optionsOrCb === "function") {
525
530
  this.send(command, optionsOrCb);
526
531
  }
527
532
  else if (typeof cb === "function") {
528
533
  if (typeof optionsOrCb !== "object")
529
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
534
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
530
535
  this.send(command, optionsOrCb || {}, cb);
531
536
  }
532
537
  else {
533
538
  return this.send(command, optionsOrCb);
534
539
  }
535
- }
536
- disassociateLink(args, optionsOrCb, cb) {
537
- const command = new DisassociateLinkCommand(args);
540
+ };
541
+ NetworkManager.prototype.disassociateLink = function (args, optionsOrCb, cb) {
542
+ var command = new DisassociateLinkCommand(args);
538
543
  if (typeof optionsOrCb === "function") {
539
544
  this.send(command, optionsOrCb);
540
545
  }
541
546
  else if (typeof cb === "function") {
542
547
  if (typeof optionsOrCb !== "object")
543
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
548
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
544
549
  this.send(command, optionsOrCb || {}, cb);
545
550
  }
546
551
  else {
547
552
  return this.send(command, optionsOrCb);
548
553
  }
549
- }
550
- disassociateTransitGatewayConnectPeer(args, optionsOrCb, cb) {
551
- const command = new DisassociateTransitGatewayConnectPeerCommand(args);
554
+ };
555
+ NetworkManager.prototype.disassociateTransitGatewayConnectPeer = function (args, optionsOrCb, cb) {
556
+ var command = new DisassociateTransitGatewayConnectPeerCommand(args);
552
557
  if (typeof optionsOrCb === "function") {
553
558
  this.send(command, optionsOrCb);
554
559
  }
555
560
  else if (typeof cb === "function") {
556
561
  if (typeof optionsOrCb !== "object")
557
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
562
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
558
563
  this.send(command, optionsOrCb || {}, cb);
559
564
  }
560
565
  else {
561
566
  return this.send(command, optionsOrCb);
562
567
  }
563
- }
564
- executeCoreNetworkChangeSet(args, optionsOrCb, cb) {
565
- const command = new ExecuteCoreNetworkChangeSetCommand(args);
568
+ };
569
+ NetworkManager.prototype.executeCoreNetworkChangeSet = function (args, optionsOrCb, cb) {
570
+ var command = new ExecuteCoreNetworkChangeSetCommand(args);
566
571
  if (typeof optionsOrCb === "function") {
567
572
  this.send(command, optionsOrCb);
568
573
  }
569
574
  else if (typeof cb === "function") {
570
575
  if (typeof optionsOrCb !== "object")
571
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
576
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
572
577
  this.send(command, optionsOrCb || {}, cb);
573
578
  }
574
579
  else {
575
580
  return this.send(command, optionsOrCb);
576
581
  }
577
- }
578
- getConnectAttachment(args, optionsOrCb, cb) {
579
- const command = new GetConnectAttachmentCommand(args);
582
+ };
583
+ NetworkManager.prototype.getConnectAttachment = function (args, optionsOrCb, cb) {
584
+ var command = new GetConnectAttachmentCommand(args);
580
585
  if (typeof optionsOrCb === "function") {
581
586
  this.send(command, optionsOrCb);
582
587
  }
583
588
  else if (typeof cb === "function") {
584
589
  if (typeof optionsOrCb !== "object")
585
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
590
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
586
591
  this.send(command, optionsOrCb || {}, cb);
587
592
  }
588
593
  else {
589
594
  return this.send(command, optionsOrCb);
590
595
  }
591
- }
592
- getConnections(args, optionsOrCb, cb) {
593
- const command = new GetConnectionsCommand(args);
596
+ };
597
+ NetworkManager.prototype.getConnections = function (args, optionsOrCb, cb) {
598
+ var command = new GetConnectionsCommand(args);
594
599
  if (typeof optionsOrCb === "function") {
595
600
  this.send(command, optionsOrCb);
596
601
  }
597
602
  else if (typeof cb === "function") {
598
603
  if (typeof optionsOrCb !== "object")
599
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
604
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
600
605
  this.send(command, optionsOrCb || {}, cb);
601
606
  }
602
607
  else {
603
608
  return this.send(command, optionsOrCb);
604
609
  }
605
- }
606
- getConnectPeer(args, optionsOrCb, cb) {
607
- const command = new GetConnectPeerCommand(args);
610
+ };
611
+ NetworkManager.prototype.getConnectPeer = function (args, optionsOrCb, cb) {
612
+ var command = new GetConnectPeerCommand(args);
608
613
  if (typeof optionsOrCb === "function") {
609
614
  this.send(command, optionsOrCb);
610
615
  }
611
616
  else if (typeof cb === "function") {
612
617
  if (typeof optionsOrCb !== "object")
613
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
618
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
614
619
  this.send(command, optionsOrCb || {}, cb);
615
620
  }
616
621
  else {
617
622
  return this.send(command, optionsOrCb);
618
623
  }
619
- }
620
- getConnectPeerAssociations(args, optionsOrCb, cb) {
621
- const command = new GetConnectPeerAssociationsCommand(args);
624
+ };
625
+ NetworkManager.prototype.getConnectPeerAssociations = function (args, optionsOrCb, cb) {
626
+ var command = new GetConnectPeerAssociationsCommand(args);
622
627
  if (typeof optionsOrCb === "function") {
623
628
  this.send(command, optionsOrCb);
624
629
  }
625
630
  else if (typeof cb === "function") {
626
631
  if (typeof optionsOrCb !== "object")
627
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
632
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
628
633
  this.send(command, optionsOrCb || {}, cb);
629
634
  }
630
635
  else {
631
636
  return this.send(command, optionsOrCb);
632
637
  }
633
- }
634
- getCoreNetwork(args, optionsOrCb, cb) {
635
- const command = new GetCoreNetworkCommand(args);
638
+ };
639
+ NetworkManager.prototype.getCoreNetwork = function (args, optionsOrCb, cb) {
640
+ var command = new GetCoreNetworkCommand(args);
636
641
  if (typeof optionsOrCb === "function") {
637
642
  this.send(command, optionsOrCb);
638
643
  }
639
644
  else if (typeof cb === "function") {
640
645
  if (typeof optionsOrCb !== "object")
641
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
646
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
642
647
  this.send(command, optionsOrCb || {}, cb);
643
648
  }
644
649
  else {
645
650
  return this.send(command, optionsOrCb);
646
651
  }
647
- }
648
- getCoreNetworkChangeEvents(args, optionsOrCb, cb) {
649
- const command = new GetCoreNetworkChangeEventsCommand(args);
652
+ };
653
+ NetworkManager.prototype.getCoreNetworkChangeEvents = function (args, optionsOrCb, cb) {
654
+ var command = new GetCoreNetworkChangeEventsCommand(args);
650
655
  if (typeof optionsOrCb === "function") {
651
656
  this.send(command, optionsOrCb);
652
657
  }
653
658
  else if (typeof cb === "function") {
654
659
  if (typeof optionsOrCb !== "object")
655
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
660
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
656
661
  this.send(command, optionsOrCb || {}, cb);
657
662
  }
658
663
  else {
659
664
  return this.send(command, optionsOrCb);
660
665
  }
661
- }
662
- getCoreNetworkChangeSet(args, optionsOrCb, cb) {
663
- const command = new GetCoreNetworkChangeSetCommand(args);
666
+ };
667
+ NetworkManager.prototype.getCoreNetworkChangeSet = function (args, optionsOrCb, cb) {
668
+ var command = new GetCoreNetworkChangeSetCommand(args);
664
669
  if (typeof optionsOrCb === "function") {
665
670
  this.send(command, optionsOrCb);
666
671
  }
667
672
  else if (typeof cb === "function") {
668
673
  if (typeof optionsOrCb !== "object")
669
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
674
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
670
675
  this.send(command, optionsOrCb || {}, cb);
671
676
  }
672
677
  else {
673
678
  return this.send(command, optionsOrCb);
674
679
  }
675
- }
676
- getCoreNetworkPolicy(args, optionsOrCb, cb) {
677
- const command = new GetCoreNetworkPolicyCommand(args);
680
+ };
681
+ NetworkManager.prototype.getCoreNetworkPolicy = function (args, optionsOrCb, cb) {
682
+ var command = new GetCoreNetworkPolicyCommand(args);
678
683
  if (typeof optionsOrCb === "function") {
679
684
  this.send(command, optionsOrCb);
680
685
  }
681
686
  else if (typeof cb === "function") {
682
687
  if (typeof optionsOrCb !== "object")
683
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
688
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
684
689
  this.send(command, optionsOrCb || {}, cb);
685
690
  }
686
691
  else {
687
692
  return this.send(command, optionsOrCb);
688
693
  }
689
- }
690
- getCustomerGatewayAssociations(args, optionsOrCb, cb) {
691
- const command = new GetCustomerGatewayAssociationsCommand(args);
694
+ };
695
+ NetworkManager.prototype.getCustomerGatewayAssociations = function (args, optionsOrCb, cb) {
696
+ var command = new GetCustomerGatewayAssociationsCommand(args);
692
697
  if (typeof optionsOrCb === "function") {
693
698
  this.send(command, optionsOrCb);
694
699
  }
695
700
  else if (typeof cb === "function") {
696
701
  if (typeof optionsOrCb !== "object")
697
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
702
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
698
703
  this.send(command, optionsOrCb || {}, cb);
699
704
  }
700
705
  else {
701
706
  return this.send(command, optionsOrCb);
702
707
  }
703
- }
704
- getDevices(args, optionsOrCb, cb) {
705
- const command = new GetDevicesCommand(args);
708
+ };
709
+ NetworkManager.prototype.getDevices = function (args, optionsOrCb, cb) {
710
+ var command = new GetDevicesCommand(args);
706
711
  if (typeof optionsOrCb === "function") {
707
712
  this.send(command, optionsOrCb);
708
713
  }
709
714
  else if (typeof cb === "function") {
710
715
  if (typeof optionsOrCb !== "object")
711
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
716
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
712
717
  this.send(command, optionsOrCb || {}, cb);
713
718
  }
714
719
  else {
715
720
  return this.send(command, optionsOrCb);
716
721
  }
717
- }
718
- getLinkAssociations(args, optionsOrCb, cb) {
719
- const command = new GetLinkAssociationsCommand(args);
722
+ };
723
+ NetworkManager.prototype.getLinkAssociations = function (args, optionsOrCb, cb) {
724
+ var command = new GetLinkAssociationsCommand(args);
720
725
  if (typeof optionsOrCb === "function") {
721
726
  this.send(command, optionsOrCb);
722
727
  }
723
728
  else if (typeof cb === "function") {
724
729
  if (typeof optionsOrCb !== "object")
725
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
730
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
726
731
  this.send(command, optionsOrCb || {}, cb);
727
732
  }
728
733
  else {
729
734
  return this.send(command, optionsOrCb);
730
735
  }
731
- }
732
- getLinks(args, optionsOrCb, cb) {
733
- const command = new GetLinksCommand(args);
736
+ };
737
+ NetworkManager.prototype.getLinks = function (args, optionsOrCb, cb) {
738
+ var command = new GetLinksCommand(args);
734
739
  if (typeof optionsOrCb === "function") {
735
740
  this.send(command, optionsOrCb);
736
741
  }
737
742
  else if (typeof cb === "function") {
738
743
  if (typeof optionsOrCb !== "object")
739
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
744
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
740
745
  this.send(command, optionsOrCb || {}, cb);
741
746
  }
742
747
  else {
743
748
  return this.send(command, optionsOrCb);
744
749
  }
745
- }
746
- getNetworkResourceCounts(args, optionsOrCb, cb) {
747
- const command = new GetNetworkResourceCountsCommand(args);
750
+ };
751
+ NetworkManager.prototype.getNetworkResourceCounts = function (args, optionsOrCb, cb) {
752
+ var command = new GetNetworkResourceCountsCommand(args);
748
753
  if (typeof optionsOrCb === "function") {
749
754
  this.send(command, optionsOrCb);
750
755
  }
751
756
  else if (typeof cb === "function") {
752
757
  if (typeof optionsOrCb !== "object")
753
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
758
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
754
759
  this.send(command, optionsOrCb || {}, cb);
755
760
  }
756
761
  else {
757
762
  return this.send(command, optionsOrCb);
758
763
  }
759
- }
760
- getNetworkResourceRelationships(args, optionsOrCb, cb) {
761
- const command = new GetNetworkResourceRelationshipsCommand(args);
764
+ };
765
+ NetworkManager.prototype.getNetworkResourceRelationships = function (args, optionsOrCb, cb) {
766
+ var command = new GetNetworkResourceRelationshipsCommand(args);
762
767
  if (typeof optionsOrCb === "function") {
763
768
  this.send(command, optionsOrCb);
764
769
  }
765
770
  else if (typeof cb === "function") {
766
771
  if (typeof optionsOrCb !== "object")
767
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
772
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
768
773
  this.send(command, optionsOrCb || {}, cb);
769
774
  }
770
775
  else {
771
776
  return this.send(command, optionsOrCb);
772
777
  }
773
- }
774
- getNetworkResources(args, optionsOrCb, cb) {
775
- const command = new GetNetworkResourcesCommand(args);
778
+ };
779
+ NetworkManager.prototype.getNetworkResources = function (args, optionsOrCb, cb) {
780
+ var command = new GetNetworkResourcesCommand(args);
776
781
  if (typeof optionsOrCb === "function") {
777
782
  this.send(command, optionsOrCb);
778
783
  }
779
784
  else if (typeof cb === "function") {
780
785
  if (typeof optionsOrCb !== "object")
781
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
786
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
782
787
  this.send(command, optionsOrCb || {}, cb);
783
788
  }
784
789
  else {
785
790
  return this.send(command, optionsOrCb);
786
791
  }
787
- }
788
- getNetworkRoutes(args, optionsOrCb, cb) {
789
- const command = new GetNetworkRoutesCommand(args);
792
+ };
793
+ NetworkManager.prototype.getNetworkRoutes = function (args, optionsOrCb, cb) {
794
+ var command = new GetNetworkRoutesCommand(args);
790
795
  if (typeof optionsOrCb === "function") {
791
796
  this.send(command, optionsOrCb);
792
797
  }
793
798
  else if (typeof cb === "function") {
794
799
  if (typeof optionsOrCb !== "object")
795
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
800
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
796
801
  this.send(command, optionsOrCb || {}, cb);
797
802
  }
798
803
  else {
799
804
  return this.send(command, optionsOrCb);
800
805
  }
801
- }
802
- getNetworkTelemetry(args, optionsOrCb, cb) {
803
- const command = new GetNetworkTelemetryCommand(args);
806
+ };
807
+ NetworkManager.prototype.getNetworkTelemetry = function (args, optionsOrCb, cb) {
808
+ var command = new GetNetworkTelemetryCommand(args);
804
809
  if (typeof optionsOrCb === "function") {
805
810
  this.send(command, optionsOrCb);
806
811
  }
807
812
  else if (typeof cb === "function") {
808
813
  if (typeof optionsOrCb !== "object")
809
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
814
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
810
815
  this.send(command, optionsOrCb || {}, cb);
811
816
  }
812
817
  else {
813
818
  return this.send(command, optionsOrCb);
814
819
  }
815
- }
816
- getResourcePolicy(args, optionsOrCb, cb) {
817
- const command = new GetResourcePolicyCommand(args);
820
+ };
821
+ NetworkManager.prototype.getResourcePolicy = function (args, optionsOrCb, cb) {
822
+ var command = new GetResourcePolicyCommand(args);
818
823
  if (typeof optionsOrCb === "function") {
819
824
  this.send(command, optionsOrCb);
820
825
  }
821
826
  else if (typeof cb === "function") {
822
827
  if (typeof optionsOrCb !== "object")
823
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
828
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
824
829
  this.send(command, optionsOrCb || {}, cb);
825
830
  }
826
831
  else {
827
832
  return this.send(command, optionsOrCb);
828
833
  }
829
- }
830
- getRouteAnalysis(args, optionsOrCb, cb) {
831
- const command = new GetRouteAnalysisCommand(args);
834
+ };
835
+ NetworkManager.prototype.getRouteAnalysis = function (args, optionsOrCb, cb) {
836
+ var command = new GetRouteAnalysisCommand(args);
832
837
  if (typeof optionsOrCb === "function") {
833
838
  this.send(command, optionsOrCb);
834
839
  }
835
840
  else if (typeof cb === "function") {
836
841
  if (typeof optionsOrCb !== "object")
837
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
842
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
838
843
  this.send(command, optionsOrCb || {}, cb);
839
844
  }
840
845
  else {
841
846
  return this.send(command, optionsOrCb);
842
847
  }
843
- }
844
- getSites(args, optionsOrCb, cb) {
845
- const command = new GetSitesCommand(args);
848
+ };
849
+ NetworkManager.prototype.getSites = function (args, optionsOrCb, cb) {
850
+ var command = new GetSitesCommand(args);
846
851
  if (typeof optionsOrCb === "function") {
847
852
  this.send(command, optionsOrCb);
848
853
  }
849
854
  else if (typeof cb === "function") {
850
855
  if (typeof optionsOrCb !== "object")
851
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
856
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
852
857
  this.send(command, optionsOrCb || {}, cb);
853
858
  }
854
859
  else {
855
860
  return this.send(command, optionsOrCb);
856
861
  }
857
- }
858
- getSiteToSiteVpnAttachment(args, optionsOrCb, cb) {
859
- const command = new GetSiteToSiteVpnAttachmentCommand(args);
862
+ };
863
+ NetworkManager.prototype.getSiteToSiteVpnAttachment = function (args, optionsOrCb, cb) {
864
+ var command = new GetSiteToSiteVpnAttachmentCommand(args);
860
865
  if (typeof optionsOrCb === "function") {
861
866
  this.send(command, optionsOrCb);
862
867
  }
863
868
  else if (typeof cb === "function") {
864
869
  if (typeof optionsOrCb !== "object")
865
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
870
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
866
871
  this.send(command, optionsOrCb || {}, cb);
867
872
  }
868
873
  else {
869
874
  return this.send(command, optionsOrCb);
870
875
  }
871
- }
872
- getTransitGatewayConnectPeerAssociations(args, optionsOrCb, cb) {
873
- const command = new GetTransitGatewayConnectPeerAssociationsCommand(args);
876
+ };
877
+ NetworkManager.prototype.getTransitGatewayConnectPeerAssociations = function (args, optionsOrCb, cb) {
878
+ var command = new GetTransitGatewayConnectPeerAssociationsCommand(args);
874
879
  if (typeof optionsOrCb === "function") {
875
880
  this.send(command, optionsOrCb);
876
881
  }
877
882
  else if (typeof cb === "function") {
878
883
  if (typeof optionsOrCb !== "object")
879
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
884
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
880
885
  this.send(command, optionsOrCb || {}, cb);
881
886
  }
882
887
  else {
883
888
  return this.send(command, optionsOrCb);
884
889
  }
885
- }
886
- getTransitGatewayPeering(args, optionsOrCb, cb) {
887
- const command = new GetTransitGatewayPeeringCommand(args);
890
+ };
891
+ NetworkManager.prototype.getTransitGatewayPeering = function (args, optionsOrCb, cb) {
892
+ var command = new GetTransitGatewayPeeringCommand(args);
888
893
  if (typeof optionsOrCb === "function") {
889
894
  this.send(command, optionsOrCb);
890
895
  }
891
896
  else if (typeof cb === "function") {
892
897
  if (typeof optionsOrCb !== "object")
893
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
898
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
894
899
  this.send(command, optionsOrCb || {}, cb);
895
900
  }
896
901
  else {
897
902
  return this.send(command, optionsOrCb);
898
903
  }
899
- }
900
- getTransitGatewayRegistrations(args, optionsOrCb, cb) {
901
- const command = new GetTransitGatewayRegistrationsCommand(args);
904
+ };
905
+ NetworkManager.prototype.getTransitGatewayRegistrations = function (args, optionsOrCb, cb) {
906
+ var command = new GetTransitGatewayRegistrationsCommand(args);
902
907
  if (typeof optionsOrCb === "function") {
903
908
  this.send(command, optionsOrCb);
904
909
  }
905
910
  else if (typeof cb === "function") {
906
911
  if (typeof optionsOrCb !== "object")
907
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
912
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
908
913
  this.send(command, optionsOrCb || {}, cb);
909
914
  }
910
915
  else {
911
916
  return this.send(command, optionsOrCb);
912
917
  }
913
- }
914
- getTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
915
- const command = new GetTransitGatewayRouteTableAttachmentCommand(args);
918
+ };
919
+ NetworkManager.prototype.getTransitGatewayRouteTableAttachment = function (args, optionsOrCb, cb) {
920
+ var command = new GetTransitGatewayRouteTableAttachmentCommand(args);
916
921
  if (typeof optionsOrCb === "function") {
917
922
  this.send(command, optionsOrCb);
918
923
  }
919
924
  else if (typeof cb === "function") {
920
925
  if (typeof optionsOrCb !== "object")
921
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
926
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
922
927
  this.send(command, optionsOrCb || {}, cb);
923
928
  }
924
929
  else {
925
930
  return this.send(command, optionsOrCb);
926
931
  }
927
- }
928
- getVpcAttachment(args, optionsOrCb, cb) {
929
- const command = new GetVpcAttachmentCommand(args);
932
+ };
933
+ NetworkManager.prototype.getVpcAttachment = function (args, optionsOrCb, cb) {
934
+ var command = new GetVpcAttachmentCommand(args);
930
935
  if (typeof optionsOrCb === "function") {
931
936
  this.send(command, optionsOrCb);
932
937
  }
933
938
  else if (typeof cb === "function") {
934
939
  if (typeof optionsOrCb !== "object")
935
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
940
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
936
941
  this.send(command, optionsOrCb || {}, cb);
937
942
  }
938
943
  else {
939
944
  return this.send(command, optionsOrCb);
940
945
  }
941
- }
942
- listAttachments(args, optionsOrCb, cb) {
943
- const command = new ListAttachmentsCommand(args);
946
+ };
947
+ NetworkManager.prototype.listAttachments = function (args, optionsOrCb, cb) {
948
+ var command = new ListAttachmentsCommand(args);
944
949
  if (typeof optionsOrCb === "function") {
945
950
  this.send(command, optionsOrCb);
946
951
  }
947
952
  else if (typeof cb === "function") {
948
953
  if (typeof optionsOrCb !== "object")
949
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
954
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
950
955
  this.send(command, optionsOrCb || {}, cb);
951
956
  }
952
957
  else {
953
958
  return this.send(command, optionsOrCb);
954
959
  }
955
- }
956
- listConnectPeers(args, optionsOrCb, cb) {
957
- const command = new ListConnectPeersCommand(args);
960
+ };
961
+ NetworkManager.prototype.listConnectPeers = function (args, optionsOrCb, cb) {
962
+ var command = new ListConnectPeersCommand(args);
958
963
  if (typeof optionsOrCb === "function") {
959
964
  this.send(command, optionsOrCb);
960
965
  }
961
966
  else if (typeof cb === "function") {
962
967
  if (typeof optionsOrCb !== "object")
963
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
968
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
964
969
  this.send(command, optionsOrCb || {}, cb);
965
970
  }
966
971
  else {
967
972
  return this.send(command, optionsOrCb);
968
973
  }
969
- }
970
- listCoreNetworkPolicyVersions(args, optionsOrCb, cb) {
971
- const command = new ListCoreNetworkPolicyVersionsCommand(args);
974
+ };
975
+ NetworkManager.prototype.listCoreNetworkPolicyVersions = function (args, optionsOrCb, cb) {
976
+ var command = new ListCoreNetworkPolicyVersionsCommand(args);
972
977
  if (typeof optionsOrCb === "function") {
973
978
  this.send(command, optionsOrCb);
974
979
  }
975
980
  else if (typeof cb === "function") {
976
981
  if (typeof optionsOrCb !== "object")
977
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
982
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
978
983
  this.send(command, optionsOrCb || {}, cb);
979
984
  }
980
985
  else {
981
986
  return this.send(command, optionsOrCb);
982
987
  }
983
- }
984
- listCoreNetworks(args, optionsOrCb, cb) {
985
- const command = new ListCoreNetworksCommand(args);
988
+ };
989
+ NetworkManager.prototype.listCoreNetworks = function (args, optionsOrCb, cb) {
990
+ var command = new ListCoreNetworksCommand(args);
986
991
  if (typeof optionsOrCb === "function") {
987
992
  this.send(command, optionsOrCb);
988
993
  }
989
994
  else if (typeof cb === "function") {
990
995
  if (typeof optionsOrCb !== "object")
991
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
992
997
  this.send(command, optionsOrCb || {}, cb);
993
998
  }
994
999
  else {
995
1000
  return this.send(command, optionsOrCb);
996
1001
  }
997
- }
998
- listOrganizationServiceAccessStatus(args, optionsOrCb, cb) {
999
- const command = new ListOrganizationServiceAccessStatusCommand(args);
1002
+ };
1003
+ NetworkManager.prototype.listOrganizationServiceAccessStatus = function (args, optionsOrCb, cb) {
1004
+ var command = new ListOrganizationServiceAccessStatusCommand(args);
1000
1005
  if (typeof optionsOrCb === "function") {
1001
1006
  this.send(command, optionsOrCb);
1002
1007
  }
1003
1008
  else if (typeof cb === "function") {
1004
1009
  if (typeof optionsOrCb !== "object")
1005
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1010
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1006
1011
  this.send(command, optionsOrCb || {}, cb);
1007
1012
  }
1008
1013
  else {
1009
1014
  return this.send(command, optionsOrCb);
1010
1015
  }
1011
- }
1012
- listPeerings(args, optionsOrCb, cb) {
1013
- const command = new ListPeeringsCommand(args);
1016
+ };
1017
+ NetworkManager.prototype.listPeerings = function (args, optionsOrCb, cb) {
1018
+ var command = new ListPeeringsCommand(args);
1014
1019
  if (typeof optionsOrCb === "function") {
1015
1020
  this.send(command, optionsOrCb);
1016
1021
  }
1017
1022
  else if (typeof cb === "function") {
1018
1023
  if (typeof optionsOrCb !== "object")
1019
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1024
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1020
1025
  this.send(command, optionsOrCb || {}, cb);
1021
1026
  }
1022
1027
  else {
1023
1028
  return this.send(command, optionsOrCb);
1024
1029
  }
1025
- }
1026
- listTagsForResource(args, optionsOrCb, cb) {
1027
- const command = new ListTagsForResourceCommand(args);
1030
+ };
1031
+ NetworkManager.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
1032
+ var command = new ListTagsForResourceCommand(args);
1028
1033
  if (typeof optionsOrCb === "function") {
1029
1034
  this.send(command, optionsOrCb);
1030
1035
  }
1031
1036
  else if (typeof cb === "function") {
1032
1037
  if (typeof optionsOrCb !== "object")
1033
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1038
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1034
1039
  this.send(command, optionsOrCb || {}, cb);
1035
1040
  }
1036
1041
  else {
1037
1042
  return this.send(command, optionsOrCb);
1038
1043
  }
1039
- }
1040
- putCoreNetworkPolicy(args, optionsOrCb, cb) {
1041
- const command = new PutCoreNetworkPolicyCommand(args);
1044
+ };
1045
+ NetworkManager.prototype.putCoreNetworkPolicy = function (args, optionsOrCb, cb) {
1046
+ var command = new PutCoreNetworkPolicyCommand(args);
1042
1047
  if (typeof optionsOrCb === "function") {
1043
1048
  this.send(command, optionsOrCb);
1044
1049
  }
1045
1050
  else if (typeof cb === "function") {
1046
1051
  if (typeof optionsOrCb !== "object")
1047
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1052
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1048
1053
  this.send(command, optionsOrCb || {}, cb);
1049
1054
  }
1050
1055
  else {
1051
1056
  return this.send(command, optionsOrCb);
1052
1057
  }
1053
- }
1054
- putResourcePolicy(args, optionsOrCb, cb) {
1055
- const command = new PutResourcePolicyCommand(args);
1058
+ };
1059
+ NetworkManager.prototype.putResourcePolicy = function (args, optionsOrCb, cb) {
1060
+ var command = new PutResourcePolicyCommand(args);
1056
1061
  if (typeof optionsOrCb === "function") {
1057
1062
  this.send(command, optionsOrCb);
1058
1063
  }
1059
1064
  else if (typeof cb === "function") {
1060
1065
  if (typeof optionsOrCb !== "object")
1061
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1066
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1062
1067
  this.send(command, optionsOrCb || {}, cb);
1063
1068
  }
1064
1069
  else {
1065
1070
  return this.send(command, optionsOrCb);
1066
1071
  }
1067
- }
1068
- registerTransitGateway(args, optionsOrCb, cb) {
1069
- const command = new RegisterTransitGatewayCommand(args);
1072
+ };
1073
+ NetworkManager.prototype.registerTransitGateway = function (args, optionsOrCb, cb) {
1074
+ var command = new RegisterTransitGatewayCommand(args);
1070
1075
  if (typeof optionsOrCb === "function") {
1071
1076
  this.send(command, optionsOrCb);
1072
1077
  }
1073
1078
  else if (typeof cb === "function") {
1074
1079
  if (typeof optionsOrCb !== "object")
1075
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1080
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1076
1081
  this.send(command, optionsOrCb || {}, cb);
1077
1082
  }
1078
1083
  else {
1079
1084
  return this.send(command, optionsOrCb);
1080
1085
  }
1081
- }
1082
- rejectAttachment(args, optionsOrCb, cb) {
1083
- const command = new RejectAttachmentCommand(args);
1086
+ };
1087
+ NetworkManager.prototype.rejectAttachment = function (args, optionsOrCb, cb) {
1088
+ var command = new RejectAttachmentCommand(args);
1084
1089
  if (typeof optionsOrCb === "function") {
1085
1090
  this.send(command, optionsOrCb);
1086
1091
  }
1087
1092
  else if (typeof cb === "function") {
1088
1093
  if (typeof optionsOrCb !== "object")
1089
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1094
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1090
1095
  this.send(command, optionsOrCb || {}, cb);
1091
1096
  }
1092
1097
  else {
1093
1098
  return this.send(command, optionsOrCb);
1094
1099
  }
1095
- }
1096
- restoreCoreNetworkPolicyVersion(args, optionsOrCb, cb) {
1097
- const command = new RestoreCoreNetworkPolicyVersionCommand(args);
1100
+ };
1101
+ NetworkManager.prototype.restoreCoreNetworkPolicyVersion = function (args, optionsOrCb, cb) {
1102
+ var command = new RestoreCoreNetworkPolicyVersionCommand(args);
1098
1103
  if (typeof optionsOrCb === "function") {
1099
1104
  this.send(command, optionsOrCb);
1100
1105
  }
1101
1106
  else if (typeof cb === "function") {
1102
1107
  if (typeof optionsOrCb !== "object")
1103
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1108
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1104
1109
  this.send(command, optionsOrCb || {}, cb);
1105
1110
  }
1106
1111
  else {
1107
1112
  return this.send(command, optionsOrCb);
1108
1113
  }
1109
- }
1110
- startOrganizationServiceAccessUpdate(args, optionsOrCb, cb) {
1111
- const command = new StartOrganizationServiceAccessUpdateCommand(args);
1114
+ };
1115
+ NetworkManager.prototype.startOrganizationServiceAccessUpdate = function (args, optionsOrCb, cb) {
1116
+ var command = new StartOrganizationServiceAccessUpdateCommand(args);
1112
1117
  if (typeof optionsOrCb === "function") {
1113
1118
  this.send(command, optionsOrCb);
1114
1119
  }
1115
1120
  else if (typeof cb === "function") {
1116
1121
  if (typeof optionsOrCb !== "object")
1117
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1122
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1118
1123
  this.send(command, optionsOrCb || {}, cb);
1119
1124
  }
1120
1125
  else {
1121
1126
  return this.send(command, optionsOrCb);
1122
1127
  }
1123
- }
1124
- startRouteAnalysis(args, optionsOrCb, cb) {
1125
- const command = new StartRouteAnalysisCommand(args);
1128
+ };
1129
+ NetworkManager.prototype.startRouteAnalysis = function (args, optionsOrCb, cb) {
1130
+ var command = new StartRouteAnalysisCommand(args);
1126
1131
  if (typeof optionsOrCb === "function") {
1127
1132
  this.send(command, optionsOrCb);
1128
1133
  }
1129
1134
  else if (typeof cb === "function") {
1130
1135
  if (typeof optionsOrCb !== "object")
1131
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1136
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1132
1137
  this.send(command, optionsOrCb || {}, cb);
1133
1138
  }
1134
1139
  else {
1135
1140
  return this.send(command, optionsOrCb);
1136
1141
  }
1137
- }
1138
- tagResource(args, optionsOrCb, cb) {
1139
- const command = new TagResourceCommand(args);
1142
+ };
1143
+ NetworkManager.prototype.tagResource = function (args, optionsOrCb, cb) {
1144
+ var command = new TagResourceCommand(args);
1140
1145
  if (typeof optionsOrCb === "function") {
1141
1146
  this.send(command, optionsOrCb);
1142
1147
  }
1143
1148
  else if (typeof cb === "function") {
1144
1149
  if (typeof optionsOrCb !== "object")
1145
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1150
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1146
1151
  this.send(command, optionsOrCb || {}, cb);
1147
1152
  }
1148
1153
  else {
1149
1154
  return this.send(command, optionsOrCb);
1150
1155
  }
1151
- }
1152
- untagResource(args, optionsOrCb, cb) {
1153
- const command = new UntagResourceCommand(args);
1156
+ };
1157
+ NetworkManager.prototype.untagResource = function (args, optionsOrCb, cb) {
1158
+ var command = new UntagResourceCommand(args);
1154
1159
  if (typeof optionsOrCb === "function") {
1155
1160
  this.send(command, optionsOrCb);
1156
1161
  }
1157
1162
  else if (typeof cb === "function") {
1158
1163
  if (typeof optionsOrCb !== "object")
1159
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1164
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1160
1165
  this.send(command, optionsOrCb || {}, cb);
1161
1166
  }
1162
1167
  else {
1163
1168
  return this.send(command, optionsOrCb);
1164
1169
  }
1165
- }
1166
- updateConnection(args, optionsOrCb, cb) {
1167
- const command = new UpdateConnectionCommand(args);
1170
+ };
1171
+ NetworkManager.prototype.updateConnection = function (args, optionsOrCb, cb) {
1172
+ var command = new UpdateConnectionCommand(args);
1168
1173
  if (typeof optionsOrCb === "function") {
1169
1174
  this.send(command, optionsOrCb);
1170
1175
  }
1171
1176
  else if (typeof cb === "function") {
1172
1177
  if (typeof optionsOrCb !== "object")
1173
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1178
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1174
1179
  this.send(command, optionsOrCb || {}, cb);
1175
1180
  }
1176
1181
  else {
1177
1182
  return this.send(command, optionsOrCb);
1178
1183
  }
1179
- }
1180
- updateCoreNetwork(args, optionsOrCb, cb) {
1181
- const command = new UpdateCoreNetworkCommand(args);
1184
+ };
1185
+ NetworkManager.prototype.updateCoreNetwork = function (args, optionsOrCb, cb) {
1186
+ var command = new UpdateCoreNetworkCommand(args);
1182
1187
  if (typeof optionsOrCb === "function") {
1183
1188
  this.send(command, optionsOrCb);
1184
1189
  }
1185
1190
  else if (typeof cb === "function") {
1186
1191
  if (typeof optionsOrCb !== "object")
1187
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1192
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1188
1193
  this.send(command, optionsOrCb || {}, cb);
1189
1194
  }
1190
1195
  else {
1191
1196
  return this.send(command, optionsOrCb);
1192
1197
  }
1193
- }
1194
- updateDevice(args, optionsOrCb, cb) {
1195
- const command = new UpdateDeviceCommand(args);
1198
+ };
1199
+ NetworkManager.prototype.updateDevice = function (args, optionsOrCb, cb) {
1200
+ var command = new UpdateDeviceCommand(args);
1196
1201
  if (typeof optionsOrCb === "function") {
1197
1202
  this.send(command, optionsOrCb);
1198
1203
  }
1199
1204
  else if (typeof cb === "function") {
1200
1205
  if (typeof optionsOrCb !== "object")
1201
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1206
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1202
1207
  this.send(command, optionsOrCb || {}, cb);
1203
1208
  }
1204
1209
  else {
1205
1210
  return this.send(command, optionsOrCb);
1206
1211
  }
1207
- }
1208
- updateGlobalNetwork(args, optionsOrCb, cb) {
1209
- const command = new UpdateGlobalNetworkCommand(args);
1212
+ };
1213
+ NetworkManager.prototype.updateGlobalNetwork = function (args, optionsOrCb, cb) {
1214
+ var command = new UpdateGlobalNetworkCommand(args);
1210
1215
  if (typeof optionsOrCb === "function") {
1211
1216
  this.send(command, optionsOrCb);
1212
1217
  }
1213
1218
  else if (typeof cb === "function") {
1214
1219
  if (typeof optionsOrCb !== "object")
1215
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1220
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1216
1221
  this.send(command, optionsOrCb || {}, cb);
1217
1222
  }
1218
1223
  else {
1219
1224
  return this.send(command, optionsOrCb);
1220
1225
  }
1221
- }
1222
- updateLink(args, optionsOrCb, cb) {
1223
- const command = new UpdateLinkCommand(args);
1226
+ };
1227
+ NetworkManager.prototype.updateLink = function (args, optionsOrCb, cb) {
1228
+ var command = new UpdateLinkCommand(args);
1224
1229
  if (typeof optionsOrCb === "function") {
1225
1230
  this.send(command, optionsOrCb);
1226
1231
  }
1227
1232
  else if (typeof cb === "function") {
1228
1233
  if (typeof optionsOrCb !== "object")
1229
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1234
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1230
1235
  this.send(command, optionsOrCb || {}, cb);
1231
1236
  }
1232
1237
  else {
1233
1238
  return this.send(command, optionsOrCb);
1234
1239
  }
1235
- }
1236
- updateNetworkResourceMetadata(args, optionsOrCb, cb) {
1237
- const command = new UpdateNetworkResourceMetadataCommand(args);
1240
+ };
1241
+ NetworkManager.prototype.updateNetworkResourceMetadata = function (args, optionsOrCb, cb) {
1242
+ var command = new UpdateNetworkResourceMetadataCommand(args);
1238
1243
  if (typeof optionsOrCb === "function") {
1239
1244
  this.send(command, optionsOrCb);
1240
1245
  }
1241
1246
  else if (typeof cb === "function") {
1242
1247
  if (typeof optionsOrCb !== "object")
1243
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1248
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1244
1249
  this.send(command, optionsOrCb || {}, cb);
1245
1250
  }
1246
1251
  else {
1247
1252
  return this.send(command, optionsOrCb);
1248
1253
  }
1249
- }
1250
- updateSite(args, optionsOrCb, cb) {
1251
- const command = new UpdateSiteCommand(args);
1254
+ };
1255
+ NetworkManager.prototype.updateSite = function (args, optionsOrCb, cb) {
1256
+ var command = new UpdateSiteCommand(args);
1252
1257
  if (typeof optionsOrCb === "function") {
1253
1258
  this.send(command, optionsOrCb);
1254
1259
  }
1255
1260
  else if (typeof cb === "function") {
1256
1261
  if (typeof optionsOrCb !== "object")
1257
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1262
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1258
1263
  this.send(command, optionsOrCb || {}, cb);
1259
1264
  }
1260
1265
  else {
1261
1266
  return this.send(command, optionsOrCb);
1262
1267
  }
1263
- }
1264
- updateVpcAttachment(args, optionsOrCb, cb) {
1265
- const command = new UpdateVpcAttachmentCommand(args);
1268
+ };
1269
+ NetworkManager.prototype.updateVpcAttachment = function (args, optionsOrCb, cb) {
1270
+ var command = new UpdateVpcAttachmentCommand(args);
1266
1271
  if (typeof optionsOrCb === "function") {
1267
1272
  this.send(command, optionsOrCb);
1268
1273
  }
1269
1274
  else if (typeof cb === "function") {
1270
1275
  if (typeof optionsOrCb !== "object")
1271
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1276
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1272
1277
  this.send(command, optionsOrCb || {}, cb);
1273
1278
  }
1274
1279
  else {
1275
1280
  return this.send(command, optionsOrCb);
1276
1281
  }
1277
- }
1278
- }
1282
+ };
1283
+ return NetworkManager;
1284
+ }(NetworkManagerClient));
1285
+ export { NetworkManager };