@aws-sdk/client-networkflowmonitor 3.928.0 → 3.929.0

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