@aws-sdk/client-networkflowmonitor 3.928.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist-cjs/index.js +1082 -1053
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/NetworkFlowMonitorClient.js +2 -0
  4. package/dist-es/commands/CreateMonitorCommand.js +3 -9
  5. package/dist-es/commands/CreateScopeCommand.js +3 -9
  6. package/dist-es/commands/DeleteMonitorCommand.js +3 -9
  7. package/dist-es/commands/DeleteScopeCommand.js +3 -9
  8. package/dist-es/commands/GetMonitorCommand.js +3 -9
  9. package/dist-es/commands/GetQueryResultsMonitorTopContributorsCommand.js +3 -9
  10. package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +3 -9
  11. package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +3 -9
  12. package/dist-es/commands/GetQueryStatusMonitorTopContributorsCommand.js +3 -9
  13. package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +3 -9
  14. package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +3 -9
  15. package/dist-es/commands/GetScopeCommand.js +3 -9
  16. package/dist-es/commands/ListMonitorsCommand.js +3 -9
  17. package/dist-es/commands/ListScopesCommand.js +3 -9
  18. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  19. package/dist-es/commands/StartQueryMonitorTopContributorsCommand.js +3 -9
  20. package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +3 -9
  21. package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +3 -9
  22. package/dist-es/commands/StopQueryMonitorTopContributorsCommand.js +3 -9
  23. package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +3 -9
  24. package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateMonitorCommand.js +3 -9
  28. package/dist-es/commands/UpdateScopeCommand.js +3 -9
  29. package/dist-es/models/models_0.js +0 -8
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +1018 -0
  32. package/dist-types/NetworkFlowMonitorClient.d.ts +10 -1
  33. package/dist-types/models/models_0.d.ts +4 -1
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  35. package/dist-types/runtimeConfig.d.ts +1 -0
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +110 -0
  39. package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +0 -1
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +115 -0
  46. package/package.json +33 -34
  47. package/dist-es/protocols/Aws_restJson1.js +0 -854
  48. package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
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, {
@@ -90,6 +88,7 @@ class NetworkFlowMonitorClient extends smithyClient.Client {
90
88
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
91
89
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
92
90
  this.config = _config_8;
91
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
93
92
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
94
93
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
95
94
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -109,14 +108,14 @@ class NetworkFlowMonitorClient extends smithyClient.Client {
109
108
  }
110
109
  }
111
110
 
112
- class NetworkFlowMonitorServiceException extends smithyClient.ServiceException {
111
+ let NetworkFlowMonitorServiceException$1 = class NetworkFlowMonitorServiceException extends smithyClient.ServiceException {
113
112
  constructor(options) {
114
113
  super(options);
115
114
  Object.setPrototypeOf(this, NetworkFlowMonitorServiceException.prototype);
116
115
  }
117
- }
116
+ };
118
117
 
119
- class AccessDeniedException extends NetworkFlowMonitorServiceException {
118
+ let AccessDeniedException$1 = class AccessDeniedException extends NetworkFlowMonitorServiceException$1 {
120
119
  name = "AccessDeniedException";
121
120
  $fault = "client";
122
121
  constructor(opts) {
@@ -127,8 +126,8 @@ class AccessDeniedException extends NetworkFlowMonitorServiceException {
127
126
  });
128
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
129
128
  }
130
- }
131
- class ConflictException extends NetworkFlowMonitorServiceException {
129
+ };
130
+ let ConflictException$1 = class ConflictException extends NetworkFlowMonitorServiceException$1 {
132
131
  name = "ConflictException";
133
132
  $fault = "client";
134
133
  constructor(opts) {
@@ -139,7 +138,7 @@ class ConflictException extends NetworkFlowMonitorServiceException {
139
138
  });
140
139
  Object.setPrototypeOf(this, ConflictException.prototype);
141
140
  }
142
- }
141
+ };
143
142
  const MonitorLocalResourceType = {
144
143
  AWS_AZ: "AWS::AvailabilityZone",
145
144
  AWS_REGION: "AWS::Region",
@@ -160,7 +159,7 @@ const MonitorStatus = {
160
159
  INACTIVE: "INACTIVE",
161
160
  PENDING: "PENDING",
162
161
  };
163
- class InternalServerException extends NetworkFlowMonitorServiceException {
162
+ let InternalServerException$1 = class InternalServerException extends NetworkFlowMonitorServiceException$1 {
164
163
  name = "InternalServerException";
165
164
  $fault = "server";
166
165
  $retryable = {};
@@ -172,8 +171,8 @@ class InternalServerException extends NetworkFlowMonitorServiceException {
172
171
  });
173
172
  Object.setPrototypeOf(this, InternalServerException.prototype);
174
173
  }
175
- }
176
- class ServiceQuotaExceededException extends NetworkFlowMonitorServiceException {
174
+ };
175
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends NetworkFlowMonitorServiceException$1 {
177
176
  name = "ServiceQuotaExceededException";
178
177
  $fault = "client";
179
178
  constructor(opts) {
@@ -184,8 +183,8 @@ class ServiceQuotaExceededException extends NetworkFlowMonitorServiceException {
184
183
  });
185
184
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
186
185
  }
187
- }
188
- class ThrottlingException extends NetworkFlowMonitorServiceException {
186
+ };
187
+ let ThrottlingException$1 = class ThrottlingException extends NetworkFlowMonitorServiceException$1 {
189
188
  name = "ThrottlingException";
190
189
  $fault = "client";
191
190
  $retryable = {
@@ -199,8 +198,8 @@ class ThrottlingException extends NetworkFlowMonitorServiceException {
199
198
  });
200
199
  Object.setPrototypeOf(this, ThrottlingException.prototype);
201
200
  }
202
- }
203
- class ValidationException extends NetworkFlowMonitorServiceException {
201
+ };
202
+ let ValidationException$1 = class ValidationException extends NetworkFlowMonitorServiceException$1 {
204
203
  name = "ValidationException";
205
204
  $fault = "client";
206
205
  constructor(opts) {
@@ -211,15 +210,7 @@ class ValidationException extends NetworkFlowMonitorServiceException {
211
210
  });
212
211
  Object.setPrototypeOf(this, ValidationException.prototype);
213
212
  }
214
- }
215
- exports.TargetId = void 0;
216
- (function (TargetId) {
217
- TargetId.visit = (value, visitor) => {
218
- if (value.accountId !== undefined)
219
- return visitor.accountId(value.accountId);
220
- return visitor._(value.$unknown[0], value.$unknown[1]);
221
- };
222
- })(exports.TargetId || (exports.TargetId = {}));
213
+ };
223
214
  const TargetType = {
224
215
  ACCOUNT: "ACCOUNT",
225
216
  };
@@ -230,7 +221,7 @@ const ScopeStatus = {
230
221
  IN_PROGRESS: "IN_PROGRESS",
231
222
  SUCCEEDED: "SUCCEEDED",
232
223
  };
233
- class ResourceNotFoundException extends NetworkFlowMonitorServiceException {
224
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends NetworkFlowMonitorServiceException$1 {
234
225
  name = "ResourceNotFoundException";
235
226
  $fault = "client";
236
227
  constructor(opts) {
@@ -241,7 +232,7 @@ class ResourceNotFoundException extends NetworkFlowMonitorServiceException {
241
232
  });
242
233
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
243
234
  }
244
- }
235
+ };
245
236
  const DestinationCategory = {
246
237
  AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
247
238
  AMAZON_S3: "AMAZON_S3",
@@ -299,868 +290,1026 @@ const WorkloadInsightsMetric = {
299
290
  TIMEOUTS: "TIMEOUTS",
300
291
  };
301
292
 
302
- const se_CreateMonitorCommand = async (input, context) => {
303
- const b = core.requestBuilder(input, context);
304
- const headers = {
305
- "content-type": "application/json",
306
- };
307
- b.bp("/monitors");
308
- let body;
309
- body = JSON.stringify(smithyClient.take(input, {
310
- clientToken: [true, (_) => _ ?? uuid.v4()],
311
- localResources: (_) => smithyClient._json(_),
312
- monitorName: [],
313
- remoteResources: (_) => smithyClient._json(_),
314
- scopeArn: [],
315
- tags: (_) => smithyClient._json(_),
316
- }));
317
- b.m("POST").h(headers).b(body);
318
- return b.build();
319
- };
320
- const se_CreateScopeCommand = async (input, context) => {
321
- const b = core.requestBuilder(input, context);
322
- const headers = {
323
- "content-type": "application/json",
324
- };
325
- b.bp("/scopes");
326
- let body;
327
- body = JSON.stringify(smithyClient.take(input, {
328
- clientToken: [true, (_) => _ ?? uuid.v4()],
329
- tags: (_) => smithyClient._json(_),
330
- targets: (_) => smithyClient._json(_),
331
- }));
332
- b.m("POST").h(headers).b(body);
333
- return b.build();
334
- };
335
- const se_DeleteMonitorCommand = async (input, context) => {
336
- const b = core.requestBuilder(input, context);
337
- const headers = {};
338
- b.bp("/monitors/{monitorName}");
339
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
340
- let body;
341
- b.m("DELETE").h(headers).b(body);
342
- return b.build();
343
- };
344
- const se_DeleteScopeCommand = async (input, context) => {
345
- const b = core.requestBuilder(input, context);
346
- const headers = {};
347
- b.bp("/scopes/{scopeId}");
348
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
349
- let body;
350
- b.m("DELETE").h(headers).b(body);
351
- return b.build();
352
- };
353
- const se_GetMonitorCommand = async (input, context) => {
354
- const b = core.requestBuilder(input, context);
355
- const headers = {};
356
- b.bp("/monitors/{monitorName}");
357
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
358
- let body;
359
- b.m("GET").h(headers).b(body);
360
- return b.build();
361
- };
362
- const se_GetQueryResultsMonitorTopContributorsCommand = async (input, context) => {
363
- const b = core.requestBuilder(input, context);
364
- const headers = {};
365
- b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/results");
366
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
367
- b.p("queryId", () => input.queryId, "{queryId}", false);
368
- const query = smithyClient.map({
369
- [_nT]: [, input[_nT]],
370
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
371
- });
372
- let body;
373
- b.m("GET").h(headers).q(query).b(body);
374
- return b.build();
375
- };
376
- const se_GetQueryResultsWorkloadInsightsTopContributorsCommand = async (input, context) => {
377
- const b = core.requestBuilder(input, context);
378
- const headers = {};
379
- b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results");
380
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
381
- b.p("queryId", () => input.queryId, "{queryId}", false);
382
- const query = smithyClient.map({
383
- [_nT]: [, input[_nT]],
384
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
385
- });
386
- let body;
387
- b.m("GET").h(headers).q(query).b(body);
388
- return b.build();
389
- };
390
- const se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = async (input, context) => {
391
- const b = core.requestBuilder(input, context);
392
- const headers = {};
393
- b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results");
394
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
395
- b.p("queryId", () => input.queryId, "{queryId}", false);
396
- const query = smithyClient.map({
397
- [_nT]: [, input[_nT]],
398
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
399
- });
400
- let body;
401
- b.m("GET").h(headers).q(query).b(body);
402
- return b.build();
403
- };
404
- const se_GetQueryStatusMonitorTopContributorsCommand = async (input, context) => {
405
- const b = core.requestBuilder(input, context);
406
- const headers = {};
407
- b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/status");
408
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
409
- b.p("queryId", () => input.queryId, "{queryId}", false);
410
- let body;
411
- b.m("GET").h(headers).b(body);
412
- return b.build();
413
- };
414
- const se_GetQueryStatusWorkloadInsightsTopContributorsCommand = async (input, context) => {
415
- const b = core.requestBuilder(input, context);
416
- const headers = {};
417
- b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status");
418
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
419
- b.p("queryId", () => input.queryId, "{queryId}", false);
420
- let body;
421
- b.m("GET").h(headers).b(body);
422
- return b.build();
423
- };
424
- const se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = async (input, context) => {
425
- const b = core.requestBuilder(input, context);
426
- const headers = {};
427
- b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status");
428
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
429
- b.p("queryId", () => input.queryId, "{queryId}", false);
430
- let body;
431
- b.m("GET").h(headers).b(body);
432
- return b.build();
433
- };
434
- const se_GetScopeCommand = async (input, context) => {
435
- const b = core.requestBuilder(input, context);
436
- const headers = {};
437
- b.bp("/scopes/{scopeId}");
438
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
439
- let body;
440
- b.m("GET").h(headers).b(body);
441
- return b.build();
442
- };
443
- const se_ListMonitorsCommand = async (input, context) => {
444
- const b = core.requestBuilder(input, context);
445
- const headers = {};
446
- b.bp("/monitors");
447
- const query = smithyClient.map({
448
- [_nT]: [, input[_nT]],
449
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
450
- [_mS]: [, input[_mS]],
451
- });
452
- let body;
453
- b.m("GET").h(headers).q(query).b(body);
454
- return b.build();
455
- };
456
- const se_ListScopesCommand = async (input, context) => {
457
- const b = core.requestBuilder(input, context);
458
- const headers = {};
459
- b.bp("/scopes");
460
- const query = smithyClient.map({
461
- [_nT]: [, input[_nT]],
462
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
463
- });
464
- let body;
465
- b.m("GET").h(headers).q(query).b(body);
466
- return b.build();
467
- };
468
- const se_ListTagsForResourceCommand = async (input, context) => {
469
- const b = core.requestBuilder(input, context);
470
- const headers = {};
471
- b.bp("/tags/{resourceArn}");
472
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
473
- let body;
474
- b.m("GET").h(headers).b(body);
475
- return b.build();
476
- };
477
- const se_StartQueryMonitorTopContributorsCommand = async (input, context) => {
478
- const b = core.requestBuilder(input, context);
479
- const headers = {
480
- "content-type": "application/json",
481
- };
482
- b.bp("/monitors/{monitorName}/topContributorsQueries");
483
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
484
- let body;
485
- body = JSON.stringify(smithyClient.take(input, {
486
- destinationCategory: [],
487
- endTime: (_) => smithyClient.serializeDateTime(_),
488
- limit: [],
489
- metricName: [],
490
- startTime: (_) => smithyClient.serializeDateTime(_),
491
- }));
492
- b.m("POST").h(headers).b(body);
493
- return b.build();
494
- };
495
- const se_StartQueryWorkloadInsightsTopContributorsCommand = async (input, context) => {
496
- const b = core.requestBuilder(input, context);
497
- const headers = {
498
- "content-type": "application/json",
499
- };
500
- b.bp("/workloadInsights/{scopeId}/topContributorsQueries");
501
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
502
- let body;
503
- body = JSON.stringify(smithyClient.take(input, {
504
- destinationCategory: [],
505
- endTime: (_) => smithyClient.serializeDateTime(_),
506
- limit: [],
507
- metricName: [],
508
- startTime: (_) => smithyClient.serializeDateTime(_),
509
- }));
510
- b.m("POST").h(headers).b(body);
511
- return b.build();
512
- };
513
- const se_StartQueryWorkloadInsightsTopContributorsDataCommand = async (input, context) => {
514
- const b = core.requestBuilder(input, context);
515
- const headers = {
516
- "content-type": "application/json",
517
- };
518
- b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries");
519
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
520
- let body;
521
- body = JSON.stringify(smithyClient.take(input, {
522
- destinationCategory: [],
523
- endTime: (_) => smithyClient.serializeDateTime(_),
524
- metricName: [],
525
- startTime: (_) => smithyClient.serializeDateTime(_),
526
- }));
527
- b.m("POST").h(headers).b(body);
528
- return b.build();
529
- };
530
- const se_StopQueryMonitorTopContributorsCommand = async (input, context) => {
531
- const b = core.requestBuilder(input, context);
532
- const headers = {};
533
- b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}");
534
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
535
- b.p("queryId", () => input.queryId, "{queryId}", false);
536
- let body;
537
- b.m("DELETE").h(headers).b(body);
538
- return b.build();
539
- };
540
- const se_StopQueryWorkloadInsightsTopContributorsCommand = async (input, context) => {
541
- const b = core.requestBuilder(input, context);
542
- const headers = {};
543
- b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}");
544
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
545
- b.p("queryId", () => input.queryId, "{queryId}", false);
546
- let body;
547
- b.m("DELETE").h(headers).b(body);
548
- return b.build();
549
- };
550
- const se_StopQueryWorkloadInsightsTopContributorsDataCommand = async (input, context) => {
551
- const b = core.requestBuilder(input, context);
552
- const headers = {};
553
- b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}");
554
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
555
- b.p("queryId", () => input.queryId, "{queryId}", false);
556
- let body;
557
- b.m("DELETE").h(headers).b(body);
558
- return b.build();
559
- };
560
- const se_TagResourceCommand = async (input, context) => {
561
- const b = core.requestBuilder(input, context);
562
- const headers = {
563
- "content-type": "application/json",
564
- };
565
- b.bp("/tags/{resourceArn}");
566
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
567
- let body;
568
- body = JSON.stringify(smithyClient.take(input, {
569
- tags: (_) => smithyClient._json(_),
570
- }));
571
- b.m("POST").h(headers).b(body);
572
- return b.build();
573
- };
574
- const se_UntagResourceCommand = async (input, context) => {
575
- const b = core.requestBuilder(input, context);
576
- const headers = {};
577
- b.bp("/tags/{resourceArn}");
578
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
579
- const query = smithyClient.map({
580
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
581
- });
582
- let body;
583
- b.m("DELETE").h(headers).q(query).b(body);
584
- return b.build();
585
- };
586
- const se_UpdateMonitorCommand = async (input, context) => {
587
- const b = core.requestBuilder(input, context);
588
- const headers = {
589
- "content-type": "application/json",
590
- };
591
- b.bp("/monitors/{monitorName}");
592
- b.p("monitorName", () => input.monitorName, "{monitorName}", false);
593
- let body;
594
- body = JSON.stringify(smithyClient.take(input, {
595
- clientToken: [true, (_) => _ ?? uuid.v4()],
596
- localResourcesToAdd: (_) => smithyClient._json(_),
597
- localResourcesToRemove: (_) => smithyClient._json(_),
598
- remoteResourcesToAdd: (_) => smithyClient._json(_),
599
- remoteResourcesToRemove: (_) => smithyClient._json(_),
600
- }));
601
- b.m("PATCH").h(headers).b(body);
602
- return b.build();
603
- };
604
- const se_UpdateScopeCommand = async (input, context) => {
605
- const b = core.requestBuilder(input, context);
606
- const headers = {
607
- "content-type": "application/json",
608
- };
609
- b.bp("/scopes/{scopeId}");
610
- b.p("scopeId", () => input.scopeId, "{scopeId}", false);
611
- let body;
612
- body = JSON.stringify(smithyClient.take(input, {
613
- resourcesToAdd: (_) => smithyClient._json(_),
614
- resourcesToDelete: (_) => smithyClient._json(_),
615
- }));
616
- b.m("PATCH").h(headers).b(body);
617
- return b.build();
618
- };
619
- const de_CreateMonitorCommand = async (output, context) => {
620
- if (output.statusCode !== 200 && output.statusCode >= 300) {
621
- return de_CommandError(output, context);
622
- }
623
- const contents = smithyClient.map({
624
- $metadata: deserializeMetadata(output),
625
- });
626
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
627
- const doc = smithyClient.take(data, {
628
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
629
- localResources: smithyClient._json,
630
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
631
- monitorArn: smithyClient.expectString,
632
- monitorName: smithyClient.expectString,
633
- monitorStatus: smithyClient.expectString,
634
- remoteResources: smithyClient._json,
635
- tags: smithyClient._json,
636
- });
637
- Object.assign(contents, doc);
638
- return contents;
639
- };
640
- const de_CreateScopeCommand = async (output, context) => {
641
- if (output.statusCode !== 200 && output.statusCode >= 300) {
642
- return de_CommandError(output, context);
643
- }
644
- const contents = smithyClient.map({
645
- $metadata: deserializeMetadata(output),
646
- });
647
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
648
- const doc = smithyClient.take(data, {
649
- scopeArn: smithyClient.expectString,
650
- scopeId: smithyClient.expectString,
651
- status: smithyClient.expectString,
652
- tags: smithyClient._json,
653
- });
654
- Object.assign(contents, doc);
655
- return contents;
656
- };
657
- const de_DeleteMonitorCommand = async (output, context) => {
658
- if (output.statusCode !== 200 && output.statusCode >= 300) {
659
- return de_CommandError(output, context);
660
- }
661
- const contents = smithyClient.map({
662
- $metadata: deserializeMetadata(output),
663
- });
664
- await smithyClient.collectBody(output.body, context);
665
- return contents;
666
- };
667
- const de_DeleteScopeCommand = async (output, context) => {
668
- if (output.statusCode !== 200 && output.statusCode >= 300) {
669
- return de_CommandError(output, context);
670
- }
671
- const contents = smithyClient.map({
672
- $metadata: deserializeMetadata(output),
673
- });
674
- await smithyClient.collectBody(output.body, context);
675
- return contents;
676
- };
677
- const de_GetMonitorCommand = async (output, context) => {
678
- if (output.statusCode !== 200 && output.statusCode >= 300) {
679
- return de_CommandError(output, context);
680
- }
681
- const contents = smithyClient.map({
682
- $metadata: deserializeMetadata(output),
683
- });
684
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
685
- const doc = smithyClient.take(data, {
686
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
687
- localResources: smithyClient._json,
688
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
689
- monitorArn: smithyClient.expectString,
690
- monitorName: smithyClient.expectString,
691
- monitorStatus: smithyClient.expectString,
692
- remoteResources: smithyClient._json,
693
- tags: smithyClient._json,
694
- });
695
- Object.assign(contents, doc);
696
- return contents;
697
- };
698
- const de_GetQueryResultsMonitorTopContributorsCommand = async (output, context) => {
699
- if (output.statusCode !== 200 && output.statusCode >= 300) {
700
- return de_CommandError(output, context);
701
- }
702
- const contents = smithyClient.map({
703
- $metadata: deserializeMetadata(output),
704
- });
705
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
706
- const doc = smithyClient.take(data, {
707
- nextToken: smithyClient.expectString,
708
- topContributors: smithyClient._json,
709
- unit: smithyClient.expectString,
710
- });
711
- Object.assign(contents, doc);
712
- return contents;
713
- };
714
- const de_GetQueryResultsWorkloadInsightsTopContributorsCommand = async (output, context) => {
715
- if (output.statusCode !== 200 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
722
- const doc = smithyClient.take(data, {
723
- nextToken: smithyClient.expectString,
724
- topContributors: smithyClient._json,
725
- });
726
- Object.assign(contents, doc);
727
- return contents;
728
- };
729
- const de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = async (output, context) => {
730
- if (output.statusCode !== 200 && output.statusCode >= 300) {
731
- return de_CommandError(output, context);
732
- }
733
- const contents = smithyClient.map({
734
- $metadata: deserializeMetadata(output),
735
- });
736
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
737
- const doc = smithyClient.take(data, {
738
- datapoints: (_) => de_WorkloadInsightsTopContributorsDataPoints(_),
739
- nextToken: smithyClient.expectString,
740
- unit: smithyClient.expectString,
741
- });
742
- Object.assign(contents, doc);
743
- return contents;
744
- };
745
- const de_GetQueryStatusMonitorTopContributorsCommand = async (output, context) => {
746
- if (output.statusCode !== 200 && output.statusCode >= 300) {
747
- return de_CommandError(output, context);
748
- }
749
- const contents = smithyClient.map({
750
- $metadata: deserializeMetadata(output),
751
- });
752
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
753
- const doc = smithyClient.take(data, {
754
- status: smithyClient.expectString,
755
- });
756
- Object.assign(contents, doc);
757
- return contents;
758
- };
759
- const de_GetQueryStatusWorkloadInsightsTopContributorsCommand = async (output, context) => {
760
- if (output.statusCode !== 200 && output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const contents = smithyClient.map({
764
- $metadata: deserializeMetadata(output),
765
- });
766
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
767
- const doc = smithyClient.take(data, {
768
- status: smithyClient.expectString,
769
- });
770
- Object.assign(contents, doc);
771
- return contents;
772
- };
773
- const de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = async (output, context) => {
774
- if (output.statusCode !== 200 && output.statusCode >= 300) {
775
- return de_CommandError(output, context);
776
- }
777
- const contents = smithyClient.map({
778
- $metadata: deserializeMetadata(output),
779
- });
780
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
781
- const doc = smithyClient.take(data, {
782
- status: smithyClient.expectString,
783
- });
784
- Object.assign(contents, doc);
785
- return contents;
786
- };
787
- const de_GetScopeCommand = async (output, context) => {
788
- if (output.statusCode !== 200 && output.statusCode >= 300) {
789
- return de_CommandError(output, context);
790
- }
791
- const contents = smithyClient.map({
792
- $metadata: deserializeMetadata(output),
793
- });
794
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
795
- const doc = smithyClient.take(data, {
796
- scopeArn: smithyClient.expectString,
797
- scopeId: smithyClient.expectString,
798
- status: smithyClient.expectString,
799
- tags: smithyClient._json,
800
- targets: smithyClient._json,
801
- });
802
- Object.assign(contents, doc);
803
- return contents;
804
- };
805
- const de_ListMonitorsCommand = async (output, context) => {
806
- if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return de_CommandError(output, context);
808
- }
809
- const contents = smithyClient.map({
810
- $metadata: deserializeMetadata(output),
811
- });
812
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
813
- const doc = smithyClient.take(data, {
814
- monitors: smithyClient._json,
815
- nextToken: smithyClient.expectString,
816
- });
817
- Object.assign(contents, doc);
818
- return contents;
819
- };
820
- const de_ListScopesCommand = async (output, context) => {
821
- if (output.statusCode !== 200 && output.statusCode >= 300) {
822
- return de_CommandError(output, context);
823
- }
824
- const contents = smithyClient.map({
825
- $metadata: deserializeMetadata(output),
826
- });
827
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
828
- const doc = smithyClient.take(data, {
829
- nextToken: smithyClient.expectString,
830
- scopes: smithyClient._json,
831
- });
832
- Object.assign(contents, doc);
833
- return contents;
834
- };
835
- const de_ListTagsForResourceCommand = async (output, context) => {
836
- if (output.statusCode !== 200 && output.statusCode >= 300) {
837
- return de_CommandError(output, context);
838
- }
839
- const contents = smithyClient.map({
840
- $metadata: deserializeMetadata(output),
841
- });
842
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
843
- const doc = smithyClient.take(data, {
844
- tags: smithyClient._json,
845
- });
846
- Object.assign(contents, doc);
847
- return contents;
848
- };
849
- const de_StartQueryMonitorTopContributorsCommand = async (output, context) => {
850
- if (output.statusCode !== 200 && output.statusCode >= 300) {
851
- return de_CommandError(output, context);
852
- }
853
- const contents = smithyClient.map({
854
- $metadata: deserializeMetadata(output),
855
- });
856
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
857
- const doc = smithyClient.take(data, {
858
- queryId: smithyClient.expectString,
859
- });
860
- Object.assign(contents, doc);
861
- return contents;
862
- };
863
- const de_StartQueryWorkloadInsightsTopContributorsCommand = async (output, context) => {
864
- if (output.statusCode !== 200 && output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const contents = smithyClient.map({
868
- $metadata: deserializeMetadata(output),
869
- });
870
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
871
- const doc = smithyClient.take(data, {
872
- queryId: smithyClient.expectString,
873
- });
874
- Object.assign(contents, doc);
875
- return contents;
876
- };
877
- const de_StartQueryWorkloadInsightsTopContributorsDataCommand = async (output, context) => {
878
- if (output.statusCode !== 200 && output.statusCode >= 300) {
879
- return de_CommandError(output, context);
880
- }
881
- const contents = smithyClient.map({
882
- $metadata: deserializeMetadata(output),
883
- });
884
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
885
- const doc = smithyClient.take(data, {
886
- queryId: smithyClient.expectString,
887
- });
888
- Object.assign(contents, doc);
889
- return contents;
890
- };
891
- const de_StopQueryMonitorTopContributorsCommand = async (output, context) => {
892
- if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return de_CommandError(output, context);
894
- }
895
- const contents = smithyClient.map({
896
- $metadata: deserializeMetadata(output),
897
- });
898
- await smithyClient.collectBody(output.body, context);
899
- return contents;
900
- };
901
- const de_StopQueryWorkloadInsightsTopContributorsCommand = async (output, context) => {
902
- if (output.statusCode !== 200 && output.statusCode >= 300) {
903
- return de_CommandError(output, context);
904
- }
905
- const contents = smithyClient.map({
906
- $metadata: deserializeMetadata(output),
907
- });
908
- await smithyClient.collectBody(output.body, context);
909
- return contents;
910
- };
911
- const de_StopQueryWorkloadInsightsTopContributorsDataCommand = async (output, context) => {
912
- if (output.statusCode !== 200 && output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- const contents = smithyClient.map({
916
- $metadata: deserializeMetadata(output),
917
- });
918
- await smithyClient.collectBody(output.body, context);
919
- return contents;
920
- };
921
- const de_TagResourceCommand = async (output, context) => {
922
- if (output.statusCode !== 200 && output.statusCode >= 300) {
923
- return de_CommandError(output, context);
924
- }
925
- const contents = smithyClient.map({
926
- $metadata: deserializeMetadata(output),
927
- });
928
- await smithyClient.collectBody(output.body, context);
929
- return contents;
930
- };
931
- const de_UntagResourceCommand = async (output, context) => {
932
- if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return de_CommandError(output, context);
934
- }
935
- const contents = smithyClient.map({
936
- $metadata: deserializeMetadata(output),
937
- });
938
- await smithyClient.collectBody(output.body, context);
939
- return contents;
940
- };
941
- const de_UpdateMonitorCommand = async (output, context) => {
942
- if (output.statusCode !== 200 && output.statusCode >= 300) {
943
- return de_CommandError(output, context);
944
- }
945
- const contents = smithyClient.map({
946
- $metadata: deserializeMetadata(output),
947
- });
948
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
949
- const doc = smithyClient.take(data, {
950
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
951
- localResources: smithyClient._json,
952
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
953
- monitorArn: smithyClient.expectString,
954
- monitorName: smithyClient.expectString,
955
- monitorStatus: smithyClient.expectString,
956
- remoteResources: smithyClient._json,
957
- tags: smithyClient._json,
958
- });
959
- Object.assign(contents, doc);
960
- return contents;
961
- };
962
- const de_UpdateScopeCommand = async (output, context) => {
963
- if (output.statusCode !== 200 && output.statusCode >= 300) {
964
- return de_CommandError(output, context);
965
- }
966
- const contents = smithyClient.map({
967
- $metadata: deserializeMetadata(output),
968
- });
969
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
970
- const doc = smithyClient.take(data, {
971
- scopeArn: smithyClient.expectString,
972
- scopeId: smithyClient.expectString,
973
- status: smithyClient.expectString,
974
- tags: smithyClient._json,
975
- });
976
- Object.assign(contents, doc);
977
- return contents;
978
- };
979
- const de_CommandError = async (output, context) => {
980
- const parsedOutput = {
981
- ...output,
982
- body: await core$1.parseJsonErrorBody(output.body, context),
983
- };
984
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
985
- switch (errorCode) {
986
- case "AccessDeniedException":
987
- case "com.amazonaws.networkflowmonitor#AccessDeniedException":
988
- throw await de_AccessDeniedExceptionRes(parsedOutput);
989
- case "ConflictException":
990
- case "com.amazonaws.networkflowmonitor#ConflictException":
991
- throw await de_ConflictExceptionRes(parsedOutput);
992
- case "InternalServerException":
993
- case "com.amazonaws.networkflowmonitor#InternalServerException":
994
- throw await de_InternalServerExceptionRes(parsedOutput);
995
- case "ServiceQuotaExceededException":
996
- case "com.amazonaws.networkflowmonitor#ServiceQuotaExceededException":
997
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
998
- case "ThrottlingException":
999
- case "com.amazonaws.networkflowmonitor#ThrottlingException":
1000
- throw await de_ThrottlingExceptionRes(parsedOutput);
1001
- case "ValidationException":
1002
- case "com.amazonaws.networkflowmonitor#ValidationException":
1003
- throw await de_ValidationExceptionRes(parsedOutput);
1004
- case "ResourceNotFoundException":
1005
- case "com.amazonaws.networkflowmonitor#ResourceNotFoundException":
1006
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1007
- default:
1008
- const parsedBody = parsedOutput.body;
1009
- return throwDefaultError({
1010
- output,
1011
- parsedBody,
1012
- errorCode,
1013
- });
1014
- }
1015
- };
1016
- const throwDefaultError = smithyClient.withBaseException(NetworkFlowMonitorServiceException);
1017
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1018
- const contents = smithyClient.map({});
1019
- const data = parsedOutput.body;
1020
- const doc = smithyClient.take(data, {
1021
- message: smithyClient.expectString,
1022
- });
1023
- Object.assign(contents, doc);
1024
- const exception = new AccessDeniedException({
1025
- $metadata: deserializeMetadata(parsedOutput),
1026
- ...contents,
1027
- });
1028
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1029
- };
1030
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1031
- const contents = smithyClient.map({});
1032
- const data = parsedOutput.body;
1033
- const doc = smithyClient.take(data, {
1034
- message: smithyClient.expectString,
1035
- });
1036
- Object.assign(contents, doc);
1037
- const exception = new ConflictException({
1038
- $metadata: deserializeMetadata(parsedOutput),
1039
- ...contents,
1040
- });
1041
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1042
- };
1043
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1044
- const contents = smithyClient.map({});
1045
- const data = parsedOutput.body;
1046
- const doc = smithyClient.take(data, {
1047
- message: smithyClient.expectString,
1048
- });
1049
- Object.assign(contents, doc);
1050
- const exception = new InternalServerException({
1051
- $metadata: deserializeMetadata(parsedOutput),
1052
- ...contents,
1053
- });
1054
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1055
- };
1056
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1057
- const contents = smithyClient.map({});
1058
- const data = parsedOutput.body;
1059
- const doc = smithyClient.take(data, {
1060
- message: smithyClient.expectString,
1061
- });
1062
- Object.assign(contents, doc);
1063
- const exception = new ResourceNotFoundException({
1064
- $metadata: deserializeMetadata(parsedOutput),
1065
- ...contents,
1066
- });
1067
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1068
- };
1069
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1070
- const contents = smithyClient.map({});
1071
- const data = parsedOutput.body;
1072
- const doc = smithyClient.take(data, {
1073
- message: smithyClient.expectString,
1074
- });
1075
- Object.assign(contents, doc);
1076
- const exception = new ServiceQuotaExceededException({
1077
- $metadata: deserializeMetadata(parsedOutput),
1078
- ...contents,
1079
- });
1080
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1081
- };
1082
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1083
- const contents = smithyClient.map({});
1084
- const data = parsedOutput.body;
1085
- const doc = smithyClient.take(data, {
1086
- message: smithyClient.expectString,
1087
- });
1088
- Object.assign(contents, doc);
1089
- const exception = new ThrottlingException({
1090
- $metadata: deserializeMetadata(parsedOutput),
1091
- ...contents,
1092
- });
1093
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1094
- };
1095
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1096
- const contents = smithyClient.map({});
1097
- const data = parsedOutput.body;
1098
- const doc = smithyClient.take(data, {
1099
- message: smithyClient.expectString,
1100
- });
1101
- Object.assign(contents, doc);
1102
- const exception = new ValidationException({
1103
- $metadata: deserializeMetadata(parsedOutput),
1104
- ...contents,
1105
- });
1106
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1107
- };
1108
- const de_WorkloadInsightsTopContributorsDataPoint = (output, context) => {
1109
- return smithyClient.take(output, {
1110
- label: smithyClient.expectString,
1111
- timestamps: (_) => de_WorkloadInsightsTopContributorsTimestampsList(_),
1112
- values: (_) => de_WorkloadInsightsTopContributorsValuesList(_),
1113
- });
1114
- };
1115
- const de_WorkloadInsightsTopContributorsDataPoints = (output, context) => {
1116
- const retVal = (output || [])
1117
- .filter((e) => e != null)
1118
- .map((entry) => {
1119
- return de_WorkloadInsightsTopContributorsDataPoint(entry);
1120
- });
1121
- return retVal;
1122
- };
1123
- const de_WorkloadInsightsTopContributorsTimestampsList = (output, context) => {
1124
- const retVal = (output || [])
1125
- .filter((e) => e != null)
1126
- .map((entry) => {
1127
- return smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(entry));
1128
- });
1129
- return retVal;
1130
- };
1131
- const de_WorkloadInsightsTopContributorsValuesList = (output, context) => {
1132
- const retVal = (output || [])
1133
- .filter((e) => e != null)
1134
- .map((entry) => {
1135
- return smithyClient.limitedParseDouble(entry);
1136
- });
1137
- return retVal;
1138
- };
1139
- const deserializeMetadata = (output) => ({
1140
- httpStatusCode: output.statusCode,
1141
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1142
- extendedRequestId: output.headers["x-amz-id-2"],
1143
- cfId: output.headers["x-amz-cf-id"],
1144
- });
293
+ const _ADE = "AccessDeniedException";
294
+ const _CE = "ConflictException";
295
+ const _CM = "CreateMonitor";
296
+ const _CMI = "CreateMonitorInput";
297
+ const _CMO = "CreateMonitorOutput";
298
+ const _CS = "CreateScope";
299
+ const _CSI = "CreateScopeInput";
300
+ const _CSO = "CreateScopeOutput";
301
+ const _DM = "DeleteMonitor";
302
+ const _DMI = "DeleteMonitorInput";
303
+ const _DMO = "DeleteMonitorOutput";
304
+ const _DS = "DeleteScope";
305
+ const _DSI = "DeleteScopeInput";
306
+ const _DSO = "DeleteScopeOutput";
307
+ const _GM = "GetMonitor";
308
+ const _GMI = "GetMonitorInput";
309
+ const _GMO = "GetMonitorOutput";
310
+ const _GQRMTC = "GetQueryResultsMonitorTopContributors";
311
+ const _GQRMTCI = "GetQueryResultsMonitorTopContributorsInput";
312
+ const _GQRMTCO = "GetQueryResultsMonitorTopContributorsOutput";
313
+ const _GQRWITC = "GetQueryResultsWorkloadInsightsTopContributors";
314
+ const _GQRWITCD = "GetQueryResultsWorkloadInsightsTopContributorsData";
315
+ const _GQRWITCDI = "GetQueryResultsWorkloadInsightsTopContributorsDataInput";
316
+ const _GQRWITCDO = "GetQueryResultsWorkloadInsightsTopContributorsDataOutput";
317
+ const _GQRWITCI = "GetQueryResultsWorkloadInsightsTopContributorsInput";
318
+ const _GQRWITCO = "GetQueryResultsWorkloadInsightsTopContributorsOutput";
319
+ const _GQSMTC = "GetQueryStatusMonitorTopContributors";
320
+ const _GQSMTCI = "GetQueryStatusMonitorTopContributorsInput";
321
+ const _GQSMTCO = "GetQueryStatusMonitorTopContributorsOutput";
322
+ const _GQSWITC = "GetQueryStatusWorkloadInsightsTopContributors";
323
+ const _GQSWITCD = "GetQueryStatusWorkloadInsightsTopContributorsData";
324
+ const _GQSWITCDI = "GetQueryStatusWorkloadInsightsTopContributorsDataInput";
325
+ const _GQSWITCDO = "GetQueryStatusWorkloadInsightsTopContributorsDataOutput";
326
+ const _GQSWITCI = "GetQueryStatusWorkloadInsightsTopContributorsInput";
327
+ const _GQSWITCO = "GetQueryStatusWorkloadInsightsTopContributorsOutput";
328
+ const _GS = "GetScope";
329
+ const _GSI = "GetScopeInput";
330
+ const _GSO = "GetScopeOutput";
331
+ const _ISE = "InternalServerException";
332
+ const _KM = "KubernetesMetadata";
333
+ const _LM = "ListMonitors";
334
+ const _LMI = "ListMonitorsInput";
335
+ const _LMO = "ListMonitorsOutput";
336
+ const _LS = "ListScopes";
337
+ const _LSI = "ListScopesInput";
338
+ const _LSO = "ListScopesOutput";
339
+ const _LTFR = "ListTagsForResource";
340
+ const _LTFRI = "ListTagsForResourceInput";
341
+ const _LTFRO = "ListTagsForResourceOutput";
342
+ const _ML = "MonitorList";
343
+ const _MLR = "MonitorLocalResource";
344
+ const _MLRo = "MonitorLocalResources";
345
+ const _MRR = "MonitorRemoteResource";
346
+ const _MRRo = "MonitorRemoteResources";
347
+ const _MS = "MonitorSummary";
348
+ const _MTCR = "MonitorTopContributorsRow";
349
+ const _MTCRL = "MonitorTopContributorsRowList";
350
+ const _RNFE = "ResourceNotFoundException";
351
+ const _SQEE = "ServiceQuotaExceededException";
352
+ const _SQMTC = "StartQueryMonitorTopContributors";
353
+ const _SQMTCI = "StartQueryMonitorTopContributorsInput";
354
+ const _SQMTCIt = "StopQueryMonitorTopContributorsInput";
355
+ const _SQMTCO = "StartQueryMonitorTopContributorsOutput";
356
+ const _SQMTCOt = "StopQueryMonitorTopContributorsOutput";
357
+ const _SQMTCt = "StopQueryMonitorTopContributors";
358
+ const _SQWITC = "StartQueryWorkloadInsightsTopContributors";
359
+ const _SQWITCD = "StartQueryWorkloadInsightsTopContributorsData";
360
+ const _SQWITCDI = "StartQueryWorkloadInsightsTopContributorsDataInput";
361
+ const _SQWITCDIt = "StopQueryWorkloadInsightsTopContributorsDataInput";
362
+ const _SQWITCDO = "StartQueryWorkloadInsightsTopContributorsDataOutput";
363
+ const _SQWITCDOt = "StopQueryWorkloadInsightsTopContributorsDataOutput";
364
+ const _SQWITCDt = "StopQueryWorkloadInsightsTopContributorsData";
365
+ const _SQWITCI = "StartQueryWorkloadInsightsTopContributorsInput";
366
+ const _SQWITCIt = "StopQueryWorkloadInsightsTopContributorsInput";
367
+ const _SQWITCO = "StartQueryWorkloadInsightsTopContributorsOutput";
368
+ const _SQWITCOt = "StopQueryWorkloadInsightsTopContributorsOutput";
369
+ const _SQWITCt = "StopQueryWorkloadInsightsTopContributors";
370
+ const _SS = "ScopeSummary";
371
+ const _SSL = "ScopeSummaryList";
372
+ const _TC = "TraversedComponent";
373
+ const _TCL = "TraversedConstructsList";
374
+ const _TE = "ThrottlingException";
375
+ const _TI = "TargetIdentifier";
376
+ const _TIa = "TargetId";
377
+ const _TR = "TargetResource";
378
+ const _TRI = "TagResourceInput";
379
+ const _TRL = "TargetResourceList";
380
+ const _TRO = "TagResourceOutput";
381
+ const _TRa = "TagResource";
382
+ const _UM = "UpdateMonitor";
383
+ const _UMI = "UpdateMonitorInput";
384
+ const _UMO = "UpdateMonitorOutput";
385
+ const _UR = "UntagResource";
386
+ const _URI = "UntagResourceInput";
387
+ const _URO = "UntagResourceOutput";
388
+ const _US = "UpdateScope";
389
+ const _USI = "UpdateScopeInput";
390
+ const _USO = "UpdateScopeOutput";
391
+ const _VE = "ValidationException";
392
+ const _WITCDP = "WorkloadInsightsTopContributorsDataPoint";
393
+ const _WITCDPo = "WorkloadInsightsTopContributorsDataPoints";
394
+ const _WITCR = "WorkloadInsightsTopContributorsRow";
395
+ const _WITCRL = "WorkloadInsightsTopContributorsRowList";
396
+ const _aI = "accountId";
397
+ const _c = "client";
398
+ const _cA = "createdAt";
399
+ const _cAo = "componentArn";
400
+ const _cI = "componentId";
401
+ const _cT = "clientToken";
402
+ const _cTo = "componentType";
403
+ const _d = "datapoints";
404
+ const _dC = "destinationCategory";
405
+ const _dI = "dnatIp";
406
+ const _e = "error";
407
+ const _eT = "endTime";
408
+ const _h = "http";
409
+ const _hE = "httpError";
410
+ const _hQ = "httpQuery";
411
+ const _i = "identifier";
412
+ const _kM = "kubernetesMetadata";
413
+ const _l = "limit";
414
+ const _lA = "localAz";
415
+ const _lI = "localIp";
416
+ const _lIA = "localInstanceArn";
417
+ const _lII = "localInstanceId";
418
+ const _lPN = "localPodName";
419
+ const _lPNo = "localPodNamespace";
420
+ const _lR = "localResources";
421
+ const _lRTA = "localResourcesToAdd";
422
+ const _lRTR = "localResourcesToRemove";
423
+ const _lRo = "localRegion";
424
+ const _lSA = "localSubnetArn";
425
+ const _lSI = "localSubnetId";
426
+ const _lSN = "localServiceName";
427
+ const _lVA = "localVpcArn";
428
+ const _lVI = "localVpcId";
429
+ const _la = "label";
430
+ const _m = "message";
431
+ const _mA = "monitorArn";
432
+ const _mAo = "modifiedAt";
433
+ const _mN = "monitorName";
434
+ const _mNe = "metricName";
1145
435
  const _mR = "maxResults";
1146
436
  const _mS = "monitorStatus";
437
+ const _mo = "monitors";
1147
438
  const _nT = "nextToken";
439
+ const _qI = "queryId";
440
+ const _r = "region";
441
+ const _rA = "resourceArn";
442
+ const _rAe = "remoteAz";
443
+ const _rI = "remoteIp";
444
+ const _rIA = "remoteInstanceArn";
445
+ const _rII = "remoteInstanceId";
446
+ const _rIe = "remoteIdentifier";
447
+ const _rPN = "remotePodName";
448
+ const _rPNe = "remotePodNamespace";
449
+ const _rR = "remoteResources";
450
+ const _rRTA = "remoteResourcesToAdd";
451
+ const _rRTR = "remoteResourcesToRemove";
452
+ const _rRe = "remoteRegion";
453
+ const _rSA = "remoteSubnetArn";
454
+ const _rSI = "remoteSubnetId";
455
+ const _rSN = "remoteServiceName";
456
+ const _rTA = "resourcesToAdd";
457
+ const _rTD = "resourcesToDelete";
458
+ const _rVA = "remoteVpcArn";
459
+ const _rVI = "remoteVpcId";
460
+ const _s = "status";
461
+ const _sA = "scopeArn";
462
+ const _sI = "scopeId";
463
+ const _sIn = "snatIp";
464
+ const _sN = "serviceName";
465
+ const _sT = "startTime";
466
+ const _sc = "scopes";
467
+ const _se = "server";
468
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.networkflowmonitor";
469
+ const _t = "tags";
470
+ const _tC = "topContributors";
471
+ const _tCr = "traversedConstructs";
472
+ const _tI = "targetId";
473
+ const _tIa = "targetIdentifier";
1148
474
  const _tK = "tagKeys";
475
+ const _tP = "targetPort";
476
+ const _tT = "targetType";
477
+ const _ta = "targets";
478
+ const _ti = "timestamps";
479
+ const _ty = "type";
480
+ const _u = "unit";
481
+ const _v = "value";
482
+ const _va = "values";
483
+ const n0 = "com.amazonaws.networkflowmonitor";
484
+ var AccessDeniedException = [
485
+ -3,
486
+ n0,
487
+ _ADE,
488
+ {
489
+ [_e]: _c,
490
+ [_hE]: 403,
491
+ },
492
+ [_m],
493
+ [0],
494
+ ];
495
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
496
+ var ConflictException = [
497
+ -3,
498
+ n0,
499
+ _CE,
500
+ {
501
+ [_e]: _c,
502
+ [_hE]: 409,
503
+ },
504
+ [_m],
505
+ [0],
506
+ ];
507
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
508
+ var CreateMonitorInput = [
509
+ 3,
510
+ n0,
511
+ _CMI,
512
+ 0,
513
+ [_mN, _lR, _rR, _sA, _cT, _t],
514
+ [0, () => MonitorLocalResources, () => MonitorRemoteResources, 0, [0, 4], 128 | 0],
515
+ ];
516
+ var CreateMonitorOutput = [
517
+ 3,
518
+ n0,
519
+ _CMO,
520
+ 0,
521
+ [_mA, _mN, _mS, _lR, _rR, _cA, _mAo, _t],
522
+ [0, 0, 0, () => MonitorLocalResources, () => MonitorRemoteResources, 4, 4, 128 | 0],
523
+ ];
524
+ var CreateScopeInput = [
525
+ 3,
526
+ n0,
527
+ _CSI,
528
+ 0,
529
+ [_ta, _cT, _t],
530
+ [() => TargetResourceList, [0, 4], 128 | 0],
531
+ ];
532
+ var CreateScopeOutput = [3, n0, _CSO, 0, [_sI, _s, _sA, _t], [0, 0, 0, 128 | 0]];
533
+ var DeleteMonitorInput = [3, n0, _DMI, 0, [_mN], [[0, 1]]];
534
+ var DeleteMonitorOutput = [3, n0, _DMO, 0, [], []];
535
+ var DeleteScopeInput = [3, n0, _DSI, 0, [_sI], [[0, 1]]];
536
+ var DeleteScopeOutput = [3, n0, _DSO, 0, [], []];
537
+ var GetMonitorInput = [3, n0, _GMI, 0, [_mN], [[0, 1]]];
538
+ var GetMonitorOutput = [
539
+ 3,
540
+ n0,
541
+ _GMO,
542
+ 0,
543
+ [_mA, _mN, _mS, _lR, _rR, _cA, _mAo, _t],
544
+ [0, 0, 0, () => MonitorLocalResources, () => MonitorRemoteResources, 4, 4, 128 | 0],
545
+ ];
546
+ var GetQueryResultsMonitorTopContributorsInput = [
547
+ 3,
548
+ n0,
549
+ _GQRMTCI,
550
+ 0,
551
+ [_mN, _qI, _nT, _mR],
552
+ [
553
+ [0, 1],
554
+ [0, 1],
555
+ [
556
+ 0,
557
+ {
558
+ [_hQ]: _nT,
559
+ },
560
+ ],
561
+ [
562
+ 1,
563
+ {
564
+ [_hQ]: _mR,
565
+ },
566
+ ],
567
+ ],
568
+ ];
569
+ var GetQueryResultsMonitorTopContributorsOutput = [
570
+ 3,
571
+ n0,
572
+ _GQRMTCO,
573
+ 0,
574
+ [_u, _tC, _nT],
575
+ [0, () => MonitorTopContributorsRowList, 0],
576
+ ];
577
+ var GetQueryResultsWorkloadInsightsTopContributorsDataInput = [
578
+ 3,
579
+ n0,
580
+ _GQRWITCDI,
581
+ 0,
582
+ [_sI, _qI, _nT, _mR],
583
+ [
584
+ [0, 1],
585
+ [0, 1],
586
+ [
587
+ 0,
588
+ {
589
+ [_hQ]: _nT,
590
+ },
591
+ ],
592
+ [
593
+ 1,
594
+ {
595
+ [_hQ]: _mR,
596
+ },
597
+ ],
598
+ ],
599
+ ];
600
+ var GetQueryResultsWorkloadInsightsTopContributorsDataOutput = [
601
+ 3,
602
+ n0,
603
+ _GQRWITCDO,
604
+ 0,
605
+ [_u, _d, _nT],
606
+ [0, () => WorkloadInsightsTopContributorsDataPoints, 0],
607
+ ];
608
+ var GetQueryResultsWorkloadInsightsTopContributorsInput = [
609
+ 3,
610
+ n0,
611
+ _GQRWITCI,
612
+ 0,
613
+ [_sI, _qI, _nT, _mR],
614
+ [
615
+ [0, 1],
616
+ [0, 1],
617
+ [
618
+ 0,
619
+ {
620
+ [_hQ]: _nT,
621
+ },
622
+ ],
623
+ [
624
+ 1,
625
+ {
626
+ [_hQ]: _mR,
627
+ },
628
+ ],
629
+ ],
630
+ ];
631
+ var GetQueryResultsWorkloadInsightsTopContributorsOutput = [
632
+ 3,
633
+ n0,
634
+ _GQRWITCO,
635
+ 0,
636
+ [_tC, _nT],
637
+ [() => WorkloadInsightsTopContributorsRowList, 0],
638
+ ];
639
+ var GetQueryStatusMonitorTopContributorsInput = [
640
+ 3,
641
+ n0,
642
+ _GQSMTCI,
643
+ 0,
644
+ [_mN, _qI],
645
+ [
646
+ [0, 1],
647
+ [0, 1],
648
+ ],
649
+ ];
650
+ var GetQueryStatusMonitorTopContributorsOutput = [3, n0, _GQSMTCO, 0, [_s], [0]];
651
+ var GetQueryStatusWorkloadInsightsTopContributorsDataInput = [
652
+ 3,
653
+ n0,
654
+ _GQSWITCDI,
655
+ 0,
656
+ [_sI, _qI],
657
+ [
658
+ [0, 1],
659
+ [0, 1],
660
+ ],
661
+ ];
662
+ var GetQueryStatusWorkloadInsightsTopContributorsDataOutput = [
663
+ 3,
664
+ n0,
665
+ _GQSWITCDO,
666
+ 0,
667
+ [_s],
668
+ [0],
669
+ ];
670
+ var GetQueryStatusWorkloadInsightsTopContributorsInput = [
671
+ 3,
672
+ n0,
673
+ _GQSWITCI,
674
+ 0,
675
+ [_sI, _qI],
676
+ [
677
+ [0, 1],
678
+ [0, 1],
679
+ ],
680
+ ];
681
+ var GetQueryStatusWorkloadInsightsTopContributorsOutput = [
682
+ 3,
683
+ n0,
684
+ _GQSWITCO,
685
+ 0,
686
+ [_s],
687
+ [0],
688
+ ];
689
+ var GetScopeInput = [3, n0, _GSI, 0, [_sI], [[0, 1]]];
690
+ var GetScopeOutput = [
691
+ 3,
692
+ n0,
693
+ _GSO,
694
+ 0,
695
+ [_sI, _s, _sA, _ta, _t],
696
+ [0, 0, 0, () => TargetResourceList, 128 | 0],
697
+ ];
698
+ var InternalServerException = [
699
+ -3,
700
+ n0,
701
+ _ISE,
702
+ {
703
+ [_e]: _se,
704
+ [_hE]: 500,
705
+ },
706
+ [_m],
707
+ [0],
708
+ ];
709
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
710
+ var KubernetesMetadata = [
711
+ 3,
712
+ n0,
713
+ _KM,
714
+ 0,
715
+ [_lSN, _lPN, _lPNo, _rSN, _rPN, _rPNe],
716
+ [0, 0, 0, 0, 0, 0],
717
+ ];
718
+ var ListMonitorsInput = [
719
+ 3,
720
+ n0,
721
+ _LMI,
722
+ 0,
723
+ [_nT, _mR, _mS],
724
+ [
725
+ [
726
+ 0,
727
+ {
728
+ [_hQ]: _nT,
729
+ },
730
+ ],
731
+ [
732
+ 1,
733
+ {
734
+ [_hQ]: _mR,
735
+ },
736
+ ],
737
+ [
738
+ 0,
739
+ {
740
+ [_hQ]: _mS,
741
+ },
742
+ ],
743
+ ],
744
+ ];
745
+ var ListMonitorsOutput = [3, n0, _LMO, 0, [_mo, _nT], [() => MonitorList, 0]];
746
+ var ListScopesInput = [
747
+ 3,
748
+ n0,
749
+ _LSI,
750
+ 0,
751
+ [_nT, _mR],
752
+ [
753
+ [
754
+ 0,
755
+ {
756
+ [_hQ]: _nT,
757
+ },
758
+ ],
759
+ [
760
+ 1,
761
+ {
762
+ [_hQ]: _mR,
763
+ },
764
+ ],
765
+ ],
766
+ ];
767
+ var ListScopesOutput = [3, n0, _LSO, 0, [_sc, _nT], [() => ScopeSummaryList, 0]];
768
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
769
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
770
+ var MonitorLocalResource = [3, n0, _MLR, 0, [_ty, _i], [0, 0]];
771
+ var MonitorRemoteResource = [3, n0, _MRR, 0, [_ty, _i], [0, 0]];
772
+ var MonitorSummary = [3, n0, _MS, 0, [_mA, _mN, _mS], [0, 0, 0]];
773
+ var MonitorTopContributorsRow = [
774
+ 3,
775
+ n0,
776
+ _MTCR,
777
+ 0,
778
+ [
779
+ _lI,
780
+ _sIn,
781
+ _lII,
782
+ _lVI,
783
+ _lRo,
784
+ _lA,
785
+ _lSI,
786
+ _tP,
787
+ _dC,
788
+ _rVI,
789
+ _rRe,
790
+ _rAe,
791
+ _rSI,
792
+ _rII,
793
+ _rI,
794
+ _dI,
795
+ _v,
796
+ _tCr,
797
+ _kM,
798
+ _lIA,
799
+ _lSA,
800
+ _lVA,
801
+ _rIA,
802
+ _rSA,
803
+ _rVA,
804
+ ],
805
+ [
806
+ 0,
807
+ 0,
808
+ 0,
809
+ 0,
810
+ 0,
811
+ 0,
812
+ 0,
813
+ 1,
814
+ 0,
815
+ 0,
816
+ 0,
817
+ 0,
818
+ 0,
819
+ 0,
820
+ 0,
821
+ 0,
822
+ 1,
823
+ () => TraversedConstructsList,
824
+ () => KubernetesMetadata,
825
+ 0,
826
+ 0,
827
+ 0,
828
+ 0,
829
+ 0,
830
+ 0,
831
+ ],
832
+ ];
833
+ var ResourceNotFoundException = [
834
+ -3,
835
+ n0,
836
+ _RNFE,
837
+ {
838
+ [_e]: _c,
839
+ [_hE]: 404,
840
+ },
841
+ [_m],
842
+ [0],
843
+ ];
844
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
845
+ var ScopeSummary = [3, n0, _SS, 0, [_sI, _s, _sA], [0, 0, 0]];
846
+ var ServiceQuotaExceededException = [
847
+ -3,
848
+ n0,
849
+ _SQEE,
850
+ {
851
+ [_e]: _c,
852
+ [_hE]: 402,
853
+ },
854
+ [_m],
855
+ [0],
856
+ ];
857
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
858
+ var StartQueryMonitorTopContributorsInput = [
859
+ 3,
860
+ n0,
861
+ _SQMTCI,
862
+ 0,
863
+ [_mN, _sT, _eT, _mNe, _dC, _l],
864
+ [[0, 1], 5, 5, 0, 0, 1],
865
+ ];
866
+ var StartQueryMonitorTopContributorsOutput = [3, n0, _SQMTCO, 0, [_qI], [0]];
867
+ var StartQueryWorkloadInsightsTopContributorsDataInput = [
868
+ 3,
869
+ n0,
870
+ _SQWITCDI,
871
+ 0,
872
+ [_sI, _sT, _eT, _mNe, _dC],
873
+ [[0, 1], 5, 5, 0, 0],
874
+ ];
875
+ var StartQueryWorkloadInsightsTopContributorsDataOutput = [
876
+ 3,
877
+ n0,
878
+ _SQWITCDO,
879
+ 0,
880
+ [_qI],
881
+ [0],
882
+ ];
883
+ var StartQueryWorkloadInsightsTopContributorsInput = [
884
+ 3,
885
+ n0,
886
+ _SQWITCI,
887
+ 0,
888
+ [_sI, _sT, _eT, _mNe, _dC, _l],
889
+ [[0, 1], 5, 5, 0, 0, 1],
890
+ ];
891
+ var StartQueryWorkloadInsightsTopContributorsOutput = [3, n0, _SQWITCO, 0, [_qI], [0]];
892
+ var StopQueryMonitorTopContributorsInput = [
893
+ 3,
894
+ n0,
895
+ _SQMTCIt,
896
+ 0,
897
+ [_mN, _qI],
898
+ [
899
+ [0, 1],
900
+ [0, 1],
901
+ ],
902
+ ];
903
+ var StopQueryMonitorTopContributorsOutput = [3, n0, _SQMTCOt, 0, [], []];
904
+ var StopQueryWorkloadInsightsTopContributorsDataInput = [
905
+ 3,
906
+ n0,
907
+ _SQWITCDIt,
908
+ 0,
909
+ [_sI, _qI],
910
+ [
911
+ [0, 1],
912
+ [0, 1],
913
+ ],
914
+ ];
915
+ var StopQueryWorkloadInsightsTopContributorsDataOutput = [3, n0, _SQWITCDOt, 0, [], []];
916
+ var StopQueryWorkloadInsightsTopContributorsInput = [
917
+ 3,
918
+ n0,
919
+ _SQWITCIt,
920
+ 0,
921
+ [_sI, _qI],
922
+ [
923
+ [0, 1],
924
+ [0, 1],
925
+ ],
926
+ ];
927
+ var StopQueryWorkloadInsightsTopContributorsOutput = [3, n0, _SQWITCOt, 0, [], []];
928
+ var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
929
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
930
+ var TargetIdentifier = [3, n0, _TI, 0, [_tI, _tT], [() => TargetId, 0]];
931
+ var TargetResource = [3, n0, _TR, 0, [_tIa, _r], [() => TargetIdentifier, 0]];
932
+ var ThrottlingException = [
933
+ -3,
934
+ n0,
935
+ _TE,
936
+ {
937
+ [_e]: _c,
938
+ [_hE]: 429,
939
+ },
940
+ [_m],
941
+ [0],
942
+ ];
943
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
944
+ var TraversedComponent = [3, n0, _TC, 0, [_cI, _cTo, _cAo, _sN], [0, 0, 0, 0]];
945
+ var UntagResourceInput = [
946
+ 3,
947
+ n0,
948
+ _URI,
949
+ 0,
950
+ [_rA, _tK],
951
+ [
952
+ [0, 1],
953
+ [
954
+ 64 | 0,
955
+ {
956
+ [_hQ]: _tK,
957
+ },
958
+ ],
959
+ ],
960
+ ];
961
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
962
+ var UpdateMonitorInput = [
963
+ 3,
964
+ n0,
965
+ _UMI,
966
+ 0,
967
+ [_mN, _lRTA, _lRTR, _rRTA, _rRTR, _cT],
968
+ [
969
+ [0, 1],
970
+ () => MonitorLocalResources,
971
+ () => MonitorLocalResources,
972
+ () => MonitorRemoteResources,
973
+ () => MonitorRemoteResources,
974
+ [0, 4],
975
+ ],
976
+ ];
977
+ var UpdateMonitorOutput = [
978
+ 3,
979
+ n0,
980
+ _UMO,
981
+ 0,
982
+ [_mA, _mN, _mS, _lR, _rR, _cA, _mAo, _t],
983
+ [0, 0, 0, () => MonitorLocalResources, () => MonitorRemoteResources, 4, 4, 128 | 0],
984
+ ];
985
+ var UpdateScopeInput = [
986
+ 3,
987
+ n0,
988
+ _USI,
989
+ 0,
990
+ [_sI, _rTA, _rTD],
991
+ [[0, 1], () => TargetResourceList, () => TargetResourceList],
992
+ ];
993
+ var UpdateScopeOutput = [3, n0, _USO, 0, [_sI, _s, _sA, _t], [0, 0, 0, 128 | 0]];
994
+ var ValidationException = [
995
+ -3,
996
+ n0,
997
+ _VE,
998
+ {
999
+ [_e]: _c,
1000
+ [_hE]: 400,
1001
+ },
1002
+ [_m],
1003
+ [0],
1004
+ ];
1005
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1006
+ var WorkloadInsightsTopContributorsDataPoint = [
1007
+ 3,
1008
+ n0,
1009
+ _WITCDP,
1010
+ 0,
1011
+ [_ti, _va, _la],
1012
+ [64 | 4, 64 | 1, 0],
1013
+ ];
1014
+ var WorkloadInsightsTopContributorsRow = [
1015
+ 3,
1016
+ n0,
1017
+ _WITCR,
1018
+ 0,
1019
+ [_aI, _lSI, _lA, _lVI, _lRo, _rIe, _v, _lSA, _lVA],
1020
+ [0, 0, 0, 0, 0, 0, 1, 0, 0],
1021
+ ];
1022
+ var NetworkFlowMonitorServiceException = [
1023
+ -3,
1024
+ _sm,
1025
+ "NetworkFlowMonitorServiceException",
1026
+ 0,
1027
+ [],
1028
+ [],
1029
+ ];
1030
+ schema.TypeRegistry.for(_sm).registerError(NetworkFlowMonitorServiceException, NetworkFlowMonitorServiceException$1);
1031
+ var MonitorList = [1, n0, _ML, 0, () => MonitorSummary];
1032
+ var MonitorLocalResources = [1, n0, _MLRo, 0, () => MonitorLocalResource];
1033
+ var MonitorRemoteResources = [1, n0, _MRRo, 0, () => MonitorRemoteResource];
1034
+ var MonitorTopContributorsRowList = [1, n0, _MTCRL, 0, () => MonitorTopContributorsRow];
1035
+ var ScopeSummaryList = [1, n0, _SSL, 0, () => ScopeSummary];
1036
+ var TargetResourceList = [1, n0, _TRL, 0, () => TargetResource];
1037
+ var TraversedConstructsList = [1, n0, _TCL, 0, () => TraversedComponent];
1038
+ var WorkloadInsightsTopContributorsDataPoints = [
1039
+ 1,
1040
+ n0,
1041
+ _WITCDPo,
1042
+ 0,
1043
+ () => WorkloadInsightsTopContributorsDataPoint,
1044
+ ];
1045
+ var WorkloadInsightsTopContributorsRowList = [
1046
+ 1,
1047
+ n0,
1048
+ _WITCRL,
1049
+ 0,
1050
+ () => WorkloadInsightsTopContributorsRow,
1051
+ ];
1052
+ var TargetId = [3, n0, _TIa, 0, [_aI], [0]];
1053
+ var CreateMonitor = [
1054
+ 9,
1055
+ n0,
1056
+ _CM,
1057
+ {
1058
+ [_h]: ["POST", "/monitors", 200],
1059
+ },
1060
+ () => CreateMonitorInput,
1061
+ () => CreateMonitorOutput,
1062
+ ];
1063
+ var CreateScope = [
1064
+ 9,
1065
+ n0,
1066
+ _CS,
1067
+ {
1068
+ [_h]: ["POST", "/scopes", 200],
1069
+ },
1070
+ () => CreateScopeInput,
1071
+ () => CreateScopeOutput,
1072
+ ];
1073
+ var DeleteMonitor = [
1074
+ 9,
1075
+ n0,
1076
+ _DM,
1077
+ {
1078
+ [_h]: ["DELETE", "/monitors/{monitorName}", 200],
1079
+ },
1080
+ () => DeleteMonitorInput,
1081
+ () => DeleteMonitorOutput,
1082
+ ];
1083
+ var DeleteScope = [
1084
+ 9,
1085
+ n0,
1086
+ _DS,
1087
+ {
1088
+ [_h]: ["DELETE", "/scopes/{scopeId}", 200],
1089
+ },
1090
+ () => DeleteScopeInput,
1091
+ () => DeleteScopeOutput,
1092
+ ];
1093
+ var GetMonitor = [
1094
+ 9,
1095
+ n0,
1096
+ _GM,
1097
+ {
1098
+ [_h]: ["GET", "/monitors/{monitorName}", 200],
1099
+ },
1100
+ () => GetMonitorInput,
1101
+ () => GetMonitorOutput,
1102
+ ];
1103
+ var GetQueryResultsMonitorTopContributors = [
1104
+ 9,
1105
+ n0,
1106
+ _GQRMTC,
1107
+ {
1108
+ [_h]: ["GET", "/monitors/{monitorName}/topContributorsQueries/{queryId}/results", 200],
1109
+ },
1110
+ () => GetQueryResultsMonitorTopContributorsInput,
1111
+ () => GetQueryResultsMonitorTopContributorsOutput,
1112
+ ];
1113
+ var GetQueryResultsWorkloadInsightsTopContributors = [
1114
+ 9,
1115
+ n0,
1116
+ _GQRWITC,
1117
+ {
1118
+ [_h]: ["GET", "/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results", 200],
1119
+ },
1120
+ () => GetQueryResultsWorkloadInsightsTopContributorsInput,
1121
+ () => GetQueryResultsWorkloadInsightsTopContributorsOutput,
1122
+ ];
1123
+ var GetQueryResultsWorkloadInsightsTopContributorsData = [
1124
+ 9,
1125
+ n0,
1126
+ _GQRWITCD,
1127
+ {
1128
+ [_h]: ["GET", "/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results", 200],
1129
+ },
1130
+ () => GetQueryResultsWorkloadInsightsTopContributorsDataInput,
1131
+ () => GetQueryResultsWorkloadInsightsTopContributorsDataOutput,
1132
+ ];
1133
+ var GetQueryStatusMonitorTopContributors = [
1134
+ 9,
1135
+ n0,
1136
+ _GQSMTC,
1137
+ {
1138
+ [_h]: ["GET", "/monitors/{monitorName}/topContributorsQueries/{queryId}/status", 200],
1139
+ },
1140
+ () => GetQueryStatusMonitorTopContributorsInput,
1141
+ () => GetQueryStatusMonitorTopContributorsOutput,
1142
+ ];
1143
+ var GetQueryStatusWorkloadInsightsTopContributors = [
1144
+ 9,
1145
+ n0,
1146
+ _GQSWITC,
1147
+ {
1148
+ [_h]: ["GET", "/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status", 200],
1149
+ },
1150
+ () => GetQueryStatusWorkloadInsightsTopContributorsInput,
1151
+ () => GetQueryStatusWorkloadInsightsTopContributorsOutput,
1152
+ ];
1153
+ var GetQueryStatusWorkloadInsightsTopContributorsData = [
1154
+ 9,
1155
+ n0,
1156
+ _GQSWITCD,
1157
+ {
1158
+ [_h]: ["GET", "/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status", 200],
1159
+ },
1160
+ () => GetQueryStatusWorkloadInsightsTopContributorsDataInput,
1161
+ () => GetQueryStatusWorkloadInsightsTopContributorsDataOutput,
1162
+ ];
1163
+ var GetScope = [
1164
+ 9,
1165
+ n0,
1166
+ _GS,
1167
+ {
1168
+ [_h]: ["GET", "/scopes/{scopeId}", 200],
1169
+ },
1170
+ () => GetScopeInput,
1171
+ () => GetScopeOutput,
1172
+ ];
1173
+ var ListMonitors = [
1174
+ 9,
1175
+ n0,
1176
+ _LM,
1177
+ {
1178
+ [_h]: ["GET", "/monitors", 200],
1179
+ },
1180
+ () => ListMonitorsInput,
1181
+ () => ListMonitorsOutput,
1182
+ ];
1183
+ var ListScopes = [
1184
+ 9,
1185
+ n0,
1186
+ _LS,
1187
+ {
1188
+ [_h]: ["GET", "/scopes", 200],
1189
+ },
1190
+ () => ListScopesInput,
1191
+ () => ListScopesOutput,
1192
+ ];
1193
+ var ListTagsForResource = [
1194
+ 9,
1195
+ n0,
1196
+ _LTFR,
1197
+ {
1198
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1199
+ },
1200
+ () => ListTagsForResourceInput,
1201
+ () => ListTagsForResourceOutput,
1202
+ ];
1203
+ var StartQueryMonitorTopContributors = [
1204
+ 9,
1205
+ n0,
1206
+ _SQMTC,
1207
+ {
1208
+ [_h]: ["POST", "/monitors/{monitorName}/topContributorsQueries", 200],
1209
+ },
1210
+ () => StartQueryMonitorTopContributorsInput,
1211
+ () => StartQueryMonitorTopContributorsOutput,
1212
+ ];
1213
+ var StartQueryWorkloadInsightsTopContributors = [
1214
+ 9,
1215
+ n0,
1216
+ _SQWITC,
1217
+ {
1218
+ [_h]: ["POST", "/workloadInsights/{scopeId}/topContributorsQueries", 200],
1219
+ },
1220
+ () => StartQueryWorkloadInsightsTopContributorsInput,
1221
+ () => StartQueryWorkloadInsightsTopContributorsOutput,
1222
+ ];
1223
+ var StartQueryWorkloadInsightsTopContributorsData = [
1224
+ 9,
1225
+ n0,
1226
+ _SQWITCD,
1227
+ {
1228
+ [_h]: ["POST", "/workloadInsights/{scopeId}/topContributorsDataQueries", 200],
1229
+ },
1230
+ () => StartQueryWorkloadInsightsTopContributorsDataInput,
1231
+ () => StartQueryWorkloadInsightsTopContributorsDataOutput,
1232
+ ];
1233
+ var StopQueryMonitorTopContributors = [
1234
+ 9,
1235
+ n0,
1236
+ _SQMTCt,
1237
+ {
1238
+ [_h]: ["DELETE", "/monitors/{monitorName}/topContributorsQueries/{queryId}", 200],
1239
+ },
1240
+ () => StopQueryMonitorTopContributorsInput,
1241
+ () => StopQueryMonitorTopContributorsOutput,
1242
+ ];
1243
+ var StopQueryWorkloadInsightsTopContributors = [
1244
+ 9,
1245
+ n0,
1246
+ _SQWITCt,
1247
+ {
1248
+ [_h]: ["DELETE", "/workloadInsights/{scopeId}/topContributorsQueries/{queryId}", 200],
1249
+ },
1250
+ () => StopQueryWorkloadInsightsTopContributorsInput,
1251
+ () => StopQueryWorkloadInsightsTopContributorsOutput,
1252
+ ];
1253
+ var StopQueryWorkloadInsightsTopContributorsData = [
1254
+ 9,
1255
+ n0,
1256
+ _SQWITCDt,
1257
+ {
1258
+ [_h]: ["DELETE", "/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}", 200],
1259
+ },
1260
+ () => StopQueryWorkloadInsightsTopContributorsDataInput,
1261
+ () => StopQueryWorkloadInsightsTopContributorsDataOutput,
1262
+ ];
1263
+ var TagResource = [
1264
+ 9,
1265
+ n0,
1266
+ _TRa,
1267
+ {
1268
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1269
+ },
1270
+ () => TagResourceInput,
1271
+ () => TagResourceOutput,
1272
+ ];
1273
+ var UntagResource = [
1274
+ 9,
1275
+ n0,
1276
+ _UR,
1277
+ {
1278
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1279
+ },
1280
+ () => UntagResourceInput,
1281
+ () => UntagResourceOutput,
1282
+ ];
1283
+ var UpdateMonitor = [
1284
+ 9,
1285
+ n0,
1286
+ _UM,
1287
+ {
1288
+ [_h]: ["PATCH", "/monitors/{monitorName}", 200],
1289
+ },
1290
+ () => UpdateMonitorInput,
1291
+ () => UpdateMonitorOutput,
1292
+ ];
1293
+ var UpdateScope = [
1294
+ 9,
1295
+ n0,
1296
+ _US,
1297
+ {
1298
+ [_h]: ["PATCH", "/scopes/{scopeId}", 200],
1299
+ },
1300
+ () => UpdateScopeInput,
1301
+ () => UpdateScopeOutput,
1302
+ ];
1149
1303
 
1150
1304
  class CreateMonitorCommand extends smithyClient.Command
1151
1305
  .classBuilder()
1152
1306
  .ep(commonParams)
1153
1307
  .m(function (Command, cs, config, o) {
1154
- return [
1155
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1156
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1157
- ];
1308
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
1309
  })
1159
1310
  .s("NetworkFlowMonitor", "CreateMonitor", {})
1160
1311
  .n("NetworkFlowMonitorClient", "CreateMonitorCommand")
1161
- .f(void 0, void 0)
1162
- .ser(se_CreateMonitorCommand)
1163
- .de(de_CreateMonitorCommand)
1312
+ .sc(CreateMonitor)
1164
1313
  .build() {
1165
1314
  }
1166
1315
 
@@ -1168,16 +1317,11 @@ class CreateScopeCommand extends smithyClient.Command
1168
1317
  .classBuilder()
1169
1318
  .ep(commonParams)
1170
1319
  .m(function (Command, cs, config, o) {
1171
- return [
1172
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1173
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1174
- ];
1320
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1175
1321
  })
1176
1322
  .s("NetworkFlowMonitor", "CreateScope", {})
1177
1323
  .n("NetworkFlowMonitorClient", "CreateScopeCommand")
1178
- .f(void 0, void 0)
1179
- .ser(se_CreateScopeCommand)
1180
- .de(de_CreateScopeCommand)
1324
+ .sc(CreateScope)
1181
1325
  .build() {
1182
1326
  }
1183
1327
 
@@ -1185,16 +1329,11 @@ class DeleteMonitorCommand extends smithyClient.Command
1185
1329
  .classBuilder()
1186
1330
  .ep(commonParams)
1187
1331
  .m(function (Command, cs, config, o) {
1188
- return [
1189
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1190
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1191
- ];
1332
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1192
1333
  })
1193
1334
  .s("NetworkFlowMonitor", "DeleteMonitor", {})
1194
1335
  .n("NetworkFlowMonitorClient", "DeleteMonitorCommand")
1195
- .f(void 0, void 0)
1196
- .ser(se_DeleteMonitorCommand)
1197
- .de(de_DeleteMonitorCommand)
1336
+ .sc(DeleteMonitor)
1198
1337
  .build() {
1199
1338
  }
1200
1339
 
@@ -1202,16 +1341,11 @@ class DeleteScopeCommand extends smithyClient.Command
1202
1341
  .classBuilder()
1203
1342
  .ep(commonParams)
1204
1343
  .m(function (Command, cs, config, o) {
1205
- return [
1206
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1207
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1208
- ];
1344
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1209
1345
  })
1210
1346
  .s("NetworkFlowMonitor", "DeleteScope", {})
1211
1347
  .n("NetworkFlowMonitorClient", "DeleteScopeCommand")
1212
- .f(void 0, void 0)
1213
- .ser(se_DeleteScopeCommand)
1214
- .de(de_DeleteScopeCommand)
1348
+ .sc(DeleteScope)
1215
1349
  .build() {
1216
1350
  }
1217
1351
 
@@ -1219,16 +1353,11 @@ class GetMonitorCommand extends smithyClient.Command
1219
1353
  .classBuilder()
1220
1354
  .ep(commonParams)
1221
1355
  .m(function (Command, cs, config, o) {
1222
- return [
1223
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1224
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1225
- ];
1356
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
1357
  })
1227
1358
  .s("NetworkFlowMonitor", "GetMonitor", {})
1228
1359
  .n("NetworkFlowMonitorClient", "GetMonitorCommand")
1229
- .f(void 0, void 0)
1230
- .ser(se_GetMonitorCommand)
1231
- .de(de_GetMonitorCommand)
1360
+ .sc(GetMonitor)
1232
1361
  .build() {
1233
1362
  }
1234
1363
 
@@ -1236,16 +1365,11 @@ class GetQueryResultsMonitorTopContributorsCommand extends smithyClient.Command
1236
1365
  .classBuilder()
1237
1366
  .ep(commonParams)
1238
1367
  .m(function (Command, cs, config, o) {
1239
- return [
1240
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1241
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1242
- ];
1368
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1243
1369
  })
1244
1370
  .s("NetworkFlowMonitor", "GetQueryResultsMonitorTopContributors", {})
1245
1371
  .n("NetworkFlowMonitorClient", "GetQueryResultsMonitorTopContributorsCommand")
1246
- .f(void 0, void 0)
1247
- .ser(se_GetQueryResultsMonitorTopContributorsCommand)
1248
- .de(de_GetQueryResultsMonitorTopContributorsCommand)
1372
+ .sc(GetQueryResultsMonitorTopContributors)
1249
1373
  .build() {
1250
1374
  }
1251
1375
 
@@ -1253,16 +1377,11 @@ class GetQueryResultsWorkloadInsightsTopContributorsCommand extends smithyClient
1253
1377
  .classBuilder()
1254
1378
  .ep(commonParams)
1255
1379
  .m(function (Command, cs, config, o) {
1256
- return [
1257
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1258
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1259
- ];
1380
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1260
1381
  })
1261
1382
  .s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributors", {})
1262
1383
  .n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsCommand")
1263
- .f(void 0, void 0)
1264
- .ser(se_GetQueryResultsWorkloadInsightsTopContributorsCommand)
1265
- .de(de_GetQueryResultsWorkloadInsightsTopContributorsCommand)
1384
+ .sc(GetQueryResultsWorkloadInsightsTopContributors)
1266
1385
  .build() {
1267
1386
  }
1268
1387
 
@@ -1270,16 +1389,11 @@ class GetQueryResultsWorkloadInsightsTopContributorsDataCommand extends smithyCl
1270
1389
  .classBuilder()
1271
1390
  .ep(commonParams)
1272
1391
  .m(function (Command, cs, config, o) {
1273
- return [
1274
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1275
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1276
- ];
1392
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
1393
  })
1278
1394
  .s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributorsData", {})
1279
1395
  .n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsDataCommand")
1280
- .f(void 0, void 0)
1281
- .ser(se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand)
1282
- .de(de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand)
1396
+ .sc(GetQueryResultsWorkloadInsightsTopContributorsData)
1283
1397
  .build() {
1284
1398
  }
1285
1399
 
@@ -1287,16 +1401,11 @@ class GetQueryStatusMonitorTopContributorsCommand extends smithyClient.Command
1287
1401
  .classBuilder()
1288
1402
  .ep(commonParams)
1289
1403
  .m(function (Command, cs, config, o) {
1290
- return [
1291
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1292
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1293
- ];
1404
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1294
1405
  })
1295
1406
  .s("NetworkFlowMonitor", "GetQueryStatusMonitorTopContributors", {})
1296
1407
  .n("NetworkFlowMonitorClient", "GetQueryStatusMonitorTopContributorsCommand")
1297
- .f(void 0, void 0)
1298
- .ser(se_GetQueryStatusMonitorTopContributorsCommand)
1299
- .de(de_GetQueryStatusMonitorTopContributorsCommand)
1408
+ .sc(GetQueryStatusMonitorTopContributors)
1300
1409
  .build() {
1301
1410
  }
1302
1411
 
@@ -1304,16 +1413,11 @@ class GetQueryStatusWorkloadInsightsTopContributorsCommand extends smithyClient.
1304
1413
  .classBuilder()
1305
1414
  .ep(commonParams)
1306
1415
  .m(function (Command, cs, config, o) {
1307
- return [
1308
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1309
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1310
- ];
1416
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
1417
  })
1312
1418
  .s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributors", {})
1313
1419
  .n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsCommand")
1314
- .f(void 0, void 0)
1315
- .ser(se_GetQueryStatusWorkloadInsightsTopContributorsCommand)
1316
- .de(de_GetQueryStatusWorkloadInsightsTopContributorsCommand)
1420
+ .sc(GetQueryStatusWorkloadInsightsTopContributors)
1317
1421
  .build() {
1318
1422
  }
1319
1423
 
@@ -1321,16 +1425,11 @@ class GetQueryStatusWorkloadInsightsTopContributorsDataCommand extends smithyCli
1321
1425
  .classBuilder()
1322
1426
  .ep(commonParams)
1323
1427
  .m(function (Command, cs, config, o) {
1324
- return [
1325
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1326
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1327
- ];
1428
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
1429
  })
1329
1430
  .s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributorsData", {})
1330
1431
  .n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsDataCommand")
1331
- .f(void 0, void 0)
1332
- .ser(se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand)
1333
- .de(de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand)
1432
+ .sc(GetQueryStatusWorkloadInsightsTopContributorsData)
1334
1433
  .build() {
1335
1434
  }
1336
1435
 
@@ -1338,16 +1437,11 @@ class GetScopeCommand extends smithyClient.Command
1338
1437
  .classBuilder()
1339
1438
  .ep(commonParams)
1340
1439
  .m(function (Command, cs, config, o) {
1341
- return [
1342
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1343
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1344
- ];
1440
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
1441
  })
1346
1442
  .s("NetworkFlowMonitor", "GetScope", {})
1347
1443
  .n("NetworkFlowMonitorClient", "GetScopeCommand")
1348
- .f(void 0, void 0)
1349
- .ser(se_GetScopeCommand)
1350
- .de(de_GetScopeCommand)
1444
+ .sc(GetScope)
1351
1445
  .build() {
1352
1446
  }
1353
1447
 
@@ -1355,16 +1449,11 @@ class ListMonitorsCommand extends smithyClient.Command
1355
1449
  .classBuilder()
1356
1450
  .ep(commonParams)
1357
1451
  .m(function (Command, cs, config, o) {
1358
- return [
1359
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1360
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1361
- ];
1452
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
1453
  })
1363
1454
  .s("NetworkFlowMonitor", "ListMonitors", {})
1364
1455
  .n("NetworkFlowMonitorClient", "ListMonitorsCommand")
1365
- .f(void 0, void 0)
1366
- .ser(se_ListMonitorsCommand)
1367
- .de(de_ListMonitorsCommand)
1456
+ .sc(ListMonitors)
1368
1457
  .build() {
1369
1458
  }
1370
1459
 
@@ -1372,16 +1461,11 @@ class ListScopesCommand extends smithyClient.Command
1372
1461
  .classBuilder()
1373
1462
  .ep(commonParams)
1374
1463
  .m(function (Command, cs, config, o) {
1375
- return [
1376
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1377
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1378
- ];
1464
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
1465
  })
1380
1466
  .s("NetworkFlowMonitor", "ListScopes", {})
1381
1467
  .n("NetworkFlowMonitorClient", "ListScopesCommand")
1382
- .f(void 0, void 0)
1383
- .ser(se_ListScopesCommand)
1384
- .de(de_ListScopesCommand)
1468
+ .sc(ListScopes)
1385
1469
  .build() {
1386
1470
  }
1387
1471
 
@@ -1389,16 +1473,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1389
1473
  .classBuilder()
1390
1474
  .ep(commonParams)
1391
1475
  .m(function (Command, cs, config, o) {
1392
- return [
1393
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1394
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1395
- ];
1476
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1396
1477
  })
1397
1478
  .s("NetworkFlowMonitor", "ListTagsForResource", {})
1398
1479
  .n("NetworkFlowMonitorClient", "ListTagsForResourceCommand")
1399
- .f(void 0, void 0)
1400
- .ser(se_ListTagsForResourceCommand)
1401
- .de(de_ListTagsForResourceCommand)
1480
+ .sc(ListTagsForResource)
1402
1481
  .build() {
1403
1482
  }
1404
1483
 
@@ -1406,16 +1485,11 @@ class StartQueryMonitorTopContributorsCommand extends smithyClient.Command
1406
1485
  .classBuilder()
1407
1486
  .ep(commonParams)
1408
1487
  .m(function (Command, cs, config, o) {
1409
- return [
1410
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1411
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1412
- ];
1488
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
1489
  })
1414
1490
  .s("NetworkFlowMonitor", "StartQueryMonitorTopContributors", {})
1415
1491
  .n("NetworkFlowMonitorClient", "StartQueryMonitorTopContributorsCommand")
1416
- .f(void 0, void 0)
1417
- .ser(se_StartQueryMonitorTopContributorsCommand)
1418
- .de(de_StartQueryMonitorTopContributorsCommand)
1492
+ .sc(StartQueryMonitorTopContributors)
1419
1493
  .build() {
1420
1494
  }
1421
1495
 
@@ -1423,16 +1497,11 @@ class StartQueryWorkloadInsightsTopContributorsCommand extends smithyClient.Comm
1423
1497
  .classBuilder()
1424
1498
  .ep(commonParams)
1425
1499
  .m(function (Command, cs, config, o) {
1426
- return [
1427
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1428
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1429
- ];
1500
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
1501
  })
1431
1502
  .s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributors", {})
1432
1503
  .n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsCommand")
1433
- .f(void 0, void 0)
1434
- .ser(se_StartQueryWorkloadInsightsTopContributorsCommand)
1435
- .de(de_StartQueryWorkloadInsightsTopContributorsCommand)
1504
+ .sc(StartQueryWorkloadInsightsTopContributors)
1436
1505
  .build() {
1437
1506
  }
1438
1507
 
@@ -1440,16 +1509,11 @@ class StartQueryWorkloadInsightsTopContributorsDataCommand extends smithyClient.
1440
1509
  .classBuilder()
1441
1510
  .ep(commonParams)
1442
1511
  .m(function (Command, cs, config, o) {
1443
- return [
1444
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1445
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1446
- ];
1512
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
1513
  })
1448
1514
  .s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributorsData", {})
1449
1515
  .n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsDataCommand")
1450
- .f(void 0, void 0)
1451
- .ser(se_StartQueryWorkloadInsightsTopContributorsDataCommand)
1452
- .de(de_StartQueryWorkloadInsightsTopContributorsDataCommand)
1516
+ .sc(StartQueryWorkloadInsightsTopContributorsData)
1453
1517
  .build() {
1454
1518
  }
1455
1519
 
@@ -1457,16 +1521,11 @@ class StopQueryMonitorTopContributorsCommand extends smithyClient.Command
1457
1521
  .classBuilder()
1458
1522
  .ep(commonParams)
1459
1523
  .m(function (Command, cs, config, o) {
1460
- return [
1461
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1462
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1463
- ];
1524
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
1525
  })
1465
1526
  .s("NetworkFlowMonitor", "StopQueryMonitorTopContributors", {})
1466
1527
  .n("NetworkFlowMonitorClient", "StopQueryMonitorTopContributorsCommand")
1467
- .f(void 0, void 0)
1468
- .ser(se_StopQueryMonitorTopContributorsCommand)
1469
- .de(de_StopQueryMonitorTopContributorsCommand)
1528
+ .sc(StopQueryMonitorTopContributors)
1470
1529
  .build() {
1471
1530
  }
1472
1531
 
@@ -1474,16 +1533,11 @@ class StopQueryWorkloadInsightsTopContributorsCommand extends smithyClient.Comma
1474
1533
  .classBuilder()
1475
1534
  .ep(commonParams)
1476
1535
  .m(function (Command, cs, config, o) {
1477
- return [
1478
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1479
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1480
- ];
1536
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1481
1537
  })
1482
1538
  .s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributors", {})
1483
1539
  .n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsCommand")
1484
- .f(void 0, void 0)
1485
- .ser(se_StopQueryWorkloadInsightsTopContributorsCommand)
1486
- .de(de_StopQueryWorkloadInsightsTopContributorsCommand)
1540
+ .sc(StopQueryWorkloadInsightsTopContributors)
1487
1541
  .build() {
1488
1542
  }
1489
1543
 
@@ -1491,16 +1545,11 @@ class StopQueryWorkloadInsightsTopContributorsDataCommand extends smithyClient.C
1491
1545
  .classBuilder()
1492
1546
  .ep(commonParams)
1493
1547
  .m(function (Command, cs, config, o) {
1494
- return [
1495
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1496
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1497
- ];
1548
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
1549
  })
1499
1550
  .s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributorsData", {})
1500
1551
  .n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsDataCommand")
1501
- .f(void 0, void 0)
1502
- .ser(se_StopQueryWorkloadInsightsTopContributorsDataCommand)
1503
- .de(de_StopQueryWorkloadInsightsTopContributorsDataCommand)
1552
+ .sc(StopQueryWorkloadInsightsTopContributorsData)
1504
1553
  .build() {
1505
1554
  }
1506
1555
 
@@ -1508,16 +1557,11 @@ class TagResourceCommand extends smithyClient.Command
1508
1557
  .classBuilder()
1509
1558
  .ep(commonParams)
1510
1559
  .m(function (Command, cs, config, o) {
1511
- return [
1512
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1513
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1514
- ];
1560
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
1561
  })
1516
1562
  .s("NetworkFlowMonitor", "TagResource", {})
1517
1563
  .n("NetworkFlowMonitorClient", "TagResourceCommand")
1518
- .f(void 0, void 0)
1519
- .ser(se_TagResourceCommand)
1520
- .de(de_TagResourceCommand)
1564
+ .sc(TagResource)
1521
1565
  .build() {
1522
1566
  }
1523
1567
 
@@ -1525,16 +1569,11 @@ class UntagResourceCommand extends smithyClient.Command
1525
1569
  .classBuilder()
1526
1570
  .ep(commonParams)
1527
1571
  .m(function (Command, cs, config, o) {
1528
- return [
1529
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1530
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1531
- ];
1572
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1532
1573
  })
1533
1574
  .s("NetworkFlowMonitor", "UntagResource", {})
1534
1575
  .n("NetworkFlowMonitorClient", "UntagResourceCommand")
1535
- .f(void 0, void 0)
1536
- .ser(se_UntagResourceCommand)
1537
- .de(de_UntagResourceCommand)
1576
+ .sc(UntagResource)
1538
1577
  .build() {
1539
1578
  }
1540
1579
 
@@ -1542,16 +1581,11 @@ class UpdateMonitorCommand extends smithyClient.Command
1542
1581
  .classBuilder()
1543
1582
  .ep(commonParams)
1544
1583
  .m(function (Command, cs, config, o) {
1545
- return [
1546
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1547
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1548
- ];
1584
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1549
1585
  })
1550
1586
  .s("NetworkFlowMonitor", "UpdateMonitor", {})
1551
1587
  .n("NetworkFlowMonitorClient", "UpdateMonitorCommand")
1552
- .f(void 0, void 0)
1553
- .ser(se_UpdateMonitorCommand)
1554
- .de(de_UpdateMonitorCommand)
1588
+ .sc(UpdateMonitor)
1555
1589
  .build() {
1556
1590
  }
1557
1591
 
@@ -1559,16 +1593,11 @@ class UpdateScopeCommand extends smithyClient.Command
1559
1593
  .classBuilder()
1560
1594
  .ep(commonParams)
1561
1595
  .m(function (Command, cs, config, o) {
1562
- return [
1563
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1564
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1565
- ];
1596
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1566
1597
  })
1567
1598
  .s("NetworkFlowMonitor", "UpdateScope", {})
1568
1599
  .n("NetworkFlowMonitorClient", "UpdateScopeCommand")
1569
- .f(void 0, void 0)
1570
- .ser(se_UpdateScopeCommand)
1571
- .de(de_UpdateScopeCommand)
1600
+ .sc(UpdateScope)
1572
1601
  .build() {
1573
1602
  }
1574
1603
 
@@ -1621,8 +1650,8 @@ Object.defineProperty(exports, "__Client", {
1621
1650
  enumerable: true,
1622
1651
  get: function () { return smithyClient.Client; }
1623
1652
  });
1624
- exports.AccessDeniedException = AccessDeniedException;
1625
- exports.ConflictException = ConflictException;
1653
+ exports.AccessDeniedException = AccessDeniedException$1;
1654
+ exports.ConflictException = ConflictException$1;
1626
1655
  exports.CreateMonitorCommand = CreateMonitorCommand;
1627
1656
  exports.CreateScopeCommand = CreateScopeCommand;
1628
1657
  exports.DeleteMonitorCommand = DeleteMonitorCommand;
@@ -1636,7 +1665,7 @@ exports.GetQueryStatusMonitorTopContributorsCommand = GetQueryStatusMonitorTopCo
1636
1665
  exports.GetQueryStatusWorkloadInsightsTopContributorsCommand = GetQueryStatusWorkloadInsightsTopContributorsCommand;
1637
1666
  exports.GetQueryStatusWorkloadInsightsTopContributorsDataCommand = GetQueryStatusWorkloadInsightsTopContributorsDataCommand;
1638
1667
  exports.GetScopeCommand = GetScopeCommand;
1639
- exports.InternalServerException = InternalServerException;
1668
+ exports.InternalServerException = InternalServerException$1;
1640
1669
  exports.ListMonitorsCommand = ListMonitorsCommand;
1641
1670
  exports.ListScopesCommand = ListScopesCommand;
1642
1671
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -1647,11 +1676,11 @@ exports.MonitorRemoteResourceType = MonitorRemoteResourceType;
1647
1676
  exports.MonitorStatus = MonitorStatus;
1648
1677
  exports.NetworkFlowMonitor = NetworkFlowMonitor;
1649
1678
  exports.NetworkFlowMonitorClient = NetworkFlowMonitorClient;
1650
- exports.NetworkFlowMonitorServiceException = NetworkFlowMonitorServiceException;
1679
+ exports.NetworkFlowMonitorServiceException = NetworkFlowMonitorServiceException$1;
1651
1680
  exports.QueryStatus = QueryStatus;
1652
- exports.ResourceNotFoundException = ResourceNotFoundException;
1681
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1653
1682
  exports.ScopeStatus = ScopeStatus;
1654
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1683
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1655
1684
  exports.StartQueryMonitorTopContributorsCommand = StartQueryMonitorTopContributorsCommand;
1656
1685
  exports.StartQueryWorkloadInsightsTopContributorsCommand = StartQueryWorkloadInsightsTopContributorsCommand;
1657
1686
  exports.StartQueryWorkloadInsightsTopContributorsDataCommand = StartQueryWorkloadInsightsTopContributorsDataCommand;
@@ -1660,11 +1689,11 @@ exports.StopQueryWorkloadInsightsTopContributorsCommand = StopQueryWorkloadInsig
1660
1689
  exports.StopQueryWorkloadInsightsTopContributorsDataCommand = StopQueryWorkloadInsightsTopContributorsDataCommand;
1661
1690
  exports.TagResourceCommand = TagResourceCommand;
1662
1691
  exports.TargetType = TargetType;
1663
- exports.ThrottlingException = ThrottlingException;
1692
+ exports.ThrottlingException = ThrottlingException$1;
1664
1693
  exports.UntagResourceCommand = UntagResourceCommand;
1665
1694
  exports.UpdateMonitorCommand = UpdateMonitorCommand;
1666
1695
  exports.UpdateScopeCommand = UpdateScopeCommand;
1667
- exports.ValidationException = ValidationException;
1696
+ exports.ValidationException = ValidationException$1;
1668
1697
  exports.WorkloadInsightsMetric = WorkloadInsightsMetric;
1669
1698
  exports.paginateGetQueryResultsMonitorTopContributors = paginateGetQueryResultsMonitorTopContributors;
1670
1699
  exports.paginateGetQueryResultsWorkloadInsightsTopContributors = paginateGetQueryResultsWorkloadInsightsTopContributors;