@aws-sdk/client-networkmonitor 3.957.0 → 3.958.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/README.md +1 -17
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +179 -211
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +179 -211
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,10 +20,8 @@ Network Monitor in any subnet belonging to a VPC owned by your Account.</p>
|
|
|
20
20
|
<p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
21
21
|
|
|
22
22
|
## Installing
|
|
23
|
-
|
|
24
23
|
To install this package, simply type add or install @aws-sdk/client-networkmonitor
|
|
25
24
|
using your favorite package manager:
|
|
26
|
-
|
|
27
25
|
- `npm install @aws-sdk/client-networkmonitor`
|
|
28
26
|
- `yarn add @aws-sdk/client-networkmonitor`
|
|
29
27
|
- `pnpm add @aws-sdk/client-networkmonitor`
|
|
@@ -59,9 +57,7 @@ To send a request, you:
|
|
|
59
57
|
// a client can be shared by different commands.
|
|
60
58
|
const client = new NetworkMonitorClient({ region: "REGION" });
|
|
61
59
|
|
|
62
|
-
const params = {
|
|
63
|
-
/** input parameters */
|
|
64
|
-
};
|
|
60
|
+
const params = { /** input parameters */ };
|
|
65
61
|
const command = new ListMonitorsCommand(params);
|
|
66
62
|
```
|
|
67
63
|
|
|
@@ -220,7 +216,6 @@ CreateMonitor
|
|
|
220
216
|
</summary>
|
|
221
217
|
|
|
222
218
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/CreateMonitorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/CreateMonitorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/CreateMonitorCommandOutput/)
|
|
223
|
-
|
|
224
219
|
</details>
|
|
225
220
|
<details>
|
|
226
221
|
<summary>
|
|
@@ -228,7 +223,6 @@ CreateProbe
|
|
|
228
223
|
</summary>
|
|
229
224
|
|
|
230
225
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/CreateProbeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/CreateProbeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/CreateProbeCommandOutput/)
|
|
231
|
-
|
|
232
226
|
</details>
|
|
233
227
|
<details>
|
|
234
228
|
<summary>
|
|
@@ -236,7 +230,6 @@ DeleteMonitor
|
|
|
236
230
|
</summary>
|
|
237
231
|
|
|
238
232
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/DeleteMonitorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/DeleteMonitorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/DeleteMonitorCommandOutput/)
|
|
239
|
-
|
|
240
233
|
</details>
|
|
241
234
|
<details>
|
|
242
235
|
<summary>
|
|
@@ -244,7 +237,6 @@ DeleteProbe
|
|
|
244
237
|
</summary>
|
|
245
238
|
|
|
246
239
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/DeleteProbeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/DeleteProbeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/DeleteProbeCommandOutput/)
|
|
247
|
-
|
|
248
240
|
</details>
|
|
249
241
|
<details>
|
|
250
242
|
<summary>
|
|
@@ -252,7 +244,6 @@ GetMonitor
|
|
|
252
244
|
</summary>
|
|
253
245
|
|
|
254
246
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/GetMonitorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/GetMonitorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/GetMonitorCommandOutput/)
|
|
255
|
-
|
|
256
247
|
</details>
|
|
257
248
|
<details>
|
|
258
249
|
<summary>
|
|
@@ -260,7 +251,6 @@ GetProbe
|
|
|
260
251
|
</summary>
|
|
261
252
|
|
|
262
253
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/GetProbeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/GetProbeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/GetProbeCommandOutput/)
|
|
263
|
-
|
|
264
254
|
</details>
|
|
265
255
|
<details>
|
|
266
256
|
<summary>
|
|
@@ -268,7 +258,6 @@ ListMonitors
|
|
|
268
258
|
</summary>
|
|
269
259
|
|
|
270
260
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/ListMonitorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/ListMonitorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/ListMonitorsCommandOutput/)
|
|
271
|
-
|
|
272
261
|
</details>
|
|
273
262
|
<details>
|
|
274
263
|
<summary>
|
|
@@ -276,7 +265,6 @@ ListTagsForResource
|
|
|
276
265
|
</summary>
|
|
277
266
|
|
|
278
267
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/ListTagsForResourceCommandOutput/)
|
|
279
|
-
|
|
280
268
|
</details>
|
|
281
269
|
<details>
|
|
282
270
|
<summary>
|
|
@@ -284,7 +272,6 @@ TagResource
|
|
|
284
272
|
</summary>
|
|
285
273
|
|
|
286
274
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/TagResourceCommandOutput/)
|
|
287
|
-
|
|
288
275
|
</details>
|
|
289
276
|
<details>
|
|
290
277
|
<summary>
|
|
@@ -292,7 +279,6 @@ UntagResource
|
|
|
292
279
|
</summary>
|
|
293
280
|
|
|
294
281
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UntagResourceCommandOutput/)
|
|
295
|
-
|
|
296
282
|
</details>
|
|
297
283
|
<details>
|
|
298
284
|
<summary>
|
|
@@ -300,7 +286,6 @@ UpdateMonitor
|
|
|
300
286
|
</summary>
|
|
301
287
|
|
|
302
288
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/UpdateMonitorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UpdateMonitorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UpdateMonitorCommandOutput/)
|
|
303
|
-
|
|
304
289
|
</details>
|
|
305
290
|
<details>
|
|
306
291
|
<summary>
|
|
@@ -308,5 +293,4 @@ UpdateProbe
|
|
|
308
293
|
</summary>
|
|
309
294
|
|
|
310
295
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/networkmonitor/command/UpdateProbeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UpdateProbeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-networkmonitor/Interface/UpdateProbeCommandOutput/)
|
|
311
|
-
|
|
312
296
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultNetworkMonitorHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultNetworkMonitorHttpAuthSchemeParametersProvider = defaultNetworkMonitorHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -290,266 +290,234 @@ const _t = "tags";
|
|
|
290
290
|
const _tK = "tagKeys";
|
|
291
291
|
const _vI = "vpcId";
|
|
292
292
|
const n0 = "com.amazonaws.networkmonitor";
|
|
293
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
293
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
294
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
295
|
+
[_m],
|
|
296
|
+
[0]
|
|
297
|
+
];
|
|
294
298
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
295
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
299
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
300
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
301
|
+
[_m],
|
|
302
|
+
[0]
|
|
303
|
+
];
|
|
296
304
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
297
|
-
var CreateMonitorInput$ = [
|
|
298
|
-
3,
|
|
299
|
-
n0,
|
|
300
|
-
_CMI,
|
|
305
|
+
var CreateMonitorInput$ = [3, n0, _CMI,
|
|
301
306
|
0,
|
|
302
307
|
[_mN, _p, _aP, _cT, _t],
|
|
303
|
-
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0]
|
|
308
|
+
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0]
|
|
304
309
|
];
|
|
305
|
-
var CreateMonitorOutput$ = [
|
|
306
|
-
3,
|
|
307
|
-
n0,
|
|
308
|
-
_CMO,
|
|
310
|
+
var CreateMonitorOutput$ = [3, n0, _CMO,
|
|
309
311
|
0,
|
|
310
312
|
[_mA, _mN, _s, _aP, _t],
|
|
311
|
-
[0, 0, 0, 1, 128 | 0]
|
|
313
|
+
[0, 0, 0, 1, 128 | 0]
|
|
312
314
|
];
|
|
313
|
-
var CreateMonitorProbeInput$ = [
|
|
314
|
-
3,
|
|
315
|
-
n0,
|
|
316
|
-
_CMPI,
|
|
315
|
+
var CreateMonitorProbeInput$ = [3, n0, _CMPI,
|
|
317
316
|
0,
|
|
318
317
|
[_sA, _d, _dP, _pr, _pS, _pT],
|
|
319
|
-
[0, 0, 1, 0, 1, 128 | 0]
|
|
318
|
+
[0, 0, 1, 0, 1, 128 | 0]
|
|
320
319
|
];
|
|
321
|
-
var CreateProbeInput$ = [
|
|
322
|
-
3,
|
|
323
|
-
n0,
|
|
324
|
-
_CPI,
|
|
320
|
+
var CreateProbeInput$ = [3, n0, _CPI,
|
|
325
321
|
0,
|
|
326
322
|
[_mN, _pro, _cT, _t],
|
|
327
|
-
[[0, 1], () => ProbeInput$, [0, 4], 128 | 0]
|
|
323
|
+
[[0, 1], () => ProbeInput$, [0, 4], 128 | 0]
|
|
328
324
|
];
|
|
329
|
-
var CreateProbeOutput$ = [
|
|
330
|
-
3,
|
|
331
|
-
n0,
|
|
332
|
-
_CPO,
|
|
325
|
+
var CreateProbeOutput$ = [3, n0, _CPO,
|
|
333
326
|
0,
|
|
334
327
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
335
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
336
|
-
];
|
|
337
|
-
var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
328
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
329
|
+
];
|
|
330
|
+
var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
331
|
+
0,
|
|
332
|
+
[_mN],
|
|
333
|
+
[[0, 1]]
|
|
334
|
+
];
|
|
335
|
+
var DeleteMonitorOutput$ = [3, n0, _DMO,
|
|
336
|
+
0,
|
|
337
|
+
[],
|
|
338
|
+
[]
|
|
339
|
+
];
|
|
340
|
+
var DeleteProbeInput$ = [3, n0, _DPI,
|
|
343
341
|
0,
|
|
344
342
|
[_mN, _pI],
|
|
345
|
-
[
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
]
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
var
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
343
|
+
[[0, 1], [0, 1]]
|
|
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]]
|
|
354
|
+
];
|
|
355
|
+
var GetMonitorOutput$ = [3, n0, _GMO,
|
|
356
356
|
0,
|
|
357
357
|
[_mA, _mN, _s, _aP, _t, _p, _cA, _mAo],
|
|
358
|
-
[0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4]
|
|
358
|
+
[0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4]
|
|
359
359
|
];
|
|
360
|
-
var GetProbeInput$ = [
|
|
361
|
-
3,
|
|
362
|
-
n0,
|
|
363
|
-
_GPI,
|
|
360
|
+
var GetProbeInput$ = [3, n0, _GPI,
|
|
364
361
|
0,
|
|
365
362
|
[_mN, _pI],
|
|
366
|
-
[
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
],
|
|
370
|
-
];
|
|
371
|
-
var GetProbeOutput$ = [
|
|
372
|
-
3,
|
|
373
|
-
n0,
|
|
374
|
-
_GPO,
|
|
363
|
+
[[0, 1], [0, 1]]
|
|
364
|
+
];
|
|
365
|
+
var GetProbeOutput$ = [3, n0, _GPO,
|
|
375
366
|
0,
|
|
376
367
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
377
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
368
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
369
|
+
];
|
|
370
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
371
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
372
|
+
[_m],
|
|
373
|
+
[0]
|
|
378
374
|
];
|
|
379
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
380
375
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
381
|
-
var ListMonitorsInput$ = [
|
|
382
|
-
3,
|
|
383
|
-
n0,
|
|
384
|
-
_LMI,
|
|
376
|
+
var ListMonitorsInput$ = [3, n0, _LMI,
|
|
385
377
|
0,
|
|
386
378
|
[_nT, _mR, _s],
|
|
387
|
-
[
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
],
|
|
392
|
-
]
|
|
393
|
-
|
|
394
|
-
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
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]
|
|
385
|
+
];
|
|
386
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
387
|
+
0,
|
|
388
|
+
[_rA],
|
|
389
|
+
[[0, 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]
|
|
400
|
+
];
|
|
401
|
+
var Probe$ = [3, n0, _P,
|
|
401
402
|
0,
|
|
402
403
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
403
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
404
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
405
|
+
];
|
|
406
|
+
var ProbeInput$ = [3, n0, _PI,
|
|
407
|
+
0,
|
|
408
|
+
[_sA, _d, _dP, _pr, _pS, _t],
|
|
409
|
+
[0, 0, 1, 0, 1, 128 | 0]
|
|
410
|
+
];
|
|
411
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
412
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
413
|
+
[_m],
|
|
414
|
+
[0]
|
|
404
415
|
];
|
|
405
|
-
var ProbeInput$ = [3, n0, _PI, 0, [_sA, _d, _dP, _pr, _pS, _t], [0, 0, 1, 0, 1, 128 | 0]];
|
|
406
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
407
416
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
408
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
417
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
418
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
419
|
+
[_m],
|
|
420
|
+
[0]
|
|
421
|
+
];
|
|
409
422
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
410
|
-
var TagResourceInput$ = [3, n0, _TRI,
|
|
411
|
-
|
|
412
|
-
|
|
423
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
424
|
+
0,
|
|
425
|
+
[_rA, _t],
|
|
426
|
+
[[0, 1], 128 | 0]
|
|
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
|
+
];
|
|
413
438
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
414
|
-
var UntagResourceInput$ = [
|
|
415
|
-
3,
|
|
416
|
-
n0,
|
|
417
|
-
_URI,
|
|
439
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
418
440
|
0,
|
|
419
441
|
[_rA, _tK],
|
|
420
|
-
[
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
]
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
var
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
442
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
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]
|
|
453
|
+
];
|
|
454
|
+
var UpdateMonitorOutput$ = [3, n0, _UMO,
|
|
431
455
|
0,
|
|
432
456
|
[_mA, _mN, _s, _aP, _t],
|
|
433
|
-
[0, 0, 0, 1, 128 | 0]
|
|
457
|
+
[0, 0, 0, 1, 128 | 0]
|
|
434
458
|
];
|
|
435
|
-
var UpdateProbeInput$ = [
|
|
436
|
-
3,
|
|
437
|
-
n0,
|
|
438
|
-
_UPI,
|
|
459
|
+
var UpdateProbeInput$ = [3, n0, _UPI,
|
|
439
460
|
0,
|
|
440
461
|
[_mN, _pI, _s, _d, _dP, _pr, _pS],
|
|
441
|
-
[[0, 1], [0, 1], 0, 0, 1, 0, 1]
|
|
462
|
+
[[0, 1], [0, 1], 0, 0, 1, 0, 1]
|
|
442
463
|
];
|
|
443
|
-
var UpdateProbeOutput$ = [
|
|
444
|
-
3,
|
|
445
|
-
n0,
|
|
446
|
-
_UPO,
|
|
464
|
+
var UpdateProbeOutput$ = [3, n0, _UPO,
|
|
447
465
|
0,
|
|
448
466
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
449
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
467
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
468
|
+
];
|
|
469
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
470
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
471
|
+
[_m],
|
|
472
|
+
[0]
|
|
450
473
|
];
|
|
451
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
452
474
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
453
475
|
var NetworkMonitorServiceException$ = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
|
|
454
476
|
schema.TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException$, NetworkMonitorServiceException);
|
|
455
|
-
var CreateMonitorProbeInputList = [1, n0, _CMPIL,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
var
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
]
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
() =>
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
() =>
|
|
481
|
-
];
|
|
482
|
-
var
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
{ [_h]: ["
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
]
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
() =>
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
9,
|
|
500
|
-
n0,
|
|
501
|
-
_GP,
|
|
502
|
-
{ [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] },
|
|
503
|
-
() => GetProbeInput$,
|
|
504
|
-
() => GetProbeOutput$,
|
|
505
|
-
];
|
|
506
|
-
var ListMonitors$ = [
|
|
507
|
-
9,
|
|
508
|
-
n0,
|
|
509
|
-
_LM,
|
|
510
|
-
{ [_h]: ["GET", "/monitors", 200] },
|
|
511
|
-
() => ListMonitorsInput$,
|
|
512
|
-
() => ListMonitorsOutput$,
|
|
513
|
-
];
|
|
514
|
-
var ListTagsForResource$ = [
|
|
515
|
-
9,
|
|
516
|
-
n0,
|
|
517
|
-
_LTFR,
|
|
518
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
519
|
-
() => ListTagsForResourceInput$,
|
|
520
|
-
() => ListTagsForResourceOutput$,
|
|
521
|
-
];
|
|
522
|
-
var TagResource$ = [
|
|
523
|
-
9,
|
|
524
|
-
n0,
|
|
525
|
-
_TR,
|
|
526
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
527
|
-
() => TagResourceInput$,
|
|
528
|
-
() => TagResourceOutput$,
|
|
529
|
-
];
|
|
530
|
-
var UntagResource$ = [
|
|
531
|
-
9,
|
|
532
|
-
n0,
|
|
533
|
-
_UR,
|
|
534
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
535
|
-
() => UntagResourceInput$,
|
|
536
|
-
() => UntagResourceOutput$,
|
|
537
|
-
];
|
|
538
|
-
var UpdateMonitor$ = [
|
|
539
|
-
9,
|
|
540
|
-
n0,
|
|
541
|
-
_UM,
|
|
542
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}", 200] },
|
|
543
|
-
() => UpdateMonitorInput$,
|
|
544
|
-
() => UpdateMonitorOutput$,
|
|
545
|
-
];
|
|
546
|
-
var UpdateProbe$ = [
|
|
547
|
-
9,
|
|
548
|
-
n0,
|
|
549
|
-
_UP,
|
|
550
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] },
|
|
551
|
-
() => UpdateProbeInput$,
|
|
552
|
-
() => UpdateProbeOutput$,
|
|
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$
|
|
553
521
|
];
|
|
554
522
|
|
|
555
523
|
class CreateMonitorCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultNetworkMonitorHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -85,266 +85,234 @@ const n0 = "com.amazonaws.networkmonitor";
|
|
|
85
85
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
86
86
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
87
87
|
import { NetworkMonitorServiceException } from "../models/NetworkMonitorServiceException";
|
|
88
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
88
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
89
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
90
|
+
[_m],
|
|
91
|
+
[0]
|
|
92
|
+
];
|
|
89
93
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
90
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
94
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
95
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
96
|
+
[_m],
|
|
97
|
+
[0]
|
|
98
|
+
];
|
|
91
99
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
92
|
-
export var CreateMonitorInput$ = [
|
|
93
|
-
3,
|
|
94
|
-
n0,
|
|
95
|
-
_CMI,
|
|
100
|
+
export var CreateMonitorInput$ = [3, n0, _CMI,
|
|
96
101
|
0,
|
|
97
102
|
[_mN, _p, _aP, _cT, _t],
|
|
98
|
-
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0]
|
|
103
|
+
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0]
|
|
99
104
|
];
|
|
100
|
-
export var CreateMonitorOutput$ = [
|
|
101
|
-
3,
|
|
102
|
-
n0,
|
|
103
|
-
_CMO,
|
|
105
|
+
export var CreateMonitorOutput$ = [3, n0, _CMO,
|
|
104
106
|
0,
|
|
105
107
|
[_mA, _mN, _s, _aP, _t],
|
|
106
|
-
[0, 0, 0, 1, 128 | 0]
|
|
108
|
+
[0, 0, 0, 1, 128 | 0]
|
|
107
109
|
];
|
|
108
|
-
export var CreateMonitorProbeInput$ = [
|
|
109
|
-
3,
|
|
110
|
-
n0,
|
|
111
|
-
_CMPI,
|
|
110
|
+
export var CreateMonitorProbeInput$ = [3, n0, _CMPI,
|
|
112
111
|
0,
|
|
113
112
|
[_sA, _d, _dP, _pr, _pS, _pT],
|
|
114
|
-
[0, 0, 1, 0, 1, 128 | 0]
|
|
113
|
+
[0, 0, 1, 0, 1, 128 | 0]
|
|
115
114
|
];
|
|
116
|
-
export var CreateProbeInput$ = [
|
|
117
|
-
3,
|
|
118
|
-
n0,
|
|
119
|
-
_CPI,
|
|
115
|
+
export var CreateProbeInput$ = [3, n0, _CPI,
|
|
120
116
|
0,
|
|
121
117
|
[_mN, _pro, _cT, _t],
|
|
122
|
-
[[0, 1], () => ProbeInput$, [0, 4], 128 | 0]
|
|
118
|
+
[[0, 1], () => ProbeInput$, [0, 4], 128 | 0]
|
|
123
119
|
];
|
|
124
|
-
export var CreateProbeOutput$ = [
|
|
125
|
-
3,
|
|
126
|
-
n0,
|
|
127
|
-
_CPO,
|
|
120
|
+
export var CreateProbeOutput$ = [3, n0, _CPO,
|
|
128
121
|
0,
|
|
129
122
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
130
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
131
|
-
];
|
|
132
|
-
export var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
123
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
124
|
+
];
|
|
125
|
+
export var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
126
|
+
0,
|
|
127
|
+
[_mN],
|
|
128
|
+
[[0, 1]]
|
|
129
|
+
];
|
|
130
|
+
export var DeleteMonitorOutput$ = [3, n0, _DMO,
|
|
131
|
+
0,
|
|
132
|
+
[],
|
|
133
|
+
[]
|
|
134
|
+
];
|
|
135
|
+
export var DeleteProbeInput$ = [3, n0, _DPI,
|
|
138
136
|
0,
|
|
139
137
|
[_mN, _pI],
|
|
140
|
-
[
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
]
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
export var
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
138
|
+
[[0, 1], [0, 1]]
|
|
139
|
+
];
|
|
140
|
+
export var DeleteProbeOutput$ = [3, n0, _DPO,
|
|
141
|
+
0,
|
|
142
|
+
[],
|
|
143
|
+
[]
|
|
144
|
+
];
|
|
145
|
+
export var GetMonitorInput$ = [3, n0, _GMI,
|
|
146
|
+
0,
|
|
147
|
+
[_mN],
|
|
148
|
+
[[0, 1]]
|
|
149
|
+
];
|
|
150
|
+
export var GetMonitorOutput$ = [3, n0, _GMO,
|
|
151
151
|
0,
|
|
152
152
|
[_mA, _mN, _s, _aP, _t, _p, _cA, _mAo],
|
|
153
|
-
[0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4]
|
|
153
|
+
[0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4]
|
|
154
154
|
];
|
|
155
|
-
export var GetProbeInput$ = [
|
|
156
|
-
3,
|
|
157
|
-
n0,
|
|
158
|
-
_GPI,
|
|
155
|
+
export var GetProbeInput$ = [3, n0, _GPI,
|
|
159
156
|
0,
|
|
160
157
|
[_mN, _pI],
|
|
161
|
-
[
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
],
|
|
165
|
-
];
|
|
166
|
-
export var GetProbeOutput$ = [
|
|
167
|
-
3,
|
|
168
|
-
n0,
|
|
169
|
-
_GPO,
|
|
158
|
+
[[0, 1], [0, 1]]
|
|
159
|
+
];
|
|
160
|
+
export var GetProbeOutput$ = [3, n0, _GPO,
|
|
170
161
|
0,
|
|
171
162
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
172
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
163
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
164
|
+
];
|
|
165
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
166
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
167
|
+
[_m],
|
|
168
|
+
[0]
|
|
173
169
|
];
|
|
174
|
-
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
175
170
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
176
|
-
export var ListMonitorsInput$ = [
|
|
177
|
-
3,
|
|
178
|
-
n0,
|
|
179
|
-
_LMI,
|
|
171
|
+
export var ListMonitorsInput$ = [3, n0, _LMI,
|
|
180
172
|
0,
|
|
181
173
|
[_nT, _mR, _s],
|
|
182
|
-
[
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
],
|
|
187
|
-
]
|
|
188
|
-
|
|
189
|
-
export var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
174
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _s }]]
|
|
175
|
+
];
|
|
176
|
+
export var ListMonitorsOutput$ = [3, n0, _LMO,
|
|
177
|
+
0,
|
|
178
|
+
[_mo, _nT],
|
|
179
|
+
[() => MonitorList, 0]
|
|
180
|
+
];
|
|
181
|
+
export var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
182
|
+
0,
|
|
183
|
+
[_rA],
|
|
184
|
+
[[0, 1]]
|
|
185
|
+
];
|
|
186
|
+
export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
187
|
+
0,
|
|
188
|
+
[_t],
|
|
189
|
+
[128 | 0]
|
|
190
|
+
];
|
|
191
|
+
export var MonitorSummary$ = [3, n0, _MS,
|
|
192
|
+
0,
|
|
193
|
+
[_mA, _mN, _s, _aP, _t],
|
|
194
|
+
[0, 0, 0, 1, 128 | 0]
|
|
195
|
+
];
|
|
196
|
+
export var Probe$ = [3, n0, _P,
|
|
196
197
|
0,
|
|
197
198
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
198
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
199
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
200
|
+
];
|
|
201
|
+
export var ProbeInput$ = [3, n0, _PI,
|
|
202
|
+
0,
|
|
203
|
+
[_sA, _d, _dP, _pr, _pS, _t],
|
|
204
|
+
[0, 0, 1, 0, 1, 128 | 0]
|
|
205
|
+
];
|
|
206
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
207
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
208
|
+
[_m],
|
|
209
|
+
[0]
|
|
199
210
|
];
|
|
200
|
-
export var ProbeInput$ = [3, n0, _PI, 0, [_sA, _d, _dP, _pr, _pS, _t], [0, 0, 1, 0, 1, 128 | 0]];
|
|
201
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
202
211
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
203
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
212
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
213
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
214
|
+
[_m],
|
|
215
|
+
[0]
|
|
216
|
+
];
|
|
204
217
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
205
|
-
export var TagResourceInput$ = [3, n0, _TRI,
|
|
206
|
-
|
|
207
|
-
|
|
218
|
+
export var TagResourceInput$ = [3, n0, _TRI,
|
|
219
|
+
0,
|
|
220
|
+
[_rA, _t],
|
|
221
|
+
[[0, 1], 128 | 0]
|
|
222
|
+
];
|
|
223
|
+
export var TagResourceOutput$ = [3, n0, _TRO,
|
|
224
|
+
0,
|
|
225
|
+
[],
|
|
226
|
+
[]
|
|
227
|
+
];
|
|
228
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
229
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
230
|
+
[_m],
|
|
231
|
+
[0]
|
|
232
|
+
];
|
|
208
233
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
209
|
-
export var UntagResourceInput$ = [
|
|
210
|
-
3,
|
|
211
|
-
n0,
|
|
212
|
-
_URI,
|
|
234
|
+
export var UntagResourceInput$ = [3, n0, _URI,
|
|
213
235
|
0,
|
|
214
236
|
[_rA, _tK],
|
|
215
|
-
[
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
]
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
export var
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
237
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
238
|
+
];
|
|
239
|
+
export var UntagResourceOutput$ = [3, n0, _URO,
|
|
240
|
+
0,
|
|
241
|
+
[],
|
|
242
|
+
[]
|
|
243
|
+
];
|
|
244
|
+
export var UpdateMonitorInput$ = [3, n0, _UMI,
|
|
245
|
+
0,
|
|
246
|
+
[_mN, _aP],
|
|
247
|
+
[[0, 1], 1]
|
|
248
|
+
];
|
|
249
|
+
export var UpdateMonitorOutput$ = [3, n0, _UMO,
|
|
226
250
|
0,
|
|
227
251
|
[_mA, _mN, _s, _aP, _t],
|
|
228
|
-
[0, 0, 0, 1, 128 | 0]
|
|
252
|
+
[0, 0, 0, 1, 128 | 0]
|
|
229
253
|
];
|
|
230
|
-
export var UpdateProbeInput$ = [
|
|
231
|
-
3,
|
|
232
|
-
n0,
|
|
233
|
-
_UPI,
|
|
254
|
+
export var UpdateProbeInput$ = [3, n0, _UPI,
|
|
234
255
|
0,
|
|
235
256
|
[_mN, _pI, _s, _d, _dP, _pr, _pS],
|
|
236
|
-
[[0, 1], [0, 1], 0, 0, 1, 0, 1]
|
|
257
|
+
[[0, 1], [0, 1], 0, 0, 1, 0, 1]
|
|
237
258
|
];
|
|
238
|
-
export var UpdateProbeOutput$ = [
|
|
239
|
-
3,
|
|
240
|
-
n0,
|
|
241
|
-
_UPO,
|
|
259
|
+
export var UpdateProbeOutput$ = [3, n0, _UPO,
|
|
242
260
|
0,
|
|
243
261
|
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
244
|
-
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
262
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0]
|
|
263
|
+
];
|
|
264
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
265
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
266
|
+
[_m],
|
|
267
|
+
[0]
|
|
245
268
|
];
|
|
246
|
-
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
247
269
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
248
270
|
export var NetworkMonitorServiceException$ = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
|
|
249
271
|
TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException$, NetworkMonitorServiceException);
|
|
250
|
-
var CreateMonitorProbeInputList = [1, n0, _CMPIL,
|
|
251
|
-
|
|
252
|
-
|
|
272
|
+
var CreateMonitorProbeInputList = [1, n0, _CMPIL,
|
|
273
|
+
0, () => CreateMonitorProbeInput$
|
|
274
|
+
];
|
|
275
|
+
var MonitorList = [1, n0, _ML,
|
|
276
|
+
0, () => MonitorSummary$
|
|
277
|
+
];
|
|
278
|
+
var ProbeList = [1, n0, _PL,
|
|
279
|
+
0, () => Probe$
|
|
280
|
+
];
|
|
253
281
|
var TagKeyList = 64 | 0;
|
|
254
282
|
var TagMap = 128 | 0;
|
|
255
|
-
export var CreateMonitor$ = [
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
{ [_h]: ["POST", "/monitors", 200] },
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
]
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
() =>
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
() =>
|
|
278
|
-
];
|
|
279
|
-
export var
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
{ [_h]: ["DELETE", "/
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
]
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
_GM,
|
|
291
|
-
{ [_h]: ["GET", "/monitors/{monitorName}", 200] },
|
|
292
|
-
() => GetMonitorInput$,
|
|
293
|
-
() => GetMonitorOutput$,
|
|
294
|
-
];
|
|
295
|
-
export var GetProbe$ = [
|
|
296
|
-
9,
|
|
297
|
-
n0,
|
|
298
|
-
_GP,
|
|
299
|
-
{ [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] },
|
|
300
|
-
() => GetProbeInput$,
|
|
301
|
-
() => GetProbeOutput$,
|
|
302
|
-
];
|
|
303
|
-
export var ListMonitors$ = [
|
|
304
|
-
9,
|
|
305
|
-
n0,
|
|
306
|
-
_LM,
|
|
307
|
-
{ [_h]: ["GET", "/monitors", 200] },
|
|
308
|
-
() => ListMonitorsInput$,
|
|
309
|
-
() => ListMonitorsOutput$,
|
|
310
|
-
];
|
|
311
|
-
export var ListTagsForResource$ = [
|
|
312
|
-
9,
|
|
313
|
-
n0,
|
|
314
|
-
_LTFR,
|
|
315
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
316
|
-
() => ListTagsForResourceInput$,
|
|
317
|
-
() => ListTagsForResourceOutput$,
|
|
318
|
-
];
|
|
319
|
-
export var TagResource$ = [
|
|
320
|
-
9,
|
|
321
|
-
n0,
|
|
322
|
-
_TR,
|
|
323
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
324
|
-
() => TagResourceInput$,
|
|
325
|
-
() => TagResourceOutput$,
|
|
326
|
-
];
|
|
327
|
-
export var UntagResource$ = [
|
|
328
|
-
9,
|
|
329
|
-
n0,
|
|
330
|
-
_UR,
|
|
331
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
332
|
-
() => UntagResourceInput$,
|
|
333
|
-
() => UntagResourceOutput$,
|
|
334
|
-
];
|
|
335
|
-
export var UpdateMonitor$ = [
|
|
336
|
-
9,
|
|
337
|
-
n0,
|
|
338
|
-
_UM,
|
|
339
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}", 200] },
|
|
340
|
-
() => UpdateMonitorInput$,
|
|
341
|
-
() => UpdateMonitorOutput$,
|
|
342
|
-
];
|
|
343
|
-
export var UpdateProbe$ = [
|
|
344
|
-
9,
|
|
345
|
-
n0,
|
|
346
|
-
_UP,
|
|
347
|
-
{ [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] },
|
|
348
|
-
() => UpdateProbeInput$,
|
|
349
|
-
() => UpdateProbeOutput$,
|
|
283
|
+
export var CreateMonitor$ = [9, n0, _CM,
|
|
284
|
+
{ [_h]: ["POST", "/monitors", 200] }, () => CreateMonitorInput$, () => CreateMonitorOutput$
|
|
285
|
+
];
|
|
286
|
+
export var CreateProbe$ = [9, n0, _CP,
|
|
287
|
+
{ [_h]: ["POST", "/monitors/{monitorName}/probes", 200] }, () => CreateProbeInput$, () => CreateProbeOutput$
|
|
288
|
+
];
|
|
289
|
+
export var DeleteMonitor$ = [9, n0, _DM,
|
|
290
|
+
{ [_h]: ["DELETE", "/monitors/{monitorName}", 200] }, () => DeleteMonitorInput$, () => DeleteMonitorOutput$
|
|
291
|
+
];
|
|
292
|
+
export var DeleteProbe$ = [9, n0, _DP,
|
|
293
|
+
{ [_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => DeleteProbeInput$, () => DeleteProbeOutput$
|
|
294
|
+
];
|
|
295
|
+
export var GetMonitor$ = [9, n0, _GM,
|
|
296
|
+
{ [_h]: ["GET", "/monitors/{monitorName}", 200] }, () => GetMonitorInput$, () => GetMonitorOutput$
|
|
297
|
+
];
|
|
298
|
+
export var GetProbe$ = [9, n0, _GP,
|
|
299
|
+
{ [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => GetProbeInput$, () => GetProbeOutput$
|
|
300
|
+
];
|
|
301
|
+
export var ListMonitors$ = [9, n0, _LM,
|
|
302
|
+
{ [_h]: ["GET", "/monitors", 200] }, () => ListMonitorsInput$, () => ListMonitorsOutput$
|
|
303
|
+
];
|
|
304
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
305
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
306
|
+
];
|
|
307
|
+
export var TagResource$ = [9, n0, _TR,
|
|
308
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
309
|
+
];
|
|
310
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
311
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
312
|
+
];
|
|
313
|
+
export var UpdateMonitor$ = [9, n0, _UM,
|
|
314
|
+
{ [_h]: ["PATCH", "/monitors/{monitorName}", 200] }, () => UpdateMonitorInput$, () => UpdateMonitorOutput$
|
|
315
|
+
];
|
|
316
|
+
export var UpdateProbe$ = [9, n0, _UP,
|
|
317
|
+
{ [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => UpdateProbeInput$, () => UpdateProbeOutput$
|
|
350
318
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-networkmonitor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Networkmonitor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-networkmonitor",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|