File Explorer

/proc/4/root/var/runtime/node_modules/@aws-sdk/client-observabilityadmin/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.js76.3 KB · 1838 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,  CentralizationFailureReason: () => CentralizationFailureReason,  ConflictException: () => ConflictException,  CreateCentralizationRuleForOrganizationCommand: () => CreateCentralizationRuleForOrganizationCommand,  CreateTelemetryRuleCommand: () => CreateTelemetryRuleCommand,  CreateTelemetryRuleForOrganizationCommand: () => CreateTelemetryRuleForOrganizationCommand,  DeleteCentralizationRuleForOrganizationCommand: () => DeleteCentralizationRuleForOrganizationCommand,  DeleteTelemetryRuleCommand: () => DeleteTelemetryRuleCommand,  DeleteTelemetryRuleForOrganizationCommand: () => DeleteTelemetryRuleForOrganizationCommand,  DestinationType: () => DestinationType,  EncryptedLogGroupStrategy: () => EncryptedLogGroupStrategy,  EncryptionConflictResolutionStrategy: () => EncryptionConflictResolutionStrategy,  EncryptionStrategy: () => EncryptionStrategy,  GetCentralizationRuleForOrganizationCommand: () => GetCentralizationRuleForOrganizationCommand,  GetTelemetryEvaluationStatusCommand: () => GetTelemetryEvaluationStatusCommand,  GetTelemetryEvaluationStatusForOrganizationCommand: () => GetTelemetryEvaluationStatusForOrganizationCommand,  GetTelemetryRuleCommand: () => GetTelemetryRuleCommand,  GetTelemetryRuleForOrganizationCommand: () => GetTelemetryRuleForOrganizationCommand,  InternalServerException: () => InternalServerException,  ListCentralizationRulesForOrganizationCommand: () => ListCentralizationRulesForOrganizationCommand,  ListResourceTelemetryCommand: () => ListResourceTelemetryCommand,  ListResourceTelemetryForOrganizationCommand: () => ListResourceTelemetryForOrganizationCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListTelemetryRulesCommand: () => ListTelemetryRulesCommand,  ListTelemetryRulesForOrganizationCommand: () => ListTelemetryRulesForOrganizationCommand,  ObservabilityAdmin: () => ObservabilityAdmin,  ObservabilityAdminClient: () => ObservabilityAdminClient,  ObservabilityAdminServiceException: () => ObservabilityAdminServiceException,  ResourceNotFoundException: () => ResourceNotFoundException,  ResourceType: () => ResourceType,  RuleHealth: () => RuleHealth,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartTelemetryEvaluationCommand: () => StartTelemetryEvaluationCommand,  StartTelemetryEvaluationForOrganizationCommand: () => StartTelemetryEvaluationForOrganizationCommand,  Status: () => Status,  StopTelemetryEvaluationCommand: () => StopTelemetryEvaluationCommand,  StopTelemetryEvaluationForOrganizationCommand: () => StopTelemetryEvaluationForOrganizationCommand,  TagResourceCommand: () => TagResourceCommand,  TelemetryState: () => TelemetryState,  TelemetryType: () => TelemetryType,  TooManyRequestsException: () => TooManyRequestsException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateCentralizationRuleForOrganizationCommand: () => UpdateCentralizationRuleForOrganizationCommand,  UpdateTelemetryRuleCommand: () => UpdateTelemetryRuleCommand,  UpdateTelemetryRuleForOrganizationCommand: () => UpdateTelemetryRuleForOrganizationCommand,  ValidationException: () => ValidationException,  __Client: () => import_smithy_client.Client,  paginateListCentralizationRulesForOrganization: () => paginateListCentralizationRulesForOrganization,  paginateListResourceTelemetry: () => paginateListResourceTelemetry,  paginateListResourceTelemetryForOrganization: () => paginateListResourceTelemetryForOrganization,  paginateListTelemetryRules: () => paginateListTelemetryRules,  paginateListTelemetryRulesForOrganization: () => paginateListTelemetryRulesForOrganization});module.exports = __toCommonJS(index_exports); // src/ObservabilityAdminClient.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, {    useDualstackEndpoint: options.useDualstackEndpoint ?? false,    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "observabilityadmin"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/ObservabilityAdminClient.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/ObservabilityAdminClient.tsvar ObservabilityAdminClient = class extends import_smithy_client.Client {  static {    __name(this, "ObservabilityAdminClient");  }  /**   * The resolved configuration of ObservabilityAdminClient class. This is resolved and normalized from the {@link ObservabilityAdminClientConfig | 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.defaultObservabilityAdminHttpAuthSchemeParametersProvider,        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/ObservabilityAdmin.ts  // src/commands/CreateCentralizationRuleForOrganizationCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/ObservabilityAdminServiceException.ts var ObservabilityAdminServiceException = class _ObservabilityAdminServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "ObservabilityAdminServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _ObservabilityAdminServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends ObservabilityAdminServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * <p>   *       The name of the exception.   *     </p>   * @public   */  amznErrorType;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;    this.amznErrorType = opts.amznErrorType;  }};var CentralizationFailureReason = {  DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",  INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",  TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED"};var EncryptionConflictResolutionStrategy = {  ALLOW: "ALLOW",  SKIP: "SKIP"};var EncryptionStrategy = {  AWS_OWNED: "AWS_OWNED",  CUSTOMER_MANAGED: "CUSTOMER_MANAGED"};var EncryptedLogGroupStrategy = {  ALLOW: "ALLOW",  SKIP: "SKIP"};var RuleHealth = {  HEALTHY: "Healthy",  PROVISIONING: "Provisioning",  UNHEALTHY: "Unhealthy"};var ConflictException = class _ConflictException extends ObservabilityAdminServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;  }};var InternalServerException = class _InternalServerException extends ObservabilityAdminServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  Message;  /**   * <p>   *       The name of the exception.   *     </p>   * @public   */  amznErrorType;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);    this.Message = opts.Message;    this.amznErrorType = opts.amznErrorType;  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ObservabilityAdminServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  Message;  /**   * <p>   *       The name of the exception.   *     </p>   * @public   */  amznErrorType;  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);    this.Message = opts.Message;    this.amznErrorType = opts.amznErrorType;  }};var TooManyRequestsException = class _TooManyRequestsException extends ObservabilityAdminServiceException {  static {    __name(this, "TooManyRequestsException");  }  name = "TooManyRequestsException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "TooManyRequestsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _TooManyRequestsException.prototype);    this.Message = opts.Message;  }};var ValidationException = class _ValidationException extends ObservabilityAdminServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);    this.Message = opts.Message;  }};var DestinationType = {  CLOUDWATCH_LOGS: "cloud-watch-logs"};var ResourceType = {  AWS_EC2_INSTANCE: "AWS::EC2::Instance",  AWS_EC2_VPC: "AWS::EC2::VPC",  AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function"};var TelemetryType = {  LOGS: "Logs",  METRICS: "Metrics",  TRACES: "Traces"};var ResourceNotFoundException = class _ResourceNotFoundException extends ObservabilityAdminServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.Message = opts.Message;  }};var Status = {  FAILED_START: "FAILED_START",  FAILED_STOP: "FAILED_STOP",  NOT_STARTED: "NOT_STARTED",  RUNNING: "RUNNING",  STARTING: "STARTING",  STOPPED: "STOPPED",  STOPPING: "STOPPING"};var TelemetryState = {  DISABLED: "Disabled",  ENABLED: "Enabled",  NOT_APPLICABLE: "NotApplicable"}; // src/protocols/Aws_restJson1.tsvar se_CreateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/CreateCentralizationRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleName: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateCentralizationRuleForOrganizationCommand");var se_CreateTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/CreateTelemetryRule");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleName: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateTelemetryRuleCommand");var se_CreateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/CreateTelemetryRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleName: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateTelemetryRuleForOrganizationCommand");var se_DeleteCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/DeleteCentralizationRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteCentralizationRuleForOrganizationCommand");var se_DeleteTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/DeleteTelemetryRule");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteTelemetryRuleCommand");var se_DeleteTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/DeleteTelemetryRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteTelemetryRuleForOrganizationCommand");var se_GetCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/GetCentralizationRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetCentralizationRuleForOrganizationCommand");var se_GetTelemetryEvaluationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/GetTelemetryEvaluationStatus");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetTelemetryEvaluationStatusCommand");var se_GetTelemetryEvaluationStatusForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/GetTelemetryEvaluationStatusForOrganization");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetTelemetryEvaluationStatusForOrganizationCommand");var se_GetTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/GetTelemetryRule");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetTelemetryRuleCommand");var se_GetTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/GetTelemetryRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetTelemetryRuleForOrganizationCommand");var se_ListCentralizationRulesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListCentralizationRulesForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllRegions: [],      MaxResults: [],      NextToken: [],      RuleNamePrefix: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListCentralizationRulesForOrganizationCommand");var se_ListResourceTelemetryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListResourceTelemetry");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: [],      ResourceIdentifierPrefix: [],      ResourceTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTags"),      ResourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTypes"),      TelemetryConfigurationState: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelemetryConfigurationState")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListResourceTelemetryCommand");var se_ListResourceTelemetryForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListResourceTelemetryForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AccountIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccountIdentifiers"),      MaxResults: [],      NextToken: [],      ResourceIdentifierPrefix: [],      ResourceTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTags"),      ResourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTypes"),      TelemetryConfigurationState: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelemetryConfigurationState")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListResourceTelemetryForOrganizationCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListTagsForResource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_ListTelemetryRulesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListTelemetryRules");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: [],      RuleNamePrefix: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListTelemetryRulesCommand");var se_ListTelemetryRulesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/ListTelemetryRulesForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: [],      RuleNamePrefix: [],      SourceAccountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceAccountIds"),      SourceOrganizationUnitIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceOrganizationUnitIds")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListTelemetryRulesForOrganizationCommand");var se_StartTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/StartTelemetryEvaluation");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartTelemetryEvaluationCommand");var se_StartTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/StartTelemetryEvaluationForOrganization");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartTelemetryEvaluationForOrganizationCommand");var se_StopTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/StopTelemetryEvaluation");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopTelemetryEvaluationCommand");var se_StopTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/StopTelemetryEvaluationForOrganization");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopTelemetryEvaluationForOrganizationCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/TagResource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: [],      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 = {    "content-type": "application/json"  };  b.bp("/UntagResource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: [],      TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/UpdateCentralizationRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateCentralizationRuleForOrganizationCommand");var se_UpdateTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/UpdateTelemetryRule");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateTelemetryRuleCommand");var se_UpdateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/UpdateTelemetryRuleForOrganization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),      RuleIdentifier: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateTelemetryRuleForOrganizationCommand");var de_CreateCentralizationRuleForOrganizationCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateCentralizationRuleForOrganizationCommand");var de_CreateTelemetryRuleCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateTelemetryRuleCommand");var de_CreateTelemetryRuleForOrganizationCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateTelemetryRuleForOrganizationCommand");var de_DeleteCentralizationRuleForOrganizationCommand = /* @__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_DeleteCentralizationRuleForOrganizationCommand");var de_DeleteTelemetryRuleCommand = /* @__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_DeleteTelemetryRuleCommand");var de_DeleteTelemetryRuleForOrganizationCommand = /* @__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_DeleteTelemetryRuleForOrganizationCommand");var de_GetCentralizationRuleForOrganizationCommand = /* @__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, {    CentralizationRule: import_smithy_client._json,    CreatedRegion: import_smithy_client.expectString,    CreatedTimeStamp: import_smithy_client.expectLong,    CreatorAccountId: import_smithy_client.expectString,    FailureReason: import_smithy_client.expectString,    LastUpdateTimeStamp: import_smithy_client.expectLong,    RuleArn: import_smithy_client.expectString,    RuleHealth: import_smithy_client.expectString,    RuleName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetCentralizationRuleForOrganizationCommand");var de_GetTelemetryEvaluationStatusCommand = /* @__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, {    FailureReason: import_smithy_client.expectString,    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetTelemetryEvaluationStatusCommand");var de_GetTelemetryEvaluationStatusForOrganizationCommand = /* @__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, {    FailureReason: import_smithy_client.expectString,    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetTelemetryEvaluationStatusForOrganizationCommand");var de_GetTelemetryRuleCommand = /* @__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, {    CreatedTimeStamp: import_smithy_client.expectLong,    LastUpdateTimeStamp: import_smithy_client.expectLong,    RuleArn: import_smithy_client.expectString,    RuleName: import_smithy_client.expectString,    TelemetryRule: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetTelemetryRuleCommand");var de_GetTelemetryRuleForOrganizationCommand = /* @__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, {    CreatedTimeStamp: import_smithy_client.expectLong,    LastUpdateTimeStamp: import_smithy_client.expectLong,    RuleArn: import_smithy_client.expectString,    RuleName: import_smithy_client.expectString,    TelemetryRule: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetTelemetryRuleForOrganizationCommand");var de_ListCentralizationRulesForOrganizationCommand = /* @__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, {    CentralizationRuleSummaries: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListCentralizationRulesForOrganizationCommand");var de_ListResourceTelemetryCommand = /* @__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,    TelemetryConfigurations: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListResourceTelemetryCommand");var de_ListResourceTelemetryForOrganizationCommand = /* @__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,    TelemetryConfigurations: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListResourceTelemetryForOrganizationCommand");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_ListTelemetryRulesCommand = /* @__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,    TelemetryRuleSummaries: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTelemetryRulesCommand");var de_ListTelemetryRulesForOrganizationCommand = /* @__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,    TelemetryRuleSummaries: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTelemetryRulesForOrganizationCommand");var de_StartTelemetryEvaluationCommand = /* @__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_StartTelemetryEvaluationCommand");var de_StartTelemetryEvaluationForOrganizationCommand = /* @__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_StartTelemetryEvaluationForOrganizationCommand");var de_StopTelemetryEvaluationCommand = /* @__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_StopTelemetryEvaluationCommand");var de_StopTelemetryEvaluationForOrganizationCommand = /* @__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_StopTelemetryEvaluationForOrganizationCommand");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_UpdateCentralizationRuleForOrganizationCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateCentralizationRuleForOrganizationCommand");var de_UpdateTelemetryRuleCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateTelemetryRuleCommand");var de_UpdateTelemetryRuleForOrganizationCommand = /* @__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, {    RuleArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateTelemetryRuleForOrganizationCommand");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.observabilityadmin#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.observabilityadmin#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.observabilityadmin#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.observabilityadmin#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "TooManyRequestsException":    case "com.amazonaws.observabilityadmin#TooManyRequestsException":      throw await de_TooManyRequestsExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.observabilityadmin#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.observabilityadmin#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)(ObservabilityAdminServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({    [_aET]: [, parsedOutput.headers[_xae]]  });  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)({    [_aET]: [, parsedOutput.headers[_xae]]  });  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)({    [_aET]: [, parsedOutput.headers[_xae]]  });  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_TooManyRequestsExceptionRes = /* @__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 TooManyRequestsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyRequestsExceptionRes");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 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 _aET = "amznErrorType";var _xae = "x-amzn-errortype"; // src/commands/CreateCentralizationRuleForOrganizationCommand.tsvar CreateCentralizationRuleForOrganizationCommand = 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("ObservabilityAdmin", "CreateCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_CreateCentralizationRuleForOrganizationCommand).de(de_CreateCentralizationRuleForOrganizationCommand).build() {  static {    __name(this, "CreateCentralizationRuleForOrganizationCommand");  }}; // src/commands/CreateTelemetryRuleCommand.ts   var CreateTelemetryRuleCommand = 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("ObservabilityAdmin", "CreateTelemetryRule", {}).n("ObservabilityAdminClient", "CreateTelemetryRuleCommand").f(void 0, void 0).ser(se_CreateTelemetryRuleCommand).de(de_CreateTelemetryRuleCommand).build() {  static {    __name(this, "CreateTelemetryRuleCommand");  }}; // src/commands/CreateTelemetryRuleForOrganizationCommand.ts   var CreateTelemetryRuleForOrganizationCommand = 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("ObservabilityAdmin", "CreateTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "CreateTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_CreateTelemetryRuleForOrganizationCommand).de(de_CreateTelemetryRuleForOrganizationCommand).build() {  static {    __name(this, "CreateTelemetryRuleForOrganizationCommand");  }}; // src/commands/DeleteCentralizationRuleForOrganizationCommand.ts   var DeleteCentralizationRuleForOrganizationCommand = 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("ObservabilityAdmin", "DeleteCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_DeleteCentralizationRuleForOrganizationCommand).de(de_DeleteCentralizationRuleForOrganizationCommand).build() {  static {    __name(this, "DeleteCentralizationRuleForOrganizationCommand");  }}; // src/commands/DeleteTelemetryRuleCommand.ts   var DeleteTelemetryRuleCommand = 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("ObservabilityAdmin", "DeleteTelemetryRule", {}).n("ObservabilityAdminClient", "DeleteTelemetryRuleCommand").f(void 0, void 0).ser(se_DeleteTelemetryRuleCommand).de(de_DeleteTelemetryRuleCommand).build() {  static {    __name(this, "DeleteTelemetryRuleCommand");  }}; // src/commands/DeleteTelemetryRuleForOrganizationCommand.ts   var DeleteTelemetryRuleForOrganizationCommand = 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("ObservabilityAdmin", "DeleteTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "DeleteTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_DeleteTelemetryRuleForOrganizationCommand).de(de_DeleteTelemetryRuleForOrganizationCommand).build() {  static {    __name(this, "DeleteTelemetryRuleForOrganizationCommand");  }}; // src/commands/GetCentralizationRuleForOrganizationCommand.ts   var GetCentralizationRuleForOrganizationCommand = 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("ObservabilityAdmin", "GetCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_GetCentralizationRuleForOrganizationCommand).de(de_GetCentralizationRuleForOrganizationCommand).build() {  static {    __name(this, "GetCentralizationRuleForOrganizationCommand");  }}; // src/commands/GetTelemetryEvaluationStatusCommand.ts   var GetTelemetryEvaluationStatusCommand = 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("ObservabilityAdmin", "GetTelemetryEvaluationStatus", {}).n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusCommand").f(void 0, void 0).ser(se_GetTelemetryEvaluationStatusCommand).de(de_GetTelemetryEvaluationStatusCommand).build() {  static {    __name(this, "GetTelemetryEvaluationStatusCommand");  }}; // src/commands/GetTelemetryEvaluationStatusForOrganizationCommand.ts   var GetTelemetryEvaluationStatusForOrganizationCommand = 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("ObservabilityAdmin", "GetTelemetryEvaluationStatusForOrganization", {}).n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusForOrganizationCommand").f(void 0, void 0).ser(se_GetTelemetryEvaluationStatusForOrganizationCommand).de(de_GetTelemetryEvaluationStatusForOrganizationCommand).build() {  static {    __name(this, "GetTelemetryEvaluationStatusForOrganizationCommand");  }}; // src/commands/GetTelemetryRuleCommand.ts   var GetTelemetryRuleCommand = 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("ObservabilityAdmin", "GetTelemetryRule", {}).n("ObservabilityAdminClient", "GetTelemetryRuleCommand").f(void 0, void 0).ser(se_GetTelemetryRuleCommand).de(de_GetTelemetryRuleCommand).build() {  static {    __name(this, "GetTelemetryRuleCommand");  }}; // src/commands/GetTelemetryRuleForOrganizationCommand.ts   var GetTelemetryRuleForOrganizationCommand = 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("ObservabilityAdmin", "GetTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "GetTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_GetTelemetryRuleForOrganizationCommand).de(de_GetTelemetryRuleForOrganizationCommand).build() {  static {    __name(this, "GetTelemetryRuleForOrganizationCommand");  }}; // src/commands/ListCentralizationRulesForOrganizationCommand.ts   var ListCentralizationRulesForOrganizationCommand = 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("ObservabilityAdmin", "ListCentralizationRulesForOrganization", {}).n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand").f(void 0, void 0).ser(se_ListCentralizationRulesForOrganizationCommand).de(de_ListCentralizationRulesForOrganizationCommand).build() {  static {    __name(this, "ListCentralizationRulesForOrganizationCommand");  }}; // src/commands/ListResourceTelemetryCommand.ts   var ListResourceTelemetryCommand = 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("ObservabilityAdmin", "ListResourceTelemetry", {}).n("ObservabilityAdminClient", "ListResourceTelemetryCommand").f(void 0, void 0).ser(se_ListResourceTelemetryCommand).de(de_ListResourceTelemetryCommand).build() {  static {    __name(this, "ListResourceTelemetryCommand");  }}; // src/commands/ListResourceTelemetryForOrganizationCommand.ts   var ListResourceTelemetryForOrganizationCommand = 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("ObservabilityAdmin", "ListResourceTelemetryForOrganization", {}).n("ObservabilityAdminClient", "ListResourceTelemetryForOrganizationCommand").f(void 0, void 0).ser(se_ListResourceTelemetryForOrganizationCommand).de(de_ListResourceTelemetryForOrganizationCommand).build() {  static {    __name(this, "ListResourceTelemetryForOrganizationCommand");  }}; // 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("ObservabilityAdmin", "ListTagsForResource", {}).n("ObservabilityAdminClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/ListTelemetryRulesCommand.ts   var ListTelemetryRulesCommand = 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("ObservabilityAdmin", "ListTelemetryRules", {}).n("ObservabilityAdminClient", "ListTelemetryRulesCommand").f(void 0, void 0).ser(se_ListTelemetryRulesCommand).de(de_ListTelemetryRulesCommand).build() {  static {    __name(this, "ListTelemetryRulesCommand");  }}; // src/commands/ListTelemetryRulesForOrganizationCommand.ts   var ListTelemetryRulesForOrganizationCommand = 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("ObservabilityAdmin", "ListTelemetryRulesForOrganization", {}).n("ObservabilityAdminClient", "ListTelemetryRulesForOrganizationCommand").f(void 0, void 0).ser(se_ListTelemetryRulesForOrganizationCommand).de(de_ListTelemetryRulesForOrganizationCommand).build() {  static {    __name(this, "ListTelemetryRulesForOrganizationCommand");  }}; // src/commands/StartTelemetryEvaluationCommand.ts   var StartTelemetryEvaluationCommand = 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("ObservabilityAdmin", "StartTelemetryEvaluation", {}).n("ObservabilityAdminClient", "StartTelemetryEvaluationCommand").f(void 0, void 0).ser(se_StartTelemetryEvaluationCommand).de(de_StartTelemetryEvaluationCommand).build() {  static {    __name(this, "StartTelemetryEvaluationCommand");  }}; // src/commands/StartTelemetryEvaluationForOrganizationCommand.ts   var StartTelemetryEvaluationForOrganizationCommand = 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("ObservabilityAdmin", "StartTelemetryEvaluationForOrganization", {}).n("ObservabilityAdminClient", "StartTelemetryEvaluationForOrganizationCommand").f(void 0, void 0).ser(se_StartTelemetryEvaluationForOrganizationCommand).de(de_StartTelemetryEvaluationForOrganizationCommand).build() {  static {    __name(this, "StartTelemetryEvaluationForOrganizationCommand");  }}; // src/commands/StopTelemetryEvaluationCommand.ts   var StopTelemetryEvaluationCommand = 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("ObservabilityAdmin", "StopTelemetryEvaluation", {}).n("ObservabilityAdminClient", "StopTelemetryEvaluationCommand").f(void 0, void 0).ser(se_StopTelemetryEvaluationCommand).de(de_StopTelemetryEvaluationCommand).build() {  static {    __name(this, "StopTelemetryEvaluationCommand");  }}; // src/commands/StopTelemetryEvaluationForOrganizationCommand.ts   var StopTelemetryEvaluationForOrganizationCommand = 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("ObservabilityAdmin", "StopTelemetryEvaluationForOrganization", {}).n("ObservabilityAdminClient", "StopTelemetryEvaluationForOrganizationCommand").f(void 0, void 0).ser(se_StopTelemetryEvaluationForOrganizationCommand).de(de_StopTelemetryEvaluationForOrganizationCommand).build() {  static {    __name(this, "StopTelemetryEvaluationForOrganizationCommand");  }}; // 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("ObservabilityAdmin", "TagResource", {}).n("ObservabilityAdminClient", "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("ObservabilityAdmin", "UntagResource", {}).n("ObservabilityAdminClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateCentralizationRuleForOrganizationCommand.ts   var UpdateCentralizationRuleForOrganizationCommand = 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("ObservabilityAdmin", "UpdateCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_UpdateCentralizationRuleForOrganizationCommand).de(de_UpdateCentralizationRuleForOrganizationCommand).build() {  static {    __name(this, "UpdateCentralizationRuleForOrganizationCommand");  }}; // src/commands/UpdateTelemetryRuleCommand.ts   var UpdateTelemetryRuleCommand = 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("ObservabilityAdmin", "UpdateTelemetryRule", {}).n("ObservabilityAdminClient", "UpdateTelemetryRuleCommand").f(void 0, void 0).ser(se_UpdateTelemetryRuleCommand).de(de_UpdateTelemetryRuleCommand).build() {  static {    __name(this, "UpdateTelemetryRuleCommand");  }}; // src/commands/UpdateTelemetryRuleForOrganizationCommand.ts   var UpdateTelemetryRuleForOrganizationCommand = 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("ObservabilityAdmin", "UpdateTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "UpdateTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_UpdateTelemetryRuleForOrganizationCommand).de(de_UpdateTelemetryRuleForOrganizationCommand).build() {  static {    __name(this, "UpdateTelemetryRuleForOrganizationCommand");  }}; // src/ObservabilityAdmin.tsvar commands = {  CreateCentralizationRuleForOrganizationCommand,  CreateTelemetryRuleCommand,  CreateTelemetryRuleForOrganizationCommand,  DeleteCentralizationRuleForOrganizationCommand,  DeleteTelemetryRuleCommand,  DeleteTelemetryRuleForOrganizationCommand,  GetCentralizationRuleForOrganizationCommand,  GetTelemetryEvaluationStatusCommand,  GetTelemetryEvaluationStatusForOrganizationCommand,  GetTelemetryRuleCommand,  GetTelemetryRuleForOrganizationCommand,  ListCentralizationRulesForOrganizationCommand,  ListResourceTelemetryCommand,  ListResourceTelemetryForOrganizationCommand,  ListTagsForResourceCommand,  ListTelemetryRulesCommand,  ListTelemetryRulesForOrganizationCommand,  StartTelemetryEvaluationCommand,  StartTelemetryEvaluationForOrganizationCommand,  StopTelemetryEvaluationCommand,  StopTelemetryEvaluationForOrganizationCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateCentralizationRuleForOrganizationCommand,  UpdateTelemetryRuleCommand,  UpdateTelemetryRuleForOrganizationCommand};var ObservabilityAdmin = class extends ObservabilityAdminClient {  static {    __name(this, "ObservabilityAdmin");  }};(0, import_smithy_client.createAggregatedClient)(commands, ObservabilityAdmin); // src/pagination/ListCentralizationRulesForOrganizationPaginator.ts var paginateListCentralizationRulesForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListResourceTelemetryForOrganizationPaginator.ts var paginateListResourceTelemetryForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListResourceTelemetryForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListResourceTelemetryPaginator.ts var paginateListResourceTelemetry = (0, import_core.createPaginator)(ObservabilityAdminClient, ListResourceTelemetryCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTelemetryRulesForOrganizationPaginator.ts var paginateListTelemetryRulesForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTelemetryRulesPaginator.ts var paginateListTelemetryRules = (0, import_core.createPaginator)(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  ObservabilityAdminServiceException,  __Client,  ObservabilityAdminClient,  ObservabilityAdmin,  $Command,  CreateCentralizationRuleForOrganizationCommand,  CreateTelemetryRuleCommand,  CreateTelemetryRuleForOrganizationCommand,  DeleteCentralizationRuleForOrganizationCommand,  DeleteTelemetryRuleCommand,  DeleteTelemetryRuleForOrganizationCommand,  GetCentralizationRuleForOrganizationCommand,  GetTelemetryEvaluationStatusCommand,  GetTelemetryEvaluationStatusForOrganizationCommand,  GetTelemetryRuleCommand,  GetTelemetryRuleForOrganizationCommand,  ListCentralizationRulesForOrganizationCommand,  ListResourceTelemetryCommand,  ListResourceTelemetryForOrganizationCommand,  ListTagsForResourceCommand,  ListTelemetryRulesCommand,  ListTelemetryRulesForOrganizationCommand,  StartTelemetryEvaluationCommand,  StartTelemetryEvaluationForOrganizationCommand,  StopTelemetryEvaluationCommand,  StopTelemetryEvaluationForOrganizationCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateCentralizationRuleForOrganizationCommand,  UpdateTelemetryRuleCommand,  UpdateTelemetryRuleForOrganizationCommand,  paginateListCentralizationRulesForOrganization,  paginateListResourceTelemetryForOrganization,  paginateListResourceTelemetry,  paginateListTelemetryRulesForOrganization,  paginateListTelemetryRules,  AccessDeniedException,  CentralizationFailureReason,  EncryptionConflictResolutionStrategy,  EncryptionStrategy,  EncryptedLogGroupStrategy,  RuleHealth,  ConflictException,  InternalServerException,  ServiceQuotaExceededException,  TooManyRequestsException,  ValidationException,  DestinationType,  ResourceType,  TelemetryType,  ResourceNotFoundException,  Status,  TelemetryState});