@aws-sdk/client-networkmonitor 3.986.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -478
- package/dist-cjs/models/NetworkMonitorServiceException.js +12 -0
- package/dist-cjs/models/errors.js +99 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +327 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +53 -47
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var NetworkMonitorServiceException = require('./models/NetworkMonitorServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,416 +113,6 @@ class NetworkMonitorClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class NetworkMonitorServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, NetworkMonitorServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends NetworkMonitorServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ConflictException extends NetworkMonitorServiceException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "ConflictException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class InternalServerException extends NetworkMonitorServiceException {
|
|
145
|
-
name = "InternalServerException";
|
|
146
|
-
$fault = "server";
|
|
147
|
-
$retryable = {};
|
|
148
|
-
constructor(opts) {
|
|
149
|
-
super({
|
|
150
|
-
name: "InternalServerException",
|
|
151
|
-
$fault: "server",
|
|
152
|
-
...opts,
|
|
153
|
-
});
|
|
154
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
class ServiceQuotaExceededException extends NetworkMonitorServiceException {
|
|
158
|
-
name = "ServiceQuotaExceededException";
|
|
159
|
-
$fault = "client";
|
|
160
|
-
constructor(opts) {
|
|
161
|
-
super({
|
|
162
|
-
name: "ServiceQuotaExceededException",
|
|
163
|
-
$fault: "client",
|
|
164
|
-
...opts,
|
|
165
|
-
});
|
|
166
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
class ThrottlingException extends NetworkMonitorServiceException {
|
|
170
|
-
name = "ThrottlingException";
|
|
171
|
-
$fault = "client";
|
|
172
|
-
$retryable = {
|
|
173
|
-
throttling: true,
|
|
174
|
-
};
|
|
175
|
-
constructor(opts) {
|
|
176
|
-
super({
|
|
177
|
-
name: "ThrottlingException",
|
|
178
|
-
$fault: "client",
|
|
179
|
-
...opts,
|
|
180
|
-
});
|
|
181
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
class ValidationException extends NetworkMonitorServiceException {
|
|
185
|
-
name = "ValidationException";
|
|
186
|
-
$fault = "client";
|
|
187
|
-
constructor(opts) {
|
|
188
|
-
super({
|
|
189
|
-
name: "ValidationException",
|
|
190
|
-
$fault: "client",
|
|
191
|
-
...opts,
|
|
192
|
-
});
|
|
193
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
class ResourceNotFoundException extends NetworkMonitorServiceException {
|
|
197
|
-
name = "ResourceNotFoundException";
|
|
198
|
-
$fault = "client";
|
|
199
|
-
constructor(opts) {
|
|
200
|
-
super({
|
|
201
|
-
name: "ResourceNotFoundException",
|
|
202
|
-
$fault: "client",
|
|
203
|
-
...opts,
|
|
204
|
-
});
|
|
205
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
const _ADE = "AccessDeniedException";
|
|
210
|
-
const _CE = "ConflictException";
|
|
211
|
-
const _CM = "CreateMonitor";
|
|
212
|
-
const _CMI = "CreateMonitorInput";
|
|
213
|
-
const _CMO = "CreateMonitorOutput";
|
|
214
|
-
const _CMPI = "CreateMonitorProbeInput";
|
|
215
|
-
const _CMPIL = "CreateMonitorProbeInputList";
|
|
216
|
-
const _CP = "CreateProbe";
|
|
217
|
-
const _CPI = "CreateProbeInput";
|
|
218
|
-
const _CPO = "CreateProbeOutput";
|
|
219
|
-
const _DM = "DeleteMonitor";
|
|
220
|
-
const _DMI = "DeleteMonitorInput";
|
|
221
|
-
const _DMO = "DeleteMonitorOutput";
|
|
222
|
-
const _DP = "DeleteProbe";
|
|
223
|
-
const _DPI = "DeleteProbeInput";
|
|
224
|
-
const _DPO = "DeleteProbeOutput";
|
|
225
|
-
const _GM = "GetMonitor";
|
|
226
|
-
const _GMI = "GetMonitorInput";
|
|
227
|
-
const _GMO = "GetMonitorOutput";
|
|
228
|
-
const _GP = "GetProbe";
|
|
229
|
-
const _GPI = "GetProbeInput";
|
|
230
|
-
const _GPO = "GetProbeOutput";
|
|
231
|
-
const _ISE = "InternalServerException";
|
|
232
|
-
const _LM = "ListMonitors";
|
|
233
|
-
const _LMI = "ListMonitorsInput";
|
|
234
|
-
const _LMO = "ListMonitorsOutput";
|
|
235
|
-
const _LTFR = "ListTagsForResource";
|
|
236
|
-
const _LTFRI = "ListTagsForResourceInput";
|
|
237
|
-
const _LTFRO = "ListTagsForResourceOutput";
|
|
238
|
-
const _ML = "MonitorList";
|
|
239
|
-
const _MS = "MonitorSummary";
|
|
240
|
-
const _P = "Probe";
|
|
241
|
-
const _PI = "ProbeInput";
|
|
242
|
-
const _PL = "ProbeList";
|
|
243
|
-
const _RNFE = "ResourceNotFoundException";
|
|
244
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
245
|
-
const _TE = "ThrottlingException";
|
|
246
|
-
const _TR = "TagResource";
|
|
247
|
-
const _TRI = "TagResourceInput";
|
|
248
|
-
const _TRO = "TagResourceOutput";
|
|
249
|
-
const _UM = "UpdateMonitor";
|
|
250
|
-
const _UMI = "UpdateMonitorInput";
|
|
251
|
-
const _UMO = "UpdateMonitorOutput";
|
|
252
|
-
const _UP = "UpdateProbe";
|
|
253
|
-
const _UPI = "UpdateProbeInput";
|
|
254
|
-
const _UPO = "UpdateProbeOutput";
|
|
255
|
-
const _UR = "UntagResource";
|
|
256
|
-
const _URI = "UntagResourceInput";
|
|
257
|
-
const _URO = "UntagResourceOutput";
|
|
258
|
-
const _VE = "ValidationException";
|
|
259
|
-
const _aF = "addressFamily";
|
|
260
|
-
const _aP = "aggregationPeriod";
|
|
261
|
-
const _c = "client";
|
|
262
|
-
const _cA = "createdAt";
|
|
263
|
-
const _cT = "clientToken";
|
|
264
|
-
const _d = "destination";
|
|
265
|
-
const _dP = "destinationPort";
|
|
266
|
-
const _e = "error";
|
|
267
|
-
const _h = "http";
|
|
268
|
-
const _hE = "httpError";
|
|
269
|
-
const _hQ = "httpQuery";
|
|
270
|
-
const _m = "message";
|
|
271
|
-
const _mA = "monitorArn";
|
|
272
|
-
const _mAo = "modifiedAt";
|
|
273
|
-
const _mN = "monitorName";
|
|
274
|
-
const _mR = "maxResults";
|
|
275
|
-
const _mo = "monitors";
|
|
276
|
-
const _nT = "nextToken";
|
|
277
|
-
const _p = "probes";
|
|
278
|
-
const _pA = "probeArn";
|
|
279
|
-
const _pI = "probeId";
|
|
280
|
-
const _pS = "packetSize";
|
|
281
|
-
const _pT = "probeTags";
|
|
282
|
-
const _pr = "protocol";
|
|
283
|
-
const _pro = "probe";
|
|
284
|
-
const _rA = "resourceArn";
|
|
285
|
-
const _s = "state";
|
|
286
|
-
const _sA = "sourceArn";
|
|
287
|
-
const _se = "server";
|
|
288
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.networkmonitor";
|
|
289
|
-
const _t = "tags";
|
|
290
|
-
const _tK = "tagKeys";
|
|
291
|
-
const _vI = "vpcId";
|
|
292
|
-
const n0 = "com.amazonaws.networkmonitor";
|
|
293
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
294
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
295
|
-
[_m],
|
|
296
|
-
[0]
|
|
297
|
-
];
|
|
298
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
299
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
300
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
301
|
-
[_m],
|
|
302
|
-
[0]
|
|
303
|
-
];
|
|
304
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
305
|
-
var CreateMonitorInput$ = [3, n0, _CMI,
|
|
306
|
-
0,
|
|
307
|
-
[_mN, _p, _aP, _cT, _t],
|
|
308
|
-
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0], 1
|
|
309
|
-
];
|
|
310
|
-
var CreateMonitorOutput$ = [3, n0, _CMO,
|
|
311
|
-
0,
|
|
312
|
-
[_mA, _mN, _s, _aP, _t],
|
|
313
|
-
[0, 0, 0, 1, 128 | 0], 3
|
|
314
|
-
];
|
|
315
|
-
var CreateMonitorProbeInput$ = [3, n0, _CMPI,
|
|
316
|
-
0,
|
|
317
|
-
[_sA, _d, _pr, _dP, _pS, _pT],
|
|
318
|
-
[0, 0, 0, 1, 1, 128 | 0], 3
|
|
319
|
-
];
|
|
320
|
-
var CreateProbeInput$ = [3, n0, _CPI,
|
|
321
|
-
0,
|
|
322
|
-
[_mN, _pro, _cT, _t],
|
|
323
|
-
[[0, 1], () => ProbeInput$, [0, 4], 128 | 0], 2
|
|
324
|
-
];
|
|
325
|
-
var CreateProbeOutput$ = [3, n0, _CPO,
|
|
326
|
-
0,
|
|
327
|
-
[_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
328
|
-
[0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
|
|
329
|
-
];
|
|
330
|
-
var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
331
|
-
0,
|
|
332
|
-
[_mN],
|
|
333
|
-
[[0, 1]], 1
|
|
334
|
-
];
|
|
335
|
-
var DeleteMonitorOutput$ = [3, n0, _DMO,
|
|
336
|
-
0,
|
|
337
|
-
[],
|
|
338
|
-
[]
|
|
339
|
-
];
|
|
340
|
-
var DeleteProbeInput$ = [3, n0, _DPI,
|
|
341
|
-
0,
|
|
342
|
-
[_mN, _pI],
|
|
343
|
-
[[0, 1], [0, 1]], 2
|
|
344
|
-
];
|
|
345
|
-
var DeleteProbeOutput$ = [3, n0, _DPO,
|
|
346
|
-
0,
|
|
347
|
-
[],
|
|
348
|
-
[]
|
|
349
|
-
];
|
|
350
|
-
var GetMonitorInput$ = [3, n0, _GMI,
|
|
351
|
-
0,
|
|
352
|
-
[_mN],
|
|
353
|
-
[[0, 1]], 1
|
|
354
|
-
];
|
|
355
|
-
var GetMonitorOutput$ = [3, n0, _GMO,
|
|
356
|
-
0,
|
|
357
|
-
[_mA, _mN, _s, _aP, _cA, _mAo, _t, _p],
|
|
358
|
-
[0, 0, 0, 1, 4, 4, 128 | 0, () => ProbeList], 6
|
|
359
|
-
];
|
|
360
|
-
var GetProbeInput$ = [3, n0, _GPI,
|
|
361
|
-
0,
|
|
362
|
-
[_mN, _pI],
|
|
363
|
-
[[0, 1], [0, 1]], 2
|
|
364
|
-
];
|
|
365
|
-
var GetProbeOutput$ = [3, n0, _GPO,
|
|
366
|
-
0,
|
|
367
|
-
[_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
368
|
-
[0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
|
|
369
|
-
];
|
|
370
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
371
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
372
|
-
[_m],
|
|
373
|
-
[0]
|
|
374
|
-
];
|
|
375
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
376
|
-
var ListMonitorsInput$ = [3, n0, _LMI,
|
|
377
|
-
0,
|
|
378
|
-
[_nT, _mR, _s],
|
|
379
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _s }]]
|
|
380
|
-
];
|
|
381
|
-
var ListMonitorsOutput$ = [3, n0, _LMO,
|
|
382
|
-
0,
|
|
383
|
-
[_mo, _nT],
|
|
384
|
-
[() => MonitorList, 0], 1
|
|
385
|
-
];
|
|
386
|
-
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
387
|
-
0,
|
|
388
|
-
[_rA],
|
|
389
|
-
[[0, 1]], 1
|
|
390
|
-
];
|
|
391
|
-
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
392
|
-
0,
|
|
393
|
-
[_t],
|
|
394
|
-
[128 | 0]
|
|
395
|
-
];
|
|
396
|
-
var MonitorSummary$ = [3, n0, _MS,
|
|
397
|
-
0,
|
|
398
|
-
[_mA, _mN, _s, _aP, _t],
|
|
399
|
-
[0, 0, 0, 1, 128 | 0], 3
|
|
400
|
-
];
|
|
401
|
-
var Probe$ = [3, n0, _P,
|
|
402
|
-
0,
|
|
403
|
-
[_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
404
|
-
[0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
|
|
405
|
-
];
|
|
406
|
-
var ProbeInput$ = [3, n0, _PI,
|
|
407
|
-
0,
|
|
408
|
-
[_sA, _d, _pr, _dP, _pS, _t],
|
|
409
|
-
[0, 0, 0, 1, 1, 128 | 0], 3
|
|
410
|
-
];
|
|
411
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
412
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
413
|
-
[_m],
|
|
414
|
-
[0]
|
|
415
|
-
];
|
|
416
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
417
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
418
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
419
|
-
[_m],
|
|
420
|
-
[0]
|
|
421
|
-
];
|
|
422
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
423
|
-
var TagResourceInput$ = [3, n0, _TRI,
|
|
424
|
-
0,
|
|
425
|
-
[_rA, _t],
|
|
426
|
-
[[0, 1], 128 | 0], 2
|
|
427
|
-
];
|
|
428
|
-
var TagResourceOutput$ = [3, n0, _TRO,
|
|
429
|
-
0,
|
|
430
|
-
[],
|
|
431
|
-
[]
|
|
432
|
-
];
|
|
433
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
434
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
435
|
-
[_m],
|
|
436
|
-
[0]
|
|
437
|
-
];
|
|
438
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
439
|
-
var UntagResourceInput$ = [3, n0, _URI,
|
|
440
|
-
0,
|
|
441
|
-
[_rA, _tK],
|
|
442
|
-
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
443
|
-
];
|
|
444
|
-
var UntagResourceOutput$ = [3, n0, _URO,
|
|
445
|
-
0,
|
|
446
|
-
[],
|
|
447
|
-
[]
|
|
448
|
-
];
|
|
449
|
-
var UpdateMonitorInput$ = [3, n0, _UMI,
|
|
450
|
-
0,
|
|
451
|
-
[_mN, _aP],
|
|
452
|
-
[[0, 1], 1], 2
|
|
453
|
-
];
|
|
454
|
-
var UpdateMonitorOutput$ = [3, n0, _UMO,
|
|
455
|
-
0,
|
|
456
|
-
[_mA, _mN, _s, _aP, _t],
|
|
457
|
-
[0, 0, 0, 1, 128 | 0], 3
|
|
458
|
-
];
|
|
459
|
-
var UpdateProbeInput$ = [3, n0, _UPI,
|
|
460
|
-
0,
|
|
461
|
-
[_mN, _pI, _s, _d, _dP, _pr, _pS],
|
|
462
|
-
[[0, 1], [0, 1], 0, 0, 1, 0, 1], 2
|
|
463
|
-
];
|
|
464
|
-
var UpdateProbeOutput$ = [3, n0, _UPO,
|
|
465
|
-
0,
|
|
466
|
-
[_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
467
|
-
[0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
|
|
468
|
-
];
|
|
469
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
470
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
471
|
-
[_m],
|
|
472
|
-
[0]
|
|
473
|
-
];
|
|
474
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
475
|
-
var NetworkMonitorServiceException$ = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
|
|
476
|
-
schema.TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException$, NetworkMonitorServiceException);
|
|
477
|
-
var CreateMonitorProbeInputList = [1, n0, _CMPIL,
|
|
478
|
-
0, () => CreateMonitorProbeInput$
|
|
479
|
-
];
|
|
480
|
-
var MonitorList = [1, n0, _ML,
|
|
481
|
-
0, () => MonitorSummary$
|
|
482
|
-
];
|
|
483
|
-
var ProbeList = [1, n0, _PL,
|
|
484
|
-
0, () => Probe$
|
|
485
|
-
];
|
|
486
|
-
var CreateMonitor$ = [9, n0, _CM,
|
|
487
|
-
{ [_h]: ["POST", "/monitors", 200] }, () => CreateMonitorInput$, () => CreateMonitorOutput$
|
|
488
|
-
];
|
|
489
|
-
var CreateProbe$ = [9, n0, _CP,
|
|
490
|
-
{ [_h]: ["POST", "/monitors/{monitorName}/probes", 200] }, () => CreateProbeInput$, () => CreateProbeOutput$
|
|
491
|
-
];
|
|
492
|
-
var DeleteMonitor$ = [9, n0, _DM,
|
|
493
|
-
{ [_h]: ["DELETE", "/monitors/{monitorName}", 200] }, () => DeleteMonitorInput$, () => DeleteMonitorOutput$
|
|
494
|
-
];
|
|
495
|
-
var DeleteProbe$ = [9, n0, _DP,
|
|
496
|
-
{ [_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => DeleteProbeInput$, () => DeleteProbeOutput$
|
|
497
|
-
];
|
|
498
|
-
var GetMonitor$ = [9, n0, _GM,
|
|
499
|
-
{ [_h]: ["GET", "/monitors/{monitorName}", 200] }, () => GetMonitorInput$, () => GetMonitorOutput$
|
|
500
|
-
];
|
|
501
|
-
var GetProbe$ = [9, n0, _GP,
|
|
502
|
-
{ [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => GetProbeInput$, () => GetProbeOutput$
|
|
503
|
-
];
|
|
504
|
-
var ListMonitors$ = [9, n0, _LM,
|
|
505
|
-
{ [_h]: ["GET", "/monitors", 200] }, () => ListMonitorsInput$, () => ListMonitorsOutput$
|
|
506
|
-
];
|
|
507
|
-
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
508
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
509
|
-
];
|
|
510
|
-
var TagResource$ = [9, n0, _TR,
|
|
511
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
512
|
-
];
|
|
513
|
-
var UntagResource$ = [9, n0, _UR,
|
|
514
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
515
|
-
];
|
|
516
|
-
var UpdateMonitor$ = [9, n0, _UM,
|
|
517
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}", 200] }, () => UpdateMonitorInput$, () => UpdateMonitorOutput$
|
|
518
|
-
];
|
|
519
|
-
var UpdateProbe$ = [9, n0, _UP,
|
|
520
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => UpdateProbeInput$, () => UpdateProbeOutput$
|
|
521
|
-
];
|
|
522
|
-
|
|
523
116
|
class CreateMonitorCommand extends smithyClient.Command
|
|
524
117
|
.classBuilder()
|
|
525
118
|
.ep(commonParams)
|
|
@@ -528,7 +121,7 @@ class CreateMonitorCommand extends smithyClient.Command
|
|
|
528
121
|
})
|
|
529
122
|
.s("NetworkMonitor", "CreateMonitor", {})
|
|
530
123
|
.n("NetworkMonitorClient", "CreateMonitorCommand")
|
|
531
|
-
.sc(CreateMonitor$)
|
|
124
|
+
.sc(schemas_0.CreateMonitor$)
|
|
532
125
|
.build() {
|
|
533
126
|
}
|
|
534
127
|
|
|
@@ -540,7 +133,7 @@ class CreateProbeCommand extends smithyClient.Command
|
|
|
540
133
|
})
|
|
541
134
|
.s("NetworkMonitor", "CreateProbe", {})
|
|
542
135
|
.n("NetworkMonitorClient", "CreateProbeCommand")
|
|
543
|
-
.sc(CreateProbe$)
|
|
136
|
+
.sc(schemas_0.CreateProbe$)
|
|
544
137
|
.build() {
|
|
545
138
|
}
|
|
546
139
|
|
|
@@ -552,7 +145,7 @@ class DeleteMonitorCommand extends smithyClient.Command
|
|
|
552
145
|
})
|
|
553
146
|
.s("NetworkMonitor", "DeleteMonitor", {})
|
|
554
147
|
.n("NetworkMonitorClient", "DeleteMonitorCommand")
|
|
555
|
-
.sc(DeleteMonitor$)
|
|
148
|
+
.sc(schemas_0.DeleteMonitor$)
|
|
556
149
|
.build() {
|
|
557
150
|
}
|
|
558
151
|
|
|
@@ -564,7 +157,7 @@ class DeleteProbeCommand extends smithyClient.Command
|
|
|
564
157
|
})
|
|
565
158
|
.s("NetworkMonitor", "DeleteProbe", {})
|
|
566
159
|
.n("NetworkMonitorClient", "DeleteProbeCommand")
|
|
567
|
-
.sc(DeleteProbe$)
|
|
160
|
+
.sc(schemas_0.DeleteProbe$)
|
|
568
161
|
.build() {
|
|
569
162
|
}
|
|
570
163
|
|
|
@@ -576,7 +169,7 @@ class GetMonitorCommand extends smithyClient.Command
|
|
|
576
169
|
})
|
|
577
170
|
.s("NetworkMonitor", "GetMonitor", {})
|
|
578
171
|
.n("NetworkMonitorClient", "GetMonitorCommand")
|
|
579
|
-
.sc(GetMonitor$)
|
|
172
|
+
.sc(schemas_0.GetMonitor$)
|
|
580
173
|
.build() {
|
|
581
174
|
}
|
|
582
175
|
|
|
@@ -588,7 +181,7 @@ class GetProbeCommand extends smithyClient.Command
|
|
|
588
181
|
})
|
|
589
182
|
.s("NetworkMonitor", "GetProbe", {})
|
|
590
183
|
.n("NetworkMonitorClient", "GetProbeCommand")
|
|
591
|
-
.sc(GetProbe$)
|
|
184
|
+
.sc(schemas_0.GetProbe$)
|
|
592
185
|
.build() {
|
|
593
186
|
}
|
|
594
187
|
|
|
@@ -600,7 +193,7 @@ class ListMonitorsCommand extends smithyClient.Command
|
|
|
600
193
|
})
|
|
601
194
|
.s("NetworkMonitor", "ListMonitors", {})
|
|
602
195
|
.n("NetworkMonitorClient", "ListMonitorsCommand")
|
|
603
|
-
.sc(ListMonitors$)
|
|
196
|
+
.sc(schemas_0.ListMonitors$)
|
|
604
197
|
.build() {
|
|
605
198
|
}
|
|
606
199
|
|
|
@@ -612,7 +205,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
612
205
|
})
|
|
613
206
|
.s("NetworkMonitor", "ListTagsForResource", {})
|
|
614
207
|
.n("NetworkMonitorClient", "ListTagsForResourceCommand")
|
|
615
|
-
.sc(ListTagsForResource$)
|
|
208
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
616
209
|
.build() {
|
|
617
210
|
}
|
|
618
211
|
|
|
@@ -624,7 +217,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
624
217
|
})
|
|
625
218
|
.s("NetworkMonitor", "TagResource", {})
|
|
626
219
|
.n("NetworkMonitorClient", "TagResourceCommand")
|
|
627
|
-
.sc(TagResource$)
|
|
220
|
+
.sc(schemas_0.TagResource$)
|
|
628
221
|
.build() {
|
|
629
222
|
}
|
|
630
223
|
|
|
@@ -636,7 +229,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
636
229
|
})
|
|
637
230
|
.s("NetworkMonitor", "UntagResource", {})
|
|
638
231
|
.n("NetworkMonitorClient", "UntagResourceCommand")
|
|
639
|
-
.sc(UntagResource$)
|
|
232
|
+
.sc(schemas_0.UntagResource$)
|
|
640
233
|
.build() {
|
|
641
234
|
}
|
|
642
235
|
|
|
@@ -648,7 +241,7 @@ class UpdateMonitorCommand extends smithyClient.Command
|
|
|
648
241
|
})
|
|
649
242
|
.s("NetworkMonitor", "UpdateMonitor", {})
|
|
650
243
|
.n("NetworkMonitorClient", "UpdateMonitorCommand")
|
|
651
|
-
.sc(UpdateMonitor$)
|
|
244
|
+
.sc(schemas_0.UpdateMonitor$)
|
|
652
245
|
.build() {
|
|
653
246
|
}
|
|
654
247
|
|
|
@@ -660,7 +253,7 @@ class UpdateProbeCommand extends smithyClient.Command
|
|
|
660
253
|
})
|
|
661
254
|
.s("NetworkMonitor", "UpdateProbe", {})
|
|
662
255
|
.n("NetworkMonitorClient", "UpdateProbeCommand")
|
|
663
|
-
.sc(UpdateProbe$)
|
|
256
|
+
.sc(schemas_0.UpdateProbe$)
|
|
664
257
|
.build() {
|
|
665
258
|
}
|
|
666
259
|
|
|
@@ -719,78 +312,38 @@ Object.defineProperty(exports, "__Client", {
|
|
|
719
312
|
enumerable: true,
|
|
720
313
|
get: function () { return smithyClient.Client; }
|
|
721
314
|
});
|
|
722
|
-
exports
|
|
723
|
-
|
|
315
|
+
Object.defineProperty(exports, "NetworkMonitorServiceException", {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function () { return NetworkMonitorServiceException.NetworkMonitorServiceException; }
|
|
318
|
+
});
|
|
724
319
|
exports.AddressFamily = AddressFamily;
|
|
725
|
-
exports.ConflictException = ConflictException;
|
|
726
|
-
exports.ConflictException$ = ConflictException$;
|
|
727
|
-
exports.CreateMonitor$ = CreateMonitor$;
|
|
728
320
|
exports.CreateMonitorCommand = CreateMonitorCommand;
|
|
729
|
-
exports.CreateMonitorInput$ = CreateMonitorInput$;
|
|
730
|
-
exports.CreateMonitorOutput$ = CreateMonitorOutput$;
|
|
731
|
-
exports.CreateMonitorProbeInput$ = CreateMonitorProbeInput$;
|
|
732
|
-
exports.CreateProbe$ = CreateProbe$;
|
|
733
321
|
exports.CreateProbeCommand = CreateProbeCommand;
|
|
734
|
-
exports.CreateProbeInput$ = CreateProbeInput$;
|
|
735
|
-
exports.CreateProbeOutput$ = CreateProbeOutput$;
|
|
736
|
-
exports.DeleteMonitor$ = DeleteMonitor$;
|
|
737
322
|
exports.DeleteMonitorCommand = DeleteMonitorCommand;
|
|
738
|
-
exports.DeleteMonitorInput$ = DeleteMonitorInput$;
|
|
739
|
-
exports.DeleteMonitorOutput$ = DeleteMonitorOutput$;
|
|
740
|
-
exports.DeleteProbe$ = DeleteProbe$;
|
|
741
323
|
exports.DeleteProbeCommand = DeleteProbeCommand;
|
|
742
|
-
exports.DeleteProbeInput$ = DeleteProbeInput$;
|
|
743
|
-
exports.DeleteProbeOutput$ = DeleteProbeOutput$;
|
|
744
|
-
exports.GetMonitor$ = GetMonitor$;
|
|
745
324
|
exports.GetMonitorCommand = GetMonitorCommand;
|
|
746
|
-
exports.GetMonitorInput$ = GetMonitorInput$;
|
|
747
|
-
exports.GetMonitorOutput$ = GetMonitorOutput$;
|
|
748
|
-
exports.GetProbe$ = GetProbe$;
|
|
749
325
|
exports.GetProbeCommand = GetProbeCommand;
|
|
750
|
-
exports.GetProbeInput$ = GetProbeInput$;
|
|
751
|
-
exports.GetProbeOutput$ = GetProbeOutput$;
|
|
752
|
-
exports.InternalServerException = InternalServerException;
|
|
753
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
754
|
-
exports.ListMonitors$ = ListMonitors$;
|
|
755
326
|
exports.ListMonitorsCommand = ListMonitorsCommand;
|
|
756
|
-
exports.ListMonitorsInput$ = ListMonitorsInput$;
|
|
757
|
-
exports.ListMonitorsOutput$ = ListMonitorsOutput$;
|
|
758
|
-
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
759
327
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
760
|
-
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
761
|
-
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
762
328
|
exports.MonitorState = MonitorState;
|
|
763
|
-
exports.MonitorSummary$ = MonitorSummary$;
|
|
764
329
|
exports.NetworkMonitor = NetworkMonitor;
|
|
765
330
|
exports.NetworkMonitorClient = NetworkMonitorClient;
|
|
766
|
-
exports.NetworkMonitorServiceException = NetworkMonitorServiceException;
|
|
767
|
-
exports.NetworkMonitorServiceException$ = NetworkMonitorServiceException$;
|
|
768
|
-
exports.Probe$ = Probe$;
|
|
769
|
-
exports.ProbeInput$ = ProbeInput$;
|
|
770
331
|
exports.ProbeState = ProbeState;
|
|
771
332
|
exports.Protocol = Protocol;
|
|
772
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
773
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
774
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
775
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
776
|
-
exports.TagResource$ = TagResource$;
|
|
777
333
|
exports.TagResourceCommand = TagResourceCommand;
|
|
778
|
-
exports.TagResourceInput$ = TagResourceInput$;
|
|
779
|
-
exports.TagResourceOutput$ = TagResourceOutput$;
|
|
780
|
-
exports.ThrottlingException = ThrottlingException;
|
|
781
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
782
|
-
exports.UntagResource$ = UntagResource$;
|
|
783
334
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
784
|
-
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
785
|
-
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
786
|
-
exports.UpdateMonitor$ = UpdateMonitor$;
|
|
787
335
|
exports.UpdateMonitorCommand = UpdateMonitorCommand;
|
|
788
|
-
exports.UpdateMonitorInput$ = UpdateMonitorInput$;
|
|
789
|
-
exports.UpdateMonitorOutput$ = UpdateMonitorOutput$;
|
|
790
|
-
exports.UpdateProbe$ = UpdateProbe$;
|
|
791
336
|
exports.UpdateProbeCommand = UpdateProbeCommand;
|
|
792
|
-
exports.UpdateProbeInput$ = UpdateProbeInput$;
|
|
793
|
-
exports.UpdateProbeOutput$ = UpdateProbeOutput$;
|
|
794
|
-
exports.ValidationException = ValidationException;
|
|
795
|
-
exports.ValidationException$ = ValidationException$;
|
|
796
337
|
exports.paginateListMonitors = paginateListMonitors;
|
|
338
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
339
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return schemas_0[k]; }
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
Object.keys(errors).forEach(function (k) {
|
|
345
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () { return errors[k]; }
|
|
348
|
+
});
|
|
349
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NetworkMonitorServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class NetworkMonitorServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, NetworkMonitorServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.NetworkMonitorServiceException = NetworkMonitorServiceException;
|