File Explorer

/var/runtime/node_modules/@aws-sdk/client-networkflowmonitor/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
3 files
index.js78.4 KB · 1827 lines
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  ConflictException: () => ConflictException,  CreateMonitorCommand: () => CreateMonitorCommand,  CreateScopeCommand: () => CreateScopeCommand,  DeleteMonitorCommand: () => DeleteMonitorCommand,  DeleteScopeCommand: () => DeleteScopeCommand,  DestinationCategory: () => DestinationCategory,  GetMonitorCommand: () => GetMonitorCommand,  GetQueryResultsMonitorTopContributorsCommand: () => GetQueryResultsMonitorTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsCommand: () => GetQueryResultsWorkloadInsightsTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsDataCommand: () => GetQueryResultsWorkloadInsightsTopContributorsDataCommand,  GetQueryStatusMonitorTopContributorsCommand: () => GetQueryStatusMonitorTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsCommand: () => GetQueryStatusWorkloadInsightsTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsDataCommand: () => GetQueryStatusWorkloadInsightsTopContributorsDataCommand,  GetScopeCommand: () => GetScopeCommand,  InternalServerException: () => InternalServerException,  ListMonitorsCommand: () => ListMonitorsCommand,  ListScopesCommand: () => ListScopesCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  MetricUnit: () => MetricUnit,  MonitorLocalResourceType: () => MonitorLocalResourceType,  MonitorMetric: () => MonitorMetric,  MonitorRemoteResourceType: () => MonitorRemoteResourceType,  MonitorStatus: () => MonitorStatus,  NetworkFlowMonitor: () => NetworkFlowMonitor,  NetworkFlowMonitorClient: () => NetworkFlowMonitorClient,  NetworkFlowMonitorServiceException: () => NetworkFlowMonitorServiceException,  QueryStatus: () => QueryStatus,  ResourceNotFoundException: () => ResourceNotFoundException,  ScopeStatus: () => ScopeStatus,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartQueryMonitorTopContributorsCommand: () => StartQueryMonitorTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsCommand: () => StartQueryWorkloadInsightsTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsDataCommand: () => StartQueryWorkloadInsightsTopContributorsDataCommand,  StopQueryMonitorTopContributorsCommand: () => StopQueryMonitorTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsCommand: () => StopQueryWorkloadInsightsTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsDataCommand: () => StopQueryWorkloadInsightsTopContributorsDataCommand,  TagResourceCommand: () => TagResourceCommand,  TargetId: () => TargetId,  TargetType: () => TargetType,  ThrottlingException: () => ThrottlingException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateMonitorCommand: () => UpdateMonitorCommand,  UpdateScopeCommand: () => UpdateScopeCommand,  ValidationException: () => ValidationException,  WorkloadInsightsMetric: () => WorkloadInsightsMetric,  __Client: () => import_smithy_client.Client,  paginateGetQueryResultsMonitorTopContributors: () => paginateGetQueryResultsMonitorTopContributors,  paginateGetQueryResultsWorkloadInsightsTopContributors: () => paginateGetQueryResultsWorkloadInsightsTopContributors,  paginateGetQueryResultsWorkloadInsightsTopContributorsData: () => paginateGetQueryResultsWorkloadInsightsTopContributorsData,  paginateListMonitors: () => paginateListMonitors,  paginateListScopes: () => paginateListScopes});module.exports = __toCommonJS(index_exports); // src/NetworkFlowMonitorClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {  return Object.assign(options, {    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "networkflowmonitor"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" }}; // src/NetworkFlowMonitorClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;  let _credentials = runtimeConfig.credentials;  return {    setHttpAuthScheme(httpAuthScheme) {      const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);      if (index === -1) {        _httpAuthSchemes.push(httpAuthScheme);      } else {        _httpAuthSchemes.splice(index, 1, httpAuthScheme);      }    },    httpAuthSchemes() {      return _httpAuthSchemes;    },    setHttpAuthSchemeProvider(httpAuthSchemeProvider) {      _httpAuthSchemeProvider = httpAuthSchemeProvider;    },    httpAuthSchemeProvider() {      return _httpAuthSchemeProvider;    },    setCredentials(credentials) {      _credentials = credentials;    },    credentials() {      return _credentials;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    credentials: config.credentials()  };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {  const extensionConfiguration = Object.assign(    (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),    (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),    (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),    getHttpAuthExtensionConfiguration(runtimeConfig)  );  extensions.forEach((extension) => extension.configure(extensionConfiguration));  return Object.assign(    runtimeConfig,    (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),    (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),    (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),    resolveHttpAuthRuntimeConfig(extensionConfiguration)  );}, "resolveRuntimeExtensions"); // src/NetworkFlowMonitorClient.tsvar NetworkFlowMonitorClient = class extends import_smithy_client.Client {  static {    __name(this, "NetworkFlowMonitorClient");  }  /**   * The resolved configuration of NetworkFlowMonitorClient class. This is resolved and normalized from the {@link NetworkFlowMonitorClientConfig | constructor configuration interface}.   */  config;  constructor(...[configuration]) {    const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});    super(_config_0);    this.initConfig = _config_0;    const _config_1 = resolveClientEndpointParameters(_config_0);    const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);    const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);    const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);    const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);    const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);    const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);    const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);    this.config = _config_8;    this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));    this.middlewareStack.use(      (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {        httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultNetworkFlowMonitorHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "aws.auth#sigv4": config.credentials        }), "identityProviderConfigProvider")      })    );    this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));  }  /**   * Destroy underlying resources, like sockets. It's usually not necessary to do this.   * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.   * Otherwise, sockets might stay open for quite a long time before the server terminates them.   */  destroy() {    super.destroy();  }}; // src/NetworkFlowMonitor.ts  // src/commands/CreateMonitorCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");  var import_uuid = require("uuid"); // src/models/NetworkFlowMonitorServiceException.ts var NetworkFlowMonitorServiceException = class _NetworkFlowMonitorServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "NetworkFlowMonitorServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _NetworkFlowMonitorServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends NetworkFlowMonitorServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);  }};var ConflictException = class _ConflictException extends NetworkFlowMonitorServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);  }};var MonitorLocalResourceType = {  AWS_AZ: "AWS::AvailabilityZone",  AWS_REGION: "AWS::Region",  AWS_SUBNET: "AWS::EC2::Subnet",  AWS_VPC: "AWS::EC2::VPC"};var MonitorRemoteResourceType = {  AWS_AZ: "AWS::AvailabilityZone",  AWS_REGION: "AWS::Region",  AWS_SERVICE: "AWS::AWSService",  AWS_SUBNET: "AWS::EC2::Subnet",  AWS_VPC: "AWS::EC2::VPC"};var MonitorStatus = {  ACTIVE: "ACTIVE",  DELETING: "DELETING",  ERROR: "ERROR",  INACTIVE: "INACTIVE",  PENDING: "PENDING"};var InternalServerException = class _InternalServerException extends NetworkFlowMonitorServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  $retryable = {};  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends NetworkFlowMonitorServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);  }};var ThrottlingException = class _ThrottlingException extends NetworkFlowMonitorServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  $retryable = {    throttling: true  };  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);  }};var ValidationException = class _ValidationException extends NetworkFlowMonitorServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);  }};var TargetId;((TargetId3) => {  TargetId3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.accountId !== void 0) return visitor.accountId(value.accountId);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(TargetId || (TargetId = {}));var TargetType = {  ACCOUNT: "ACCOUNT"};var ScopeStatus = {  DEACTIVATED: "DEACTIVATED",  DEACTIVATING: "DEACTIVATING",  FAILED: "FAILED",  IN_PROGRESS: "IN_PROGRESS",  SUCCEEDED: "SUCCEEDED"};var ResourceNotFoundException = class _ResourceNotFoundException extends NetworkFlowMonitorServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);  }};var DestinationCategory = {  AMAZON_DYNAMODB: "AMAZON_DYNAMODB",  AMAZON_S3: "AMAZON_S3",  INTER_AZ: "INTER_AZ",  INTER_REGION: "INTER_REGION",  INTER_VPC: "INTER_VPC",  INTRA_AZ: "INTRA_AZ",  UNCLASSIFIED: "UNCLASSIFIED"};var MetricUnit = {  BITS: "Bits",  BITS_PER_SECOND: "Bits/Second",  BYTES: "Bytes",  BYTES_PER_SECOND: "Bytes/Second",  COUNT: "Count",  COUNT_PER_SECOND: "Count/Second",  GIGABITS: "Gigabits",  GIGABITS_PER_SECOND: "Gigabits/Second",  GIGABYTES: "Gigabytes",  GIGABYTES_PER_SECOND: "Gigabytes/Second",  KILOBITS: "Kilobits",  KILOBITS_PER_SECOND: "Kilobits/Second",  KILOBYTES: "Kilobytes",  KILOBYTES_PER_SECOND: "Kilobytes/Second",  MEGABITS: "Megabits",  MEGABITS_PER_SECOND: "Megabits/Second",  MEGABYTES: "Megabytes",  MEGABYTES_PER_SECOND: "Megabytes/Second",  MICROSECONDS: "Microseconds",  MILLISECONDS: "Milliseconds",  NONE: "None",  PERCENT: "Percent",  SECONDS: "Seconds",  TERABITS: "Terabits",  TERABITS_PER_SECOND: "Terabits/Second",  TERABYTES: "Terabytes",  TERABYTES_PER_SECOND: "Terabytes/Second"};var QueryStatus = {  CANCELED: "CANCELED",  FAILED: "FAILED",  QUEUED: "QUEUED",  RUNNING: "RUNNING",  SUCCEEDED: "SUCCEEDED"};var MonitorMetric = {  DATA_TRANSFERRED: "DATA_TRANSFERRED",  RETRANSMISSIONS: "RETRANSMISSIONS",  ROUND_TRIP_TIME: "ROUND_TRIP_TIME",  TIMEOUTS: "TIMEOUTS"};var WorkloadInsightsMetric = {  DATA_TRANSFERRED: "DATA_TRANSFERRED",  RETRANSMISSIONS: "RETRANSMISSIONS",  TIMEOUTS: "TIMEOUTS"}; // src/protocols/Aws_restJson1.tsvar se_CreateMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/monitors");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      localResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResources"),      monitorName: [],      remoteResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResources"),      scopeArn: [],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateMonitorCommand");var se_CreateScopeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/scopes");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),      targets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "targets")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateScopeCommand");var se_DeleteMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors/{monitorName}");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteMonitorCommand");var se_DeleteScopeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/scopes/{scopeId}");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteScopeCommand");var se_GetMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors/{monitorName}");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetMonitorCommand");var se_GetQueryResultsMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/results");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQueryResultsMonitorTopContributorsCommand");var se_GetQueryResultsWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQueryResultsWorkloadInsightsTopContributorsCommand");var se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand");var se_GetQueryStatusMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/status");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetQueryStatusMonitorTopContributorsCommand");var se_GetQueryStatusWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetQueryStatusWorkloadInsightsTopContributorsCommand");var se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand");var se_GetScopeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/scopes/{scopeId}");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetScopeCommand");var se_ListMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors");  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],    [_mS]: [, input[_mS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListMonitorsCommand");var se_ListScopesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/scopes");  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListScopesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_StartQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/monitors/{monitorName}/topContributorsQueries");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      destinationCategory: [],      endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),      limit: [],      metricName: [],      startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartQueryMonitorTopContributorsCommand");var se_StartQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/workloadInsights/{scopeId}/topContributorsQueries");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      destinationCategory: [],      endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),      limit: [],      metricName: [],      startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartQueryWorkloadInsightsTopContributorsCommand");var se_StartQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      destinationCategory: [],      endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),      metricName: [],      startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartQueryWorkloadInsightsTopContributorsDataCommand");var se_StopQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_StopQueryMonitorTopContributorsCommand");var se_StopQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_StopQueryWorkloadInsightsTopContributorsCommand");var se_StopQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  b.p("queryId", () => input.queryId, "{queryId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_StopQueryWorkloadInsightsTopContributorsDataCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/monitors/{monitorName}");  b.p("monitorName", () => input.monitorName, "{monitorName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      localResourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResourcesToAdd"),      localResourcesToRemove: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResourcesToRemove"),      remoteResourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResourcesToAdd"),      remoteResourcesToRemove: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResourcesToRemove")    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateMonitorCommand");var se_UpdateScopeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/scopes/{scopeId}");  b.p("scopeId", () => input.scopeId, "{scopeId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      resourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourcesToAdd"),      resourcesToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourcesToDelete")    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateScopeCommand");var de_CreateMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),    localResources: import_smithy_client._json,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),    monitorArn: import_smithy_client.expectString,    monitorName: import_smithy_client.expectString,    monitorStatus: import_smithy_client.expectString,    remoteResources: import_smithy_client._json,    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateMonitorCommand");var de_CreateScopeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    scopeArn: import_smithy_client.expectString,    scopeId: import_smithy_client.expectString,    status: import_smithy_client.expectString,    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateScopeCommand");var de_DeleteMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteMonitorCommand");var de_DeleteScopeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteScopeCommand");var de_GetMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),    localResources: import_smithy_client._json,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),    monitorArn: import_smithy_client.expectString,    monitorName: import_smithy_client.expectString,    monitorStatus: import_smithy_client.expectString,    remoteResources: import_smithy_client._json,    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetMonitorCommand");var de_GetQueryResultsMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    topContributors: import_smithy_client._json,    unit: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryResultsMonitorTopContributorsCommand");var de_GetQueryResultsWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    topContributors: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryResultsWorkloadInsightsTopContributorsCommand");var de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    datapoints: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsDataPoints(_, context), "datapoints"),    nextToken: import_smithy_client.expectString,    unit: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand");var de_GetQueryStatusMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryStatusMonitorTopContributorsCommand");var de_GetQueryStatusWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryStatusWorkloadInsightsTopContributorsCommand");var de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand");var de_GetScopeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    scopeArn: import_smithy_client.expectString,    scopeId: import_smithy_client.expectString,    status: import_smithy_client.expectString,    tags: import_smithy_client._json,    targets: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetScopeCommand");var de_ListMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    monitors: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListMonitorsCommand");var de_ListScopesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    scopes: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListScopesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_StartQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    queryId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartQueryMonitorTopContributorsCommand");var de_StartQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    queryId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartQueryWorkloadInsightsTopContributorsCommand");var de_StartQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    queryId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartQueryWorkloadInsightsTopContributorsDataCommand");var de_StopQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopQueryMonitorTopContributorsCommand");var de_StopQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopQueryWorkloadInsightsTopContributorsCommand");var de_StopQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopQueryWorkloadInsightsTopContributorsDataCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),    localResources: import_smithy_client._json,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),    monitorArn: import_smithy_client.expectString,    monitorName: import_smithy_client.expectString,    monitorStatus: import_smithy_client.expectString,    remoteResources: import_smithy_client._json,    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateMonitorCommand");var de_UpdateScopeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    scopeArn: import_smithy_client.expectString,    scopeId: import_smithy_client.expectString,    status: import_smithy_client.expectString,    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateScopeCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "AccessDeniedException":    case "com.amazonaws.networkflowmonitor#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.networkflowmonitor#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.networkflowmonitor#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.networkflowmonitor#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.networkflowmonitor#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.networkflowmonitor#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.networkflowmonitor#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(NetworkFlowMonitorServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var de_WorkloadInsightsTopContributorsDataPoint = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    label: import_smithy_client.expectString,    timestamps: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsTimestampsList(_, context), "timestamps"),    values: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsValuesList(_, context), "values")  });}, "de_WorkloadInsightsTopContributorsDataPoint");var de_WorkloadInsightsTopContributorsDataPoints = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_WorkloadInsightsTopContributorsDataPoint(entry, context);  });  return retVal;}, "de_WorkloadInsightsTopContributorsDataPoints");var de_WorkloadInsightsTopContributorsTimestampsList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(entry));  });  return retVal;}, "de_WorkloadInsightsTopContributorsTimestampsList");var de_WorkloadInsightsTopContributorsValuesList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return (0, import_smithy_client.limitedParseDouble)(entry);  });  return retVal;}, "de_WorkloadInsightsTopContributorsValuesList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _mR = "maxResults";var _mS = "monitorStatus";var _nT = "nextToken";var _tK = "tagKeys"; // src/commands/CreateMonitorCommand.tsvar CreateMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "CreateMonitor", {}).n("NetworkFlowMonitorClient", "CreateMonitorCommand").f(void 0, void 0).ser(se_CreateMonitorCommand).de(de_CreateMonitorCommand).build() {  static {    __name(this, "CreateMonitorCommand");  }}; // src/commands/CreateScopeCommand.ts   var CreateScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "CreateScope", {}).n("NetworkFlowMonitorClient", "CreateScopeCommand").f(void 0, void 0).ser(se_CreateScopeCommand).de(de_CreateScopeCommand).build() {  static {    __name(this, "CreateScopeCommand");  }}; // src/commands/DeleteMonitorCommand.ts   var DeleteMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "DeleteMonitor", {}).n("NetworkFlowMonitorClient", "DeleteMonitorCommand").f(void 0, void 0).ser(se_DeleteMonitorCommand).de(de_DeleteMonitorCommand).build() {  static {    __name(this, "DeleteMonitorCommand");  }}; // src/commands/DeleteScopeCommand.ts   var DeleteScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "DeleteScope", {}).n("NetworkFlowMonitorClient", "DeleteScopeCommand").f(void 0, void 0).ser(se_DeleteScopeCommand).de(de_DeleteScopeCommand).build() {  static {    __name(this, "DeleteScopeCommand");  }}; // src/commands/GetMonitorCommand.ts   var GetMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetMonitor", {}).n("NetworkFlowMonitorClient", "GetMonitorCommand").f(void 0, void 0).ser(se_GetMonitorCommand).de(de_GetMonitorCommand).build() {  static {    __name(this, "GetMonitorCommand");  }}; // src/commands/GetQueryResultsMonitorTopContributorsCommand.ts   var GetQueryResultsMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryResultsMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryResultsMonitorTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryResultsMonitorTopContributorsCommand).de(de_GetQueryResultsMonitorTopContributorsCommand).build() {  static {    __name(this, "GetQueryResultsMonitorTopContributorsCommand");  }}; // src/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.ts   var GetQueryResultsWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryResultsWorkloadInsightsTopContributorsCommand).de(de_GetQueryResultsWorkloadInsightsTopContributorsCommand).build() {  static {    __name(this, "GetQueryResultsWorkloadInsightsTopContributorsCommand");  }}; // src/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.ts   var GetQueryResultsWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand).de(de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand).build() {  static {    __name(this, "GetQueryResultsWorkloadInsightsTopContributorsDataCommand");  }}; // src/commands/GetQueryStatusMonitorTopContributorsCommand.ts   var GetQueryStatusMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryStatusMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryStatusMonitorTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryStatusMonitorTopContributorsCommand).de(de_GetQueryStatusMonitorTopContributorsCommand).build() {  static {    __name(this, "GetQueryStatusMonitorTopContributorsCommand");  }}; // src/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.ts   var GetQueryStatusWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryStatusWorkloadInsightsTopContributorsCommand).de(de_GetQueryStatusWorkloadInsightsTopContributorsCommand).build() {  static {    __name(this, "GetQueryStatusWorkloadInsightsTopContributorsCommand");  }}; // src/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.ts   var GetQueryStatusWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand).de(de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand).build() {  static {    __name(this, "GetQueryStatusWorkloadInsightsTopContributorsDataCommand");  }}; // src/commands/GetScopeCommand.ts   var GetScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "GetScope", {}).n("NetworkFlowMonitorClient", "GetScopeCommand").f(void 0, void 0).ser(se_GetScopeCommand).de(de_GetScopeCommand).build() {  static {    __name(this, "GetScopeCommand");  }}; // src/commands/ListMonitorsCommand.ts   var ListMonitorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "ListMonitors", {}).n("NetworkFlowMonitorClient", "ListMonitorsCommand").f(void 0, void 0).ser(se_ListMonitorsCommand).de(de_ListMonitorsCommand).build() {  static {    __name(this, "ListMonitorsCommand");  }}; // src/commands/ListScopesCommand.ts   var ListScopesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "ListScopes", {}).n("NetworkFlowMonitorClient", "ListScopesCommand").f(void 0, void 0).ser(se_ListScopesCommand).de(de_ListScopesCommand).build() {  static {    __name(this, "ListScopesCommand");  }}; // src/commands/ListTagsForResourceCommand.ts   var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "ListTagsForResource", {}).n("NetworkFlowMonitorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/StartQueryMonitorTopContributorsCommand.ts   var StartQueryMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StartQueryMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "StartQueryMonitorTopContributorsCommand").f(void 0, void 0).ser(se_StartQueryMonitorTopContributorsCommand).de(de_StartQueryMonitorTopContributorsCommand).build() {  static {    __name(this, "StartQueryMonitorTopContributorsCommand");  }}; // src/commands/StartQueryWorkloadInsightsTopContributorsCommand.ts   var StartQueryWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_StartQueryWorkloadInsightsTopContributorsCommand).de(de_StartQueryWorkloadInsightsTopContributorsCommand).build() {  static {    __name(this, "StartQueryWorkloadInsightsTopContributorsCommand");  }}; // src/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.ts   var StartQueryWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_StartQueryWorkloadInsightsTopContributorsDataCommand).de(de_StartQueryWorkloadInsightsTopContributorsDataCommand).build() {  static {    __name(this, "StartQueryWorkloadInsightsTopContributorsDataCommand");  }}; // src/commands/StopQueryMonitorTopContributorsCommand.ts   var StopQueryMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StopQueryMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "StopQueryMonitorTopContributorsCommand").f(void 0, void 0).ser(se_StopQueryMonitorTopContributorsCommand).de(de_StopQueryMonitorTopContributorsCommand).build() {  static {    __name(this, "StopQueryMonitorTopContributorsCommand");  }}; // src/commands/StopQueryWorkloadInsightsTopContributorsCommand.ts   var StopQueryWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_StopQueryWorkloadInsightsTopContributorsCommand).de(de_StopQueryWorkloadInsightsTopContributorsCommand).build() {  static {    __name(this, "StopQueryWorkloadInsightsTopContributorsCommand");  }}; // src/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.ts   var StopQueryWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_StopQueryWorkloadInsightsTopContributorsDataCommand).de(de_StopQueryWorkloadInsightsTopContributorsDataCommand).build() {  static {    __name(this, "StopQueryWorkloadInsightsTopContributorsDataCommand");  }}; // src/commands/TagResourceCommand.ts   var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "TagResource", {}).n("NetworkFlowMonitorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {  static {    __name(this, "TagResourceCommand");  }}; // src/commands/UntagResourceCommand.ts   var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "UntagResource", {}).n("NetworkFlowMonitorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateMonitorCommand.ts   var UpdateMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "UpdateMonitor", {}).n("NetworkFlowMonitorClient", "UpdateMonitorCommand").f(void 0, void 0).ser(se_UpdateMonitorCommand).de(de_UpdateMonitorCommand).build() {  static {    __name(this, "UpdateMonitorCommand");  }}; // src/commands/UpdateScopeCommand.ts   var UpdateScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("NetworkFlowMonitor", "UpdateScope", {}).n("NetworkFlowMonitorClient", "UpdateScopeCommand").f(void 0, void 0).ser(se_UpdateScopeCommand).de(de_UpdateScopeCommand).build() {  static {    __name(this, "UpdateScopeCommand");  }}; // src/NetworkFlowMonitor.tsvar commands = {  CreateMonitorCommand,  CreateScopeCommand,  DeleteMonitorCommand,  DeleteScopeCommand,  GetMonitorCommand,  GetQueryResultsMonitorTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsDataCommand,  GetQueryStatusMonitorTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsDataCommand,  GetScopeCommand,  ListMonitorsCommand,  ListScopesCommand,  ListTagsForResourceCommand,  StartQueryMonitorTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsDataCommand,  StopQueryMonitorTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsDataCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateMonitorCommand,  UpdateScopeCommand};var NetworkFlowMonitor = class extends NetworkFlowMonitorClient {  static {    __name(this, "NetworkFlowMonitor");  }};(0, import_smithy_client.createAggregatedClient)(commands, NetworkFlowMonitor); // src/pagination/GetQueryResultsMonitorTopContributorsPaginator.ts var paginateGetQueryResultsMonitorTopContributors = (0, import_core.createPaginator)(NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.ts var paginateGetQueryResultsWorkloadInsightsTopContributorsData = (0, import_core.createPaginator)(  NetworkFlowMonitorClient,  GetQueryResultsWorkloadInsightsTopContributorsDataCommand,  "nextToken",  "nextToken",  "maxResults"); // src/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.ts var paginateGetQueryResultsWorkloadInsightsTopContributors = (0, import_core.createPaginator)(  NetworkFlowMonitorClient,  GetQueryResultsWorkloadInsightsTopContributorsCommand,  "nextToken",  "nextToken",  "maxResults"); // src/pagination/ListMonitorsPaginator.ts var paginateListMonitors = (0, import_core.createPaginator)(NetworkFlowMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListScopesPaginator.ts var paginateListScopes = (0, import_core.createPaginator)(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  NetworkFlowMonitorServiceException,  __Client,  NetworkFlowMonitorClient,  NetworkFlowMonitor,  $Command,  CreateMonitorCommand,  CreateScopeCommand,  DeleteMonitorCommand,  DeleteScopeCommand,  GetMonitorCommand,  GetQueryResultsMonitorTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsCommand,  GetQueryResultsWorkloadInsightsTopContributorsDataCommand,  GetQueryStatusMonitorTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsCommand,  GetQueryStatusWorkloadInsightsTopContributorsDataCommand,  GetScopeCommand,  ListMonitorsCommand,  ListScopesCommand,  ListTagsForResourceCommand,  StartQueryMonitorTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsCommand,  StartQueryWorkloadInsightsTopContributorsDataCommand,  StopQueryMonitorTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsCommand,  StopQueryWorkloadInsightsTopContributorsDataCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateMonitorCommand,  UpdateScopeCommand,  paginateGetQueryResultsMonitorTopContributors,  paginateGetQueryResultsWorkloadInsightsTopContributorsData,  paginateGetQueryResultsWorkloadInsightsTopContributors,  paginateListMonitors,  paginateListScopes,  AccessDeniedException,  ConflictException,  MonitorLocalResourceType,  MonitorRemoteResourceType,  MonitorStatus,  InternalServerException,  ServiceQuotaExceededException,  ThrottlingException,  ValidationException,  TargetId,  TargetType,  ScopeStatus,  ResourceNotFoundException,  DestinationCategory,  MetricUnit,  QueryStatus,  MonitorMetric,  WorkloadInsightsMetric});