@aws-sdk/client-networkmonitor 3.928.0 → 3.929.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 +505 -627
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NetworkMonitorClient.js +2 -0
- package/dist-es/commands/CreateMonitorCommand.js +3 -9
- package/dist-es/commands/CreateProbeCommand.js +3 -9
- package/dist-es/commands/DeleteMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteProbeCommand.js +3 -9
- package/dist-es/commands/GetMonitorCommand.js +3 -9
- package/dist-es/commands/GetProbeCommand.js +3 -9
- package/dist-es/commands/ListMonitorsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateMonitorCommand.js +3 -9
- package/dist-es/commands/UpdateProbeCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +465 -0
- package/dist-types/NetworkMonitorClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/NetworkMonitorClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +60 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -527
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class NetworkMonitorClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class NetworkMonitorClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class NetworkMonitorServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let NetworkMonitorServiceException$1 = class NetworkMonitorServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, NetworkMonitorServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends NetworkMonitorServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends NetworkMonitorServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,12 +128,12 @@ class AccessDeniedException extends NetworkMonitorServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
131
|
+
};
|
|
133
132
|
const AddressFamily = {
|
|
134
133
|
IPV4: "IPV4",
|
|
135
134
|
IPV6: "IPV6",
|
|
136
135
|
};
|
|
137
|
-
class ConflictException extends NetworkMonitorServiceException {
|
|
136
|
+
let ConflictException$1 = class ConflictException extends NetworkMonitorServiceException$1 {
|
|
138
137
|
name = "ConflictException";
|
|
139
138
|
$fault = "client";
|
|
140
139
|
constructor(opts) {
|
|
@@ -145,7 +144,7 @@ class ConflictException extends NetworkMonitorServiceException {
|
|
|
145
144
|
});
|
|
146
145
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
147
146
|
}
|
|
148
|
-
}
|
|
147
|
+
};
|
|
149
148
|
const Protocol = {
|
|
150
149
|
ICMP: "ICMP",
|
|
151
150
|
TCP: "TCP",
|
|
@@ -157,7 +156,7 @@ const MonitorState = {
|
|
|
157
156
|
INACTIVE: "INACTIVE",
|
|
158
157
|
PENDING: "PENDING",
|
|
159
158
|
};
|
|
160
|
-
class InternalServerException extends NetworkMonitorServiceException {
|
|
159
|
+
let InternalServerException$1 = class InternalServerException extends NetworkMonitorServiceException$1 {
|
|
161
160
|
name = "InternalServerException";
|
|
162
161
|
$fault = "server";
|
|
163
162
|
$retryable = {};
|
|
@@ -169,8 +168,8 @@ class InternalServerException extends NetworkMonitorServiceException {
|
|
|
169
168
|
});
|
|
170
169
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
171
170
|
}
|
|
172
|
-
}
|
|
173
|
-
class ServiceQuotaExceededException extends NetworkMonitorServiceException {
|
|
171
|
+
};
|
|
172
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends NetworkMonitorServiceException$1 {
|
|
174
173
|
name = "ServiceQuotaExceededException";
|
|
175
174
|
$fault = "client";
|
|
176
175
|
constructor(opts) {
|
|
@@ -181,8 +180,8 @@ class ServiceQuotaExceededException extends NetworkMonitorServiceException {
|
|
|
181
180
|
});
|
|
182
181
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
183
182
|
}
|
|
184
|
-
}
|
|
185
|
-
class ThrottlingException extends NetworkMonitorServiceException {
|
|
183
|
+
};
|
|
184
|
+
let ThrottlingException$1 = class ThrottlingException extends NetworkMonitorServiceException$1 {
|
|
186
185
|
name = "ThrottlingException";
|
|
187
186
|
$fault = "client";
|
|
188
187
|
$retryable = {
|
|
@@ -196,8 +195,8 @@ class ThrottlingException extends NetworkMonitorServiceException {
|
|
|
196
195
|
});
|
|
197
196
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
198
197
|
}
|
|
199
|
-
}
|
|
200
|
-
class ValidationException extends NetworkMonitorServiceException {
|
|
198
|
+
};
|
|
199
|
+
let ValidationException$1 = class ValidationException extends NetworkMonitorServiceException$1 {
|
|
201
200
|
name = "ValidationException";
|
|
202
201
|
$fault = "client";
|
|
203
202
|
constructor(opts) {
|
|
@@ -208,7 +207,7 @@ class ValidationException extends NetworkMonitorServiceException {
|
|
|
208
207
|
});
|
|
209
208
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
210
209
|
}
|
|
211
|
-
}
|
|
210
|
+
};
|
|
212
211
|
const ProbeState = {
|
|
213
212
|
ACTIVE: "ACTIVE",
|
|
214
213
|
DELETED: "DELETED",
|
|
@@ -217,7 +216,7 @@ const ProbeState = {
|
|
|
217
216
|
INACTIVE: "INACTIVE",
|
|
218
217
|
PENDING: "PENDING",
|
|
219
218
|
};
|
|
220
|
-
class ResourceNotFoundException extends NetworkMonitorServiceException {
|
|
219
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends NetworkMonitorServiceException$1 {
|
|
221
220
|
name = "ResourceNotFoundException";
|
|
222
221
|
$fault = "client";
|
|
223
222
|
constructor(opts) {
|
|
@@ -228,543 +227,477 @@ class ResourceNotFoundException extends NetworkMonitorServiceException {
|
|
|
228
227
|
});
|
|
229
228
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
230
229
|
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
const se_CreateMonitorCommand = async (input, context) => {
|
|
234
|
-
const b = core.requestBuilder(input, context);
|
|
235
|
-
const headers = {
|
|
236
|
-
"content-type": "application/json",
|
|
237
|
-
};
|
|
238
|
-
b.bp("/monitors");
|
|
239
|
-
let body;
|
|
240
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
241
|
-
aggregationPeriod: [],
|
|
242
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
243
|
-
monitorName: [],
|
|
244
|
-
probes: (_) => smithyClient._json(_),
|
|
245
|
-
tags: (_) => smithyClient._json(_),
|
|
246
|
-
}));
|
|
247
|
-
b.m("POST").h(headers).b(body);
|
|
248
|
-
return b.build();
|
|
249
|
-
};
|
|
250
|
-
const se_CreateProbeCommand = async (input, context) => {
|
|
251
|
-
const b = core.requestBuilder(input, context);
|
|
252
|
-
const headers = {
|
|
253
|
-
"content-type": "application/json",
|
|
254
|
-
};
|
|
255
|
-
b.bp("/monitors/{monitorName}/probes");
|
|
256
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
257
|
-
let body;
|
|
258
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
259
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
260
|
-
probe: (_) => smithyClient._json(_),
|
|
261
|
-
tags: (_) => smithyClient._json(_),
|
|
262
|
-
}));
|
|
263
|
-
b.m("POST").h(headers).b(body);
|
|
264
|
-
return b.build();
|
|
265
|
-
};
|
|
266
|
-
const se_DeleteMonitorCommand = async (input, context) => {
|
|
267
|
-
const b = core.requestBuilder(input, context);
|
|
268
|
-
const headers = {};
|
|
269
|
-
b.bp("/monitors/{monitorName}");
|
|
270
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
271
|
-
let body;
|
|
272
|
-
b.m("DELETE").h(headers).b(body);
|
|
273
|
-
return b.build();
|
|
274
|
-
};
|
|
275
|
-
const se_DeleteProbeCommand = async (input, context) => {
|
|
276
|
-
const b = core.requestBuilder(input, context);
|
|
277
|
-
const headers = {};
|
|
278
|
-
b.bp("/monitors/{monitorName}/probes/{probeId}");
|
|
279
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
280
|
-
b.p("probeId", () => input.probeId, "{probeId}", false);
|
|
281
|
-
let body;
|
|
282
|
-
b.m("DELETE").h(headers).b(body);
|
|
283
|
-
return b.build();
|
|
284
|
-
};
|
|
285
|
-
const se_GetMonitorCommand = async (input, context) => {
|
|
286
|
-
const b = core.requestBuilder(input, context);
|
|
287
|
-
const headers = {};
|
|
288
|
-
b.bp("/monitors/{monitorName}");
|
|
289
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
290
|
-
let body;
|
|
291
|
-
b.m("GET").h(headers).b(body);
|
|
292
|
-
return b.build();
|
|
293
|
-
};
|
|
294
|
-
const se_GetProbeCommand = async (input, context) => {
|
|
295
|
-
const b = core.requestBuilder(input, context);
|
|
296
|
-
const headers = {};
|
|
297
|
-
b.bp("/monitors/{monitorName}/probes/{probeId}");
|
|
298
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
299
|
-
b.p("probeId", () => input.probeId, "{probeId}", false);
|
|
300
|
-
let body;
|
|
301
|
-
b.m("GET").h(headers).b(body);
|
|
302
|
-
return b.build();
|
|
303
|
-
};
|
|
304
|
-
const se_ListMonitorsCommand = async (input, context) => {
|
|
305
|
-
const b = core.requestBuilder(input, context);
|
|
306
|
-
const headers = {};
|
|
307
|
-
b.bp("/monitors");
|
|
308
|
-
const query = smithyClient.map({
|
|
309
|
-
[_nT]: [, input[_nT]],
|
|
310
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
311
|
-
[_s]: [, input[_s]],
|
|
312
|
-
});
|
|
313
|
-
let body;
|
|
314
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
315
|
-
return b.build();
|
|
316
|
-
};
|
|
317
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
318
|
-
const b = core.requestBuilder(input, context);
|
|
319
|
-
const headers = {};
|
|
320
|
-
b.bp("/tags/{resourceArn}");
|
|
321
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
322
|
-
let body;
|
|
323
|
-
b.m("GET").h(headers).b(body);
|
|
324
|
-
return b.build();
|
|
325
|
-
};
|
|
326
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
327
|
-
const b = core.requestBuilder(input, context);
|
|
328
|
-
const headers = {
|
|
329
|
-
"content-type": "application/json",
|
|
330
|
-
};
|
|
331
|
-
b.bp("/tags/{resourceArn}");
|
|
332
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
333
|
-
let body;
|
|
334
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
335
|
-
tags: (_) => smithyClient._json(_),
|
|
336
|
-
}));
|
|
337
|
-
b.m("POST").h(headers).b(body);
|
|
338
|
-
return b.build();
|
|
339
|
-
};
|
|
340
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
341
|
-
const b = core.requestBuilder(input, context);
|
|
342
|
-
const headers = {};
|
|
343
|
-
b.bp("/tags/{resourceArn}");
|
|
344
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
345
|
-
const query = smithyClient.map({
|
|
346
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
347
|
-
});
|
|
348
|
-
let body;
|
|
349
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
350
|
-
return b.build();
|
|
351
|
-
};
|
|
352
|
-
const se_UpdateMonitorCommand = async (input, context) => {
|
|
353
|
-
const b = core.requestBuilder(input, context);
|
|
354
|
-
const headers = {
|
|
355
|
-
"content-type": "application/json",
|
|
356
|
-
};
|
|
357
|
-
b.bp("/monitors/{monitorName}");
|
|
358
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
359
|
-
let body;
|
|
360
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
361
|
-
aggregationPeriod: [],
|
|
362
|
-
}));
|
|
363
|
-
b.m("PATCH").h(headers).b(body);
|
|
364
|
-
return b.build();
|
|
365
|
-
};
|
|
366
|
-
const se_UpdateProbeCommand = async (input, context) => {
|
|
367
|
-
const b = core.requestBuilder(input, context);
|
|
368
|
-
const headers = {
|
|
369
|
-
"content-type": "application/json",
|
|
370
|
-
};
|
|
371
|
-
b.bp("/monitors/{monitorName}/probes/{probeId}");
|
|
372
|
-
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
373
|
-
b.p("probeId", () => input.probeId, "{probeId}", false);
|
|
374
|
-
let body;
|
|
375
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
376
|
-
destination: [],
|
|
377
|
-
destinationPort: [],
|
|
378
|
-
packetSize: [],
|
|
379
|
-
protocol: [],
|
|
380
|
-
state: [],
|
|
381
|
-
}));
|
|
382
|
-
b.m("PATCH").h(headers).b(body);
|
|
383
|
-
return b.build();
|
|
384
|
-
};
|
|
385
|
-
const de_CreateMonitorCommand = async (output, context) => {
|
|
386
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
387
|
-
return de_CommandError(output, context);
|
|
388
|
-
}
|
|
389
|
-
const contents = smithyClient.map({
|
|
390
|
-
$metadata: deserializeMetadata(output),
|
|
391
|
-
});
|
|
392
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
393
|
-
const doc = smithyClient.take(data, {
|
|
394
|
-
aggregationPeriod: smithyClient.expectLong,
|
|
395
|
-
monitorArn: smithyClient.expectString,
|
|
396
|
-
monitorName: smithyClient.expectString,
|
|
397
|
-
state: smithyClient.expectString,
|
|
398
|
-
tags: smithyClient._json,
|
|
399
|
-
});
|
|
400
|
-
Object.assign(contents, doc);
|
|
401
|
-
return contents;
|
|
402
|
-
};
|
|
403
|
-
const de_CreateProbeCommand = async (output, context) => {
|
|
404
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
405
|
-
return de_CommandError(output, context);
|
|
406
|
-
}
|
|
407
|
-
const contents = smithyClient.map({
|
|
408
|
-
$metadata: deserializeMetadata(output),
|
|
409
|
-
});
|
|
410
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
411
|
-
const doc = smithyClient.take(data, {
|
|
412
|
-
addressFamily: smithyClient.expectString,
|
|
413
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
414
|
-
destination: smithyClient.expectString,
|
|
415
|
-
destinationPort: smithyClient.expectInt32,
|
|
416
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
417
|
-
packetSize: smithyClient.expectInt32,
|
|
418
|
-
probeArn: smithyClient.expectString,
|
|
419
|
-
probeId: smithyClient.expectString,
|
|
420
|
-
protocol: smithyClient.expectString,
|
|
421
|
-
sourceArn: smithyClient.expectString,
|
|
422
|
-
state: smithyClient.expectString,
|
|
423
|
-
tags: smithyClient._json,
|
|
424
|
-
vpcId: smithyClient.expectString,
|
|
425
|
-
});
|
|
426
|
-
Object.assign(contents, doc);
|
|
427
|
-
return contents;
|
|
428
|
-
};
|
|
429
|
-
const de_DeleteMonitorCommand = async (output, context) => {
|
|
430
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
431
|
-
return de_CommandError(output, context);
|
|
432
|
-
}
|
|
433
|
-
const contents = smithyClient.map({
|
|
434
|
-
$metadata: deserializeMetadata(output),
|
|
435
|
-
});
|
|
436
|
-
await smithyClient.collectBody(output.body, context);
|
|
437
|
-
return contents;
|
|
438
|
-
};
|
|
439
|
-
const de_DeleteProbeCommand = async (output, context) => {
|
|
440
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
441
|
-
return de_CommandError(output, context);
|
|
442
|
-
}
|
|
443
|
-
const contents = smithyClient.map({
|
|
444
|
-
$metadata: deserializeMetadata(output),
|
|
445
|
-
});
|
|
446
|
-
await smithyClient.collectBody(output.body, context);
|
|
447
|
-
return contents;
|
|
448
|
-
};
|
|
449
|
-
const de_GetMonitorCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
451
|
-
return de_CommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const contents = smithyClient.map({
|
|
454
|
-
$metadata: deserializeMetadata(output),
|
|
455
|
-
});
|
|
456
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
457
|
-
const doc = smithyClient.take(data, {
|
|
458
|
-
aggregationPeriod: smithyClient.expectLong,
|
|
459
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
460
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
461
|
-
monitorArn: smithyClient.expectString,
|
|
462
|
-
monitorName: smithyClient.expectString,
|
|
463
|
-
probes: (_) => de_ProbeList(_),
|
|
464
|
-
state: smithyClient.expectString,
|
|
465
|
-
tags: smithyClient._json,
|
|
466
|
-
});
|
|
467
|
-
Object.assign(contents, doc);
|
|
468
|
-
return contents;
|
|
469
|
-
};
|
|
470
|
-
const de_GetProbeCommand = async (output, context) => {
|
|
471
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
472
|
-
return de_CommandError(output, context);
|
|
473
|
-
}
|
|
474
|
-
const contents = smithyClient.map({
|
|
475
|
-
$metadata: deserializeMetadata(output),
|
|
476
|
-
});
|
|
477
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
478
|
-
const doc = smithyClient.take(data, {
|
|
479
|
-
addressFamily: smithyClient.expectString,
|
|
480
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
481
|
-
destination: smithyClient.expectString,
|
|
482
|
-
destinationPort: smithyClient.expectInt32,
|
|
483
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
484
|
-
packetSize: smithyClient.expectInt32,
|
|
485
|
-
probeArn: smithyClient.expectString,
|
|
486
|
-
probeId: smithyClient.expectString,
|
|
487
|
-
protocol: smithyClient.expectString,
|
|
488
|
-
sourceArn: smithyClient.expectString,
|
|
489
|
-
state: smithyClient.expectString,
|
|
490
|
-
tags: smithyClient._json,
|
|
491
|
-
vpcId: smithyClient.expectString,
|
|
492
|
-
});
|
|
493
|
-
Object.assign(contents, doc);
|
|
494
|
-
return contents;
|
|
495
|
-
};
|
|
496
|
-
const de_ListMonitorsCommand = async (output, context) => {
|
|
497
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
498
|
-
return de_CommandError(output, context);
|
|
499
|
-
}
|
|
500
|
-
const contents = smithyClient.map({
|
|
501
|
-
$metadata: deserializeMetadata(output),
|
|
502
|
-
});
|
|
503
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
504
|
-
const doc = smithyClient.take(data, {
|
|
505
|
-
monitors: smithyClient._json,
|
|
506
|
-
nextToken: smithyClient.expectString,
|
|
507
|
-
});
|
|
508
|
-
Object.assign(contents, doc);
|
|
509
|
-
return contents;
|
|
510
|
-
};
|
|
511
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
512
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
513
|
-
return de_CommandError(output, context);
|
|
514
|
-
}
|
|
515
|
-
const contents = smithyClient.map({
|
|
516
|
-
$metadata: deserializeMetadata(output),
|
|
517
|
-
});
|
|
518
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
519
|
-
const doc = smithyClient.take(data, {
|
|
520
|
-
tags: smithyClient._json,
|
|
521
|
-
});
|
|
522
|
-
Object.assign(contents, doc);
|
|
523
|
-
return contents;
|
|
524
|
-
};
|
|
525
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
526
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
527
|
-
return de_CommandError(output, context);
|
|
528
|
-
}
|
|
529
|
-
const contents = smithyClient.map({
|
|
530
|
-
$metadata: deserializeMetadata(output),
|
|
531
|
-
});
|
|
532
|
-
await smithyClient.collectBody(output.body, context);
|
|
533
|
-
return contents;
|
|
534
|
-
};
|
|
535
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
536
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
537
|
-
return de_CommandError(output, context);
|
|
538
|
-
}
|
|
539
|
-
const contents = smithyClient.map({
|
|
540
|
-
$metadata: deserializeMetadata(output),
|
|
541
|
-
});
|
|
542
|
-
await smithyClient.collectBody(output.body, context);
|
|
543
|
-
return contents;
|
|
544
|
-
};
|
|
545
|
-
const de_UpdateMonitorCommand = async (output, context) => {
|
|
546
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
547
|
-
return de_CommandError(output, context);
|
|
548
|
-
}
|
|
549
|
-
const contents = smithyClient.map({
|
|
550
|
-
$metadata: deserializeMetadata(output),
|
|
551
|
-
});
|
|
552
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
553
|
-
const doc = smithyClient.take(data, {
|
|
554
|
-
aggregationPeriod: smithyClient.expectLong,
|
|
555
|
-
monitorArn: smithyClient.expectString,
|
|
556
|
-
monitorName: smithyClient.expectString,
|
|
557
|
-
state: smithyClient.expectString,
|
|
558
|
-
tags: smithyClient._json,
|
|
559
|
-
});
|
|
560
|
-
Object.assign(contents, doc);
|
|
561
|
-
return contents;
|
|
562
|
-
};
|
|
563
|
-
const de_UpdateProbeCommand = async (output, context) => {
|
|
564
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
565
|
-
return de_CommandError(output, context);
|
|
566
|
-
}
|
|
567
|
-
const contents = smithyClient.map({
|
|
568
|
-
$metadata: deserializeMetadata(output),
|
|
569
|
-
});
|
|
570
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
571
|
-
const doc = smithyClient.take(data, {
|
|
572
|
-
addressFamily: smithyClient.expectString,
|
|
573
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
574
|
-
destination: smithyClient.expectString,
|
|
575
|
-
destinationPort: smithyClient.expectInt32,
|
|
576
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
577
|
-
packetSize: smithyClient.expectInt32,
|
|
578
|
-
probeArn: smithyClient.expectString,
|
|
579
|
-
probeId: smithyClient.expectString,
|
|
580
|
-
protocol: smithyClient.expectString,
|
|
581
|
-
sourceArn: smithyClient.expectString,
|
|
582
|
-
state: smithyClient.expectString,
|
|
583
|
-
tags: smithyClient._json,
|
|
584
|
-
vpcId: smithyClient.expectString,
|
|
585
|
-
});
|
|
586
|
-
Object.assign(contents, doc);
|
|
587
|
-
return contents;
|
|
588
|
-
};
|
|
589
|
-
const de_CommandError = async (output, context) => {
|
|
590
|
-
const parsedOutput = {
|
|
591
|
-
...output,
|
|
592
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
593
|
-
};
|
|
594
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
595
|
-
switch (errorCode) {
|
|
596
|
-
case "AccessDeniedException":
|
|
597
|
-
case "com.amazonaws.networkmonitor#AccessDeniedException":
|
|
598
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
599
|
-
case "ConflictException":
|
|
600
|
-
case "com.amazonaws.networkmonitor#ConflictException":
|
|
601
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
602
|
-
case "InternalServerException":
|
|
603
|
-
case "com.amazonaws.networkmonitor#InternalServerException":
|
|
604
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
605
|
-
case "ServiceQuotaExceededException":
|
|
606
|
-
case "com.amazonaws.networkmonitor#ServiceQuotaExceededException":
|
|
607
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
608
|
-
case "ThrottlingException":
|
|
609
|
-
case "com.amazonaws.networkmonitor#ThrottlingException":
|
|
610
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
611
|
-
case "ValidationException":
|
|
612
|
-
case "com.amazonaws.networkmonitor#ValidationException":
|
|
613
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
614
|
-
case "ResourceNotFoundException":
|
|
615
|
-
case "com.amazonaws.networkmonitor#ResourceNotFoundException":
|
|
616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
617
|
-
default:
|
|
618
|
-
const parsedBody = parsedOutput.body;
|
|
619
|
-
return throwDefaultError({
|
|
620
|
-
output,
|
|
621
|
-
parsedBody,
|
|
622
|
-
errorCode,
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
230
|
};
|
|
626
|
-
|
|
627
|
-
const
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
const
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
const
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
693
|
-
const contents = smithyClient.map({});
|
|
694
|
-
const data = parsedOutput.body;
|
|
695
|
-
const doc = smithyClient.take(data, {
|
|
696
|
-
message: smithyClient.expectString,
|
|
697
|
-
});
|
|
698
|
-
Object.assign(contents, doc);
|
|
699
|
-
const exception = new ThrottlingException({
|
|
700
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
701
|
-
...contents,
|
|
702
|
-
});
|
|
703
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
704
|
-
};
|
|
705
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
706
|
-
const contents = smithyClient.map({});
|
|
707
|
-
const data = parsedOutput.body;
|
|
708
|
-
const doc = smithyClient.take(data, {
|
|
709
|
-
message: smithyClient.expectString,
|
|
710
|
-
});
|
|
711
|
-
Object.assign(contents, doc);
|
|
712
|
-
const exception = new ValidationException({
|
|
713
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
714
|
-
...contents,
|
|
715
|
-
});
|
|
716
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
717
|
-
};
|
|
718
|
-
const de_Probe = (output, context) => {
|
|
719
|
-
return smithyClient.take(output, {
|
|
720
|
-
addressFamily: smithyClient.expectString,
|
|
721
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
722
|
-
destination: smithyClient.expectString,
|
|
723
|
-
destinationPort: smithyClient.expectInt32,
|
|
724
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
725
|
-
packetSize: smithyClient.expectInt32,
|
|
726
|
-
probeArn: smithyClient.expectString,
|
|
727
|
-
probeId: smithyClient.expectString,
|
|
728
|
-
protocol: smithyClient.expectString,
|
|
729
|
-
sourceArn: smithyClient.expectString,
|
|
730
|
-
state: smithyClient.expectString,
|
|
731
|
-
tags: smithyClient._json,
|
|
732
|
-
vpcId: smithyClient.expectString,
|
|
733
|
-
});
|
|
734
|
-
};
|
|
735
|
-
const de_ProbeList = (output, context) => {
|
|
736
|
-
const retVal = (output || [])
|
|
737
|
-
.filter((e) => e != null)
|
|
738
|
-
.map((entry) => {
|
|
739
|
-
return de_Probe(entry);
|
|
740
|
-
});
|
|
741
|
-
return retVal;
|
|
742
|
-
};
|
|
743
|
-
const deserializeMetadata = (output) => ({
|
|
744
|
-
httpStatusCode: output.statusCode,
|
|
745
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
746
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
747
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
748
|
-
});
|
|
231
|
+
|
|
232
|
+
const _ADE = "AccessDeniedException";
|
|
233
|
+
const _CE = "ConflictException";
|
|
234
|
+
const _CM = "CreateMonitor";
|
|
235
|
+
const _CMI = "CreateMonitorInput";
|
|
236
|
+
const _CMO = "CreateMonitorOutput";
|
|
237
|
+
const _CMPI = "CreateMonitorProbeInput";
|
|
238
|
+
const _CMPIL = "CreateMonitorProbeInputList";
|
|
239
|
+
const _CP = "CreateProbe";
|
|
240
|
+
const _CPI = "CreateProbeInput";
|
|
241
|
+
const _CPO = "CreateProbeOutput";
|
|
242
|
+
const _DM = "DeleteMonitor";
|
|
243
|
+
const _DMI = "DeleteMonitorInput";
|
|
244
|
+
const _DMO = "DeleteMonitorOutput";
|
|
245
|
+
const _DP = "DeleteProbe";
|
|
246
|
+
const _DPI = "DeleteProbeInput";
|
|
247
|
+
const _DPO = "DeleteProbeOutput";
|
|
248
|
+
const _GM = "GetMonitor";
|
|
249
|
+
const _GMI = "GetMonitorInput";
|
|
250
|
+
const _GMO = "GetMonitorOutput";
|
|
251
|
+
const _GP = "GetProbe";
|
|
252
|
+
const _GPI = "GetProbeInput";
|
|
253
|
+
const _GPO = "GetProbeOutput";
|
|
254
|
+
const _ISE = "InternalServerException";
|
|
255
|
+
const _LM = "ListMonitors";
|
|
256
|
+
const _LMI = "ListMonitorsInput";
|
|
257
|
+
const _LMO = "ListMonitorsOutput";
|
|
258
|
+
const _LTFR = "ListTagsForResource";
|
|
259
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
260
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
261
|
+
const _ML = "MonitorList";
|
|
262
|
+
const _MS = "MonitorSummary";
|
|
263
|
+
const _P = "Probe";
|
|
264
|
+
const _PI = "ProbeInput";
|
|
265
|
+
const _PL = "ProbeList";
|
|
266
|
+
const _RNFE = "ResourceNotFoundException";
|
|
267
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
268
|
+
const _TE = "ThrottlingException";
|
|
269
|
+
const _TR = "TagResource";
|
|
270
|
+
const _TRI = "TagResourceInput";
|
|
271
|
+
const _TRO = "TagResourceOutput";
|
|
272
|
+
const _UM = "UpdateMonitor";
|
|
273
|
+
const _UMI = "UpdateMonitorInput";
|
|
274
|
+
const _UMO = "UpdateMonitorOutput";
|
|
275
|
+
const _UP = "UpdateProbe";
|
|
276
|
+
const _UPI = "UpdateProbeInput";
|
|
277
|
+
const _UPO = "UpdateProbeOutput";
|
|
278
|
+
const _UR = "UntagResource";
|
|
279
|
+
const _URI = "UntagResourceInput";
|
|
280
|
+
const _URO = "UntagResourceOutput";
|
|
281
|
+
const _VE = "ValidationException";
|
|
282
|
+
const _aF = "addressFamily";
|
|
283
|
+
const _aP = "aggregationPeriod";
|
|
284
|
+
const _c = "client";
|
|
285
|
+
const _cA = "createdAt";
|
|
286
|
+
const _cT = "clientToken";
|
|
287
|
+
const _d = "destination";
|
|
288
|
+
const _dP = "destinationPort";
|
|
289
|
+
const _e = "error";
|
|
290
|
+
const _h = "http";
|
|
291
|
+
const _hE = "httpError";
|
|
292
|
+
const _hQ = "httpQuery";
|
|
293
|
+
const _m = "message";
|
|
294
|
+
const _mA = "monitorArn";
|
|
295
|
+
const _mAo = "modifiedAt";
|
|
296
|
+
const _mN = "monitorName";
|
|
749
297
|
const _mR = "maxResults";
|
|
298
|
+
const _mo = "monitors";
|
|
750
299
|
const _nT = "nextToken";
|
|
300
|
+
const _p = "probes";
|
|
301
|
+
const _pA = "probeArn";
|
|
302
|
+
const _pI = "probeId";
|
|
303
|
+
const _pS = "packetSize";
|
|
304
|
+
const _pT = "probeTags";
|
|
305
|
+
const _pr = "protocol";
|
|
306
|
+
const _pro = "probe";
|
|
307
|
+
const _rA = "resourceArn";
|
|
751
308
|
const _s = "state";
|
|
309
|
+
const _sA = "sourceArn";
|
|
310
|
+
const _se = "server";
|
|
311
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.networkmonitor";
|
|
312
|
+
const _t = "tags";
|
|
752
313
|
const _tK = "tagKeys";
|
|
314
|
+
const _vI = "vpcId";
|
|
315
|
+
const n0 = "com.amazonaws.networkmonitor";
|
|
316
|
+
var AccessDeniedException = [
|
|
317
|
+
-3,
|
|
318
|
+
n0,
|
|
319
|
+
_ADE,
|
|
320
|
+
{
|
|
321
|
+
[_e]: _c,
|
|
322
|
+
[_hE]: 403,
|
|
323
|
+
},
|
|
324
|
+
[_m],
|
|
325
|
+
[0],
|
|
326
|
+
];
|
|
327
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
328
|
+
var ConflictException = [
|
|
329
|
+
-3,
|
|
330
|
+
n0,
|
|
331
|
+
_CE,
|
|
332
|
+
{
|
|
333
|
+
[_e]: _c,
|
|
334
|
+
[_hE]: 409,
|
|
335
|
+
},
|
|
336
|
+
[_m],
|
|
337
|
+
[0],
|
|
338
|
+
];
|
|
339
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
340
|
+
var CreateMonitorInput = [
|
|
341
|
+
3,
|
|
342
|
+
n0,
|
|
343
|
+
_CMI,
|
|
344
|
+
0,
|
|
345
|
+
[_mN, _p, _aP, _cT, _t],
|
|
346
|
+
[0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0],
|
|
347
|
+
];
|
|
348
|
+
var CreateMonitorOutput = [
|
|
349
|
+
3,
|
|
350
|
+
n0,
|
|
351
|
+
_CMO,
|
|
352
|
+
0,
|
|
353
|
+
[_mA, _mN, _s, _aP, _t],
|
|
354
|
+
[0, 0, 0, 1, 128 | 0],
|
|
355
|
+
];
|
|
356
|
+
var CreateMonitorProbeInput = [
|
|
357
|
+
3,
|
|
358
|
+
n0,
|
|
359
|
+
_CMPI,
|
|
360
|
+
0,
|
|
361
|
+
[_sA, _d, _dP, _pr, _pS, _pT],
|
|
362
|
+
[0, 0, 1, 0, 1, 128 | 0],
|
|
363
|
+
];
|
|
364
|
+
var CreateProbeInput = [
|
|
365
|
+
3,
|
|
366
|
+
n0,
|
|
367
|
+
_CPI,
|
|
368
|
+
0,
|
|
369
|
+
[_mN, _pro, _cT, _t],
|
|
370
|
+
[[0, 1], () => ProbeInput, [0, 4], 128 | 0],
|
|
371
|
+
];
|
|
372
|
+
var CreateProbeOutput = [
|
|
373
|
+
3,
|
|
374
|
+
n0,
|
|
375
|
+
_CPO,
|
|
376
|
+
0,
|
|
377
|
+
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
378
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
|
|
379
|
+
];
|
|
380
|
+
var DeleteMonitorInput = [3, n0, _DMI, 0, [_mN], [[0, 1]]];
|
|
381
|
+
var DeleteMonitorOutput = [3, n0, _DMO, 0, [], []];
|
|
382
|
+
var DeleteProbeInput = [
|
|
383
|
+
3,
|
|
384
|
+
n0,
|
|
385
|
+
_DPI,
|
|
386
|
+
0,
|
|
387
|
+
[_mN, _pI],
|
|
388
|
+
[
|
|
389
|
+
[0, 1],
|
|
390
|
+
[0, 1],
|
|
391
|
+
],
|
|
392
|
+
];
|
|
393
|
+
var DeleteProbeOutput = [3, n0, _DPO, 0, [], []];
|
|
394
|
+
var GetMonitorInput = [3, n0, _GMI, 0, [_mN], [[0, 1]]];
|
|
395
|
+
var GetMonitorOutput = [
|
|
396
|
+
3,
|
|
397
|
+
n0,
|
|
398
|
+
_GMO,
|
|
399
|
+
0,
|
|
400
|
+
[_mA, _mN, _s, _aP, _t, _p, _cA, _mAo],
|
|
401
|
+
[0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4],
|
|
402
|
+
];
|
|
403
|
+
var GetProbeInput = [
|
|
404
|
+
3,
|
|
405
|
+
n0,
|
|
406
|
+
_GPI,
|
|
407
|
+
0,
|
|
408
|
+
[_mN, _pI],
|
|
409
|
+
[
|
|
410
|
+
[0, 1],
|
|
411
|
+
[0, 1],
|
|
412
|
+
],
|
|
413
|
+
];
|
|
414
|
+
var GetProbeOutput = [
|
|
415
|
+
3,
|
|
416
|
+
n0,
|
|
417
|
+
_GPO,
|
|
418
|
+
0,
|
|
419
|
+
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
420
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
|
|
421
|
+
];
|
|
422
|
+
var InternalServerException = [
|
|
423
|
+
-3,
|
|
424
|
+
n0,
|
|
425
|
+
_ISE,
|
|
426
|
+
{
|
|
427
|
+
[_e]: _se,
|
|
428
|
+
[_hE]: 500,
|
|
429
|
+
},
|
|
430
|
+
[_m],
|
|
431
|
+
[0],
|
|
432
|
+
];
|
|
433
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
434
|
+
var ListMonitorsInput = [
|
|
435
|
+
3,
|
|
436
|
+
n0,
|
|
437
|
+
_LMI,
|
|
438
|
+
0,
|
|
439
|
+
[_nT, _mR, _s],
|
|
440
|
+
[
|
|
441
|
+
[
|
|
442
|
+
0,
|
|
443
|
+
{
|
|
444
|
+
[_hQ]: _nT,
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
[
|
|
448
|
+
1,
|
|
449
|
+
{
|
|
450
|
+
[_hQ]: _mR,
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
[
|
|
454
|
+
0,
|
|
455
|
+
{
|
|
456
|
+
[_hQ]: _s,
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
],
|
|
460
|
+
];
|
|
461
|
+
var ListMonitorsOutput = [3, n0, _LMO, 0, [_mo, _nT], [() => MonitorList, 0]];
|
|
462
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
463
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
464
|
+
var MonitorSummary = [3, n0, _MS, 0, [_mA, _mN, _s, _aP, _t], [0, 0, 0, 1, 128 | 0]];
|
|
465
|
+
var Probe = [
|
|
466
|
+
3,
|
|
467
|
+
n0,
|
|
468
|
+
_P,
|
|
469
|
+
0,
|
|
470
|
+
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
471
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
|
|
472
|
+
];
|
|
473
|
+
var ProbeInput = [3, n0, _PI, 0, [_sA, _d, _dP, _pr, _pS, _t], [0, 0, 1, 0, 1, 128 | 0]];
|
|
474
|
+
var ResourceNotFoundException = [
|
|
475
|
+
-3,
|
|
476
|
+
n0,
|
|
477
|
+
_RNFE,
|
|
478
|
+
{
|
|
479
|
+
[_e]: _c,
|
|
480
|
+
[_hE]: 404,
|
|
481
|
+
},
|
|
482
|
+
[_m],
|
|
483
|
+
[0],
|
|
484
|
+
];
|
|
485
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
486
|
+
var ServiceQuotaExceededException = [
|
|
487
|
+
-3,
|
|
488
|
+
n0,
|
|
489
|
+
_SQEE,
|
|
490
|
+
{
|
|
491
|
+
[_e]: _c,
|
|
492
|
+
[_hE]: 402,
|
|
493
|
+
},
|
|
494
|
+
[_m],
|
|
495
|
+
[0],
|
|
496
|
+
];
|
|
497
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
498
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
499
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
500
|
+
var ThrottlingException = [
|
|
501
|
+
-3,
|
|
502
|
+
n0,
|
|
503
|
+
_TE,
|
|
504
|
+
{
|
|
505
|
+
[_e]: _c,
|
|
506
|
+
[_hE]: 429,
|
|
507
|
+
},
|
|
508
|
+
[_m],
|
|
509
|
+
[0],
|
|
510
|
+
];
|
|
511
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
512
|
+
var UntagResourceInput = [
|
|
513
|
+
3,
|
|
514
|
+
n0,
|
|
515
|
+
_URI,
|
|
516
|
+
0,
|
|
517
|
+
[_rA, _tK],
|
|
518
|
+
[
|
|
519
|
+
[0, 1],
|
|
520
|
+
[
|
|
521
|
+
64 | 0,
|
|
522
|
+
{
|
|
523
|
+
[_hQ]: _tK,
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
],
|
|
527
|
+
];
|
|
528
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
529
|
+
var UpdateMonitorInput = [3, n0, _UMI, 0, [_mN, _aP], [[0, 1], 1]];
|
|
530
|
+
var UpdateMonitorOutput = [
|
|
531
|
+
3,
|
|
532
|
+
n0,
|
|
533
|
+
_UMO,
|
|
534
|
+
0,
|
|
535
|
+
[_mA, _mN, _s, _aP, _t],
|
|
536
|
+
[0, 0, 0, 1, 128 | 0],
|
|
537
|
+
];
|
|
538
|
+
var UpdateProbeInput = [
|
|
539
|
+
3,
|
|
540
|
+
n0,
|
|
541
|
+
_UPI,
|
|
542
|
+
0,
|
|
543
|
+
[_mN, _pI, _s, _d, _dP, _pr, _pS],
|
|
544
|
+
[[0, 1], [0, 1], 0, 0, 1, 0, 1],
|
|
545
|
+
];
|
|
546
|
+
var UpdateProbeOutput = [
|
|
547
|
+
3,
|
|
548
|
+
n0,
|
|
549
|
+
_UPO,
|
|
550
|
+
0,
|
|
551
|
+
[_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
|
|
552
|
+
[0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
|
|
553
|
+
];
|
|
554
|
+
var ValidationException = [
|
|
555
|
+
-3,
|
|
556
|
+
n0,
|
|
557
|
+
_VE,
|
|
558
|
+
{
|
|
559
|
+
[_e]: _c,
|
|
560
|
+
[_hE]: 400,
|
|
561
|
+
},
|
|
562
|
+
[_m],
|
|
563
|
+
[0],
|
|
564
|
+
];
|
|
565
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
566
|
+
var NetworkMonitorServiceException = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
|
|
567
|
+
schema.TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException, NetworkMonitorServiceException$1);
|
|
568
|
+
var CreateMonitorProbeInputList = [1, n0, _CMPIL, 0, () => CreateMonitorProbeInput];
|
|
569
|
+
var MonitorList = [1, n0, _ML, 0, () => MonitorSummary];
|
|
570
|
+
var ProbeList = [1, n0, _PL, 0, () => Probe];
|
|
571
|
+
var CreateMonitor = [
|
|
572
|
+
9,
|
|
573
|
+
n0,
|
|
574
|
+
_CM,
|
|
575
|
+
{
|
|
576
|
+
[_h]: ["POST", "/monitors", 200],
|
|
577
|
+
},
|
|
578
|
+
() => CreateMonitorInput,
|
|
579
|
+
() => CreateMonitorOutput,
|
|
580
|
+
];
|
|
581
|
+
var CreateProbe = [
|
|
582
|
+
9,
|
|
583
|
+
n0,
|
|
584
|
+
_CP,
|
|
585
|
+
{
|
|
586
|
+
[_h]: ["POST", "/monitors/{monitorName}/probes", 200],
|
|
587
|
+
},
|
|
588
|
+
() => CreateProbeInput,
|
|
589
|
+
() => CreateProbeOutput,
|
|
590
|
+
];
|
|
591
|
+
var DeleteMonitor = [
|
|
592
|
+
9,
|
|
593
|
+
n0,
|
|
594
|
+
_DM,
|
|
595
|
+
{
|
|
596
|
+
[_h]: ["DELETE", "/monitors/{monitorName}", 200],
|
|
597
|
+
},
|
|
598
|
+
() => DeleteMonitorInput,
|
|
599
|
+
() => DeleteMonitorOutput,
|
|
600
|
+
];
|
|
601
|
+
var DeleteProbe = [
|
|
602
|
+
9,
|
|
603
|
+
n0,
|
|
604
|
+
_DP,
|
|
605
|
+
{
|
|
606
|
+
[_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200],
|
|
607
|
+
},
|
|
608
|
+
() => DeleteProbeInput,
|
|
609
|
+
() => DeleteProbeOutput,
|
|
610
|
+
];
|
|
611
|
+
var GetMonitor = [
|
|
612
|
+
9,
|
|
613
|
+
n0,
|
|
614
|
+
_GM,
|
|
615
|
+
{
|
|
616
|
+
[_h]: ["GET", "/monitors/{monitorName}", 200],
|
|
617
|
+
},
|
|
618
|
+
() => GetMonitorInput,
|
|
619
|
+
() => GetMonitorOutput,
|
|
620
|
+
];
|
|
621
|
+
var GetProbe = [
|
|
622
|
+
9,
|
|
623
|
+
n0,
|
|
624
|
+
_GP,
|
|
625
|
+
{
|
|
626
|
+
[_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200],
|
|
627
|
+
},
|
|
628
|
+
() => GetProbeInput,
|
|
629
|
+
() => GetProbeOutput,
|
|
630
|
+
];
|
|
631
|
+
var ListMonitors = [
|
|
632
|
+
9,
|
|
633
|
+
n0,
|
|
634
|
+
_LM,
|
|
635
|
+
{
|
|
636
|
+
[_h]: ["GET", "/monitors", 200],
|
|
637
|
+
},
|
|
638
|
+
() => ListMonitorsInput,
|
|
639
|
+
() => ListMonitorsOutput,
|
|
640
|
+
];
|
|
641
|
+
var ListTagsForResource = [
|
|
642
|
+
9,
|
|
643
|
+
n0,
|
|
644
|
+
_LTFR,
|
|
645
|
+
{
|
|
646
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
647
|
+
},
|
|
648
|
+
() => ListTagsForResourceInput,
|
|
649
|
+
() => ListTagsForResourceOutput,
|
|
650
|
+
];
|
|
651
|
+
var TagResource = [
|
|
652
|
+
9,
|
|
653
|
+
n0,
|
|
654
|
+
_TR,
|
|
655
|
+
{
|
|
656
|
+
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
657
|
+
},
|
|
658
|
+
() => TagResourceInput,
|
|
659
|
+
() => TagResourceOutput,
|
|
660
|
+
];
|
|
661
|
+
var UntagResource = [
|
|
662
|
+
9,
|
|
663
|
+
n0,
|
|
664
|
+
_UR,
|
|
665
|
+
{
|
|
666
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
667
|
+
},
|
|
668
|
+
() => UntagResourceInput,
|
|
669
|
+
() => UntagResourceOutput,
|
|
670
|
+
];
|
|
671
|
+
var UpdateMonitor = [
|
|
672
|
+
9,
|
|
673
|
+
n0,
|
|
674
|
+
_UM,
|
|
675
|
+
{
|
|
676
|
+
[_h]: ["PATCH", "/monitors/{monitorName}", 200],
|
|
677
|
+
},
|
|
678
|
+
() => UpdateMonitorInput,
|
|
679
|
+
() => UpdateMonitorOutput,
|
|
680
|
+
];
|
|
681
|
+
var UpdateProbe = [
|
|
682
|
+
9,
|
|
683
|
+
n0,
|
|
684
|
+
_UP,
|
|
685
|
+
{
|
|
686
|
+
[_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200],
|
|
687
|
+
},
|
|
688
|
+
() => UpdateProbeInput,
|
|
689
|
+
() => UpdateProbeOutput,
|
|
690
|
+
];
|
|
753
691
|
|
|
754
692
|
class CreateMonitorCommand extends smithyClient.Command
|
|
755
693
|
.classBuilder()
|
|
756
694
|
.ep(commonParams)
|
|
757
695
|
.m(function (Command, cs, config, o) {
|
|
758
|
-
return [
|
|
759
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
760
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
761
|
-
];
|
|
696
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
762
697
|
})
|
|
763
698
|
.s("NetworkMonitor", "CreateMonitor", {})
|
|
764
699
|
.n("NetworkMonitorClient", "CreateMonitorCommand")
|
|
765
|
-
.
|
|
766
|
-
.ser(se_CreateMonitorCommand)
|
|
767
|
-
.de(de_CreateMonitorCommand)
|
|
700
|
+
.sc(CreateMonitor)
|
|
768
701
|
.build() {
|
|
769
702
|
}
|
|
770
703
|
|
|
@@ -772,16 +705,11 @@ class CreateProbeCommand extends smithyClient.Command
|
|
|
772
705
|
.classBuilder()
|
|
773
706
|
.ep(commonParams)
|
|
774
707
|
.m(function (Command, cs, config, o) {
|
|
775
|
-
return [
|
|
776
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
777
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
778
|
-
];
|
|
708
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
779
709
|
})
|
|
780
710
|
.s("NetworkMonitor", "CreateProbe", {})
|
|
781
711
|
.n("NetworkMonitorClient", "CreateProbeCommand")
|
|
782
|
-
.
|
|
783
|
-
.ser(se_CreateProbeCommand)
|
|
784
|
-
.de(de_CreateProbeCommand)
|
|
712
|
+
.sc(CreateProbe)
|
|
785
713
|
.build() {
|
|
786
714
|
}
|
|
787
715
|
|
|
@@ -789,16 +717,11 @@ class DeleteMonitorCommand extends smithyClient.Command
|
|
|
789
717
|
.classBuilder()
|
|
790
718
|
.ep(commonParams)
|
|
791
719
|
.m(function (Command, cs, config, o) {
|
|
792
|
-
return [
|
|
793
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
794
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
795
|
-
];
|
|
720
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
796
721
|
})
|
|
797
722
|
.s("NetworkMonitor", "DeleteMonitor", {})
|
|
798
723
|
.n("NetworkMonitorClient", "DeleteMonitorCommand")
|
|
799
|
-
.
|
|
800
|
-
.ser(se_DeleteMonitorCommand)
|
|
801
|
-
.de(de_DeleteMonitorCommand)
|
|
724
|
+
.sc(DeleteMonitor)
|
|
802
725
|
.build() {
|
|
803
726
|
}
|
|
804
727
|
|
|
@@ -806,16 +729,11 @@ class DeleteProbeCommand extends smithyClient.Command
|
|
|
806
729
|
.classBuilder()
|
|
807
730
|
.ep(commonParams)
|
|
808
731
|
.m(function (Command, cs, config, o) {
|
|
809
|
-
return [
|
|
810
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
811
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
812
|
-
];
|
|
732
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
813
733
|
})
|
|
814
734
|
.s("NetworkMonitor", "DeleteProbe", {})
|
|
815
735
|
.n("NetworkMonitorClient", "DeleteProbeCommand")
|
|
816
|
-
.
|
|
817
|
-
.ser(se_DeleteProbeCommand)
|
|
818
|
-
.de(de_DeleteProbeCommand)
|
|
736
|
+
.sc(DeleteProbe)
|
|
819
737
|
.build() {
|
|
820
738
|
}
|
|
821
739
|
|
|
@@ -823,16 +741,11 @@ class GetMonitorCommand extends smithyClient.Command
|
|
|
823
741
|
.classBuilder()
|
|
824
742
|
.ep(commonParams)
|
|
825
743
|
.m(function (Command, cs, config, o) {
|
|
826
|
-
return [
|
|
827
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
828
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
829
|
-
];
|
|
744
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
830
745
|
})
|
|
831
746
|
.s("NetworkMonitor", "GetMonitor", {})
|
|
832
747
|
.n("NetworkMonitorClient", "GetMonitorCommand")
|
|
833
|
-
.
|
|
834
|
-
.ser(se_GetMonitorCommand)
|
|
835
|
-
.de(de_GetMonitorCommand)
|
|
748
|
+
.sc(GetMonitor)
|
|
836
749
|
.build() {
|
|
837
750
|
}
|
|
838
751
|
|
|
@@ -840,16 +753,11 @@ class GetProbeCommand extends smithyClient.Command
|
|
|
840
753
|
.classBuilder()
|
|
841
754
|
.ep(commonParams)
|
|
842
755
|
.m(function (Command, cs, config, o) {
|
|
843
|
-
return [
|
|
844
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
845
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
846
|
-
];
|
|
756
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
847
757
|
})
|
|
848
758
|
.s("NetworkMonitor", "GetProbe", {})
|
|
849
759
|
.n("NetworkMonitorClient", "GetProbeCommand")
|
|
850
|
-
.
|
|
851
|
-
.ser(se_GetProbeCommand)
|
|
852
|
-
.de(de_GetProbeCommand)
|
|
760
|
+
.sc(GetProbe)
|
|
853
761
|
.build() {
|
|
854
762
|
}
|
|
855
763
|
|
|
@@ -857,16 +765,11 @@ class ListMonitorsCommand extends smithyClient.Command
|
|
|
857
765
|
.classBuilder()
|
|
858
766
|
.ep(commonParams)
|
|
859
767
|
.m(function (Command, cs, config, o) {
|
|
860
|
-
return [
|
|
861
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
862
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
863
|
-
];
|
|
768
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
864
769
|
})
|
|
865
770
|
.s("NetworkMonitor", "ListMonitors", {})
|
|
866
771
|
.n("NetworkMonitorClient", "ListMonitorsCommand")
|
|
867
|
-
.
|
|
868
|
-
.ser(se_ListMonitorsCommand)
|
|
869
|
-
.de(de_ListMonitorsCommand)
|
|
772
|
+
.sc(ListMonitors)
|
|
870
773
|
.build() {
|
|
871
774
|
}
|
|
872
775
|
|
|
@@ -874,16 +777,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
874
777
|
.classBuilder()
|
|
875
778
|
.ep(commonParams)
|
|
876
779
|
.m(function (Command, cs, config, o) {
|
|
877
|
-
return [
|
|
878
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
879
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
880
|
-
];
|
|
780
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
881
781
|
})
|
|
882
782
|
.s("NetworkMonitor", "ListTagsForResource", {})
|
|
883
783
|
.n("NetworkMonitorClient", "ListTagsForResourceCommand")
|
|
884
|
-
.
|
|
885
|
-
.ser(se_ListTagsForResourceCommand)
|
|
886
|
-
.de(de_ListTagsForResourceCommand)
|
|
784
|
+
.sc(ListTagsForResource)
|
|
887
785
|
.build() {
|
|
888
786
|
}
|
|
889
787
|
|
|
@@ -891,16 +789,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
891
789
|
.classBuilder()
|
|
892
790
|
.ep(commonParams)
|
|
893
791
|
.m(function (Command, cs, config, o) {
|
|
894
|
-
return [
|
|
895
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
896
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
897
|
-
];
|
|
792
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
898
793
|
})
|
|
899
794
|
.s("NetworkMonitor", "TagResource", {})
|
|
900
795
|
.n("NetworkMonitorClient", "TagResourceCommand")
|
|
901
|
-
.
|
|
902
|
-
.ser(se_TagResourceCommand)
|
|
903
|
-
.de(de_TagResourceCommand)
|
|
796
|
+
.sc(TagResource)
|
|
904
797
|
.build() {
|
|
905
798
|
}
|
|
906
799
|
|
|
@@ -908,16 +801,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
908
801
|
.classBuilder()
|
|
909
802
|
.ep(commonParams)
|
|
910
803
|
.m(function (Command, cs, config, o) {
|
|
911
|
-
return [
|
|
912
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
913
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
914
|
-
];
|
|
804
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
915
805
|
})
|
|
916
806
|
.s("NetworkMonitor", "UntagResource", {})
|
|
917
807
|
.n("NetworkMonitorClient", "UntagResourceCommand")
|
|
918
|
-
.
|
|
919
|
-
.ser(se_UntagResourceCommand)
|
|
920
|
-
.de(de_UntagResourceCommand)
|
|
808
|
+
.sc(UntagResource)
|
|
921
809
|
.build() {
|
|
922
810
|
}
|
|
923
811
|
|
|
@@ -925,16 +813,11 @@ class UpdateMonitorCommand extends smithyClient.Command
|
|
|
925
813
|
.classBuilder()
|
|
926
814
|
.ep(commonParams)
|
|
927
815
|
.m(function (Command, cs, config, o) {
|
|
928
|
-
return [
|
|
929
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
930
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
931
|
-
];
|
|
816
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
932
817
|
})
|
|
933
818
|
.s("NetworkMonitor", "UpdateMonitor", {})
|
|
934
819
|
.n("NetworkMonitorClient", "UpdateMonitorCommand")
|
|
935
|
-
.
|
|
936
|
-
.ser(se_UpdateMonitorCommand)
|
|
937
|
-
.de(de_UpdateMonitorCommand)
|
|
820
|
+
.sc(UpdateMonitor)
|
|
938
821
|
.build() {
|
|
939
822
|
}
|
|
940
823
|
|
|
@@ -942,16 +825,11 @@ class UpdateProbeCommand extends smithyClient.Command
|
|
|
942
825
|
.classBuilder()
|
|
943
826
|
.ep(commonParams)
|
|
944
827
|
.m(function (Command, cs, config, o) {
|
|
945
|
-
return [
|
|
946
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
947
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
948
|
-
];
|
|
828
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
949
829
|
})
|
|
950
830
|
.s("NetworkMonitor", "UpdateProbe", {})
|
|
951
831
|
.n("NetworkMonitorClient", "UpdateProbeCommand")
|
|
952
|
-
.
|
|
953
|
-
.ser(se_UpdateProbeCommand)
|
|
954
|
-
.de(de_UpdateProbeCommand)
|
|
832
|
+
.sc(UpdateProbe)
|
|
955
833
|
.build() {
|
|
956
834
|
}
|
|
957
835
|
|
|
@@ -983,30 +861,30 @@ Object.defineProperty(exports, "__Client", {
|
|
|
983
861
|
enumerable: true,
|
|
984
862
|
get: function () { return smithyClient.Client; }
|
|
985
863
|
});
|
|
986
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
864
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
987
865
|
exports.AddressFamily = AddressFamily;
|
|
988
|
-
exports.ConflictException = ConflictException;
|
|
866
|
+
exports.ConflictException = ConflictException$1;
|
|
989
867
|
exports.CreateMonitorCommand = CreateMonitorCommand;
|
|
990
868
|
exports.CreateProbeCommand = CreateProbeCommand;
|
|
991
869
|
exports.DeleteMonitorCommand = DeleteMonitorCommand;
|
|
992
870
|
exports.DeleteProbeCommand = DeleteProbeCommand;
|
|
993
871
|
exports.GetMonitorCommand = GetMonitorCommand;
|
|
994
872
|
exports.GetProbeCommand = GetProbeCommand;
|
|
995
|
-
exports.InternalServerException = InternalServerException;
|
|
873
|
+
exports.InternalServerException = InternalServerException$1;
|
|
996
874
|
exports.ListMonitorsCommand = ListMonitorsCommand;
|
|
997
875
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
998
876
|
exports.MonitorState = MonitorState;
|
|
999
877
|
exports.NetworkMonitor = NetworkMonitor;
|
|
1000
878
|
exports.NetworkMonitorClient = NetworkMonitorClient;
|
|
1001
|
-
exports.NetworkMonitorServiceException = NetworkMonitorServiceException;
|
|
879
|
+
exports.NetworkMonitorServiceException = NetworkMonitorServiceException$1;
|
|
1002
880
|
exports.ProbeState = ProbeState;
|
|
1003
881
|
exports.Protocol = Protocol;
|
|
1004
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1005
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
882
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
883
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1006
884
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1007
|
-
exports.ThrottlingException = ThrottlingException;
|
|
885
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1008
886
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1009
887
|
exports.UpdateMonitorCommand = UpdateMonitorCommand;
|
|
1010
888
|
exports.UpdateProbeCommand = UpdateProbeCommand;
|
|
1011
|
-
exports.ValidationException = ValidationException;
|
|
889
|
+
exports.ValidationException = ValidationException$1;
|
|
1012
890
|
exports.paginateListMonitors = paginateListMonitors;
|