File Explorer

/var/runtime/node_modules/@aws-sdk/client-pricing/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.js29.1 KB · 785 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,  DescribeServicesCommand: () => DescribeServicesCommand,  ExpiredNextTokenException: () => ExpiredNextTokenException,  FilterType: () => FilterType,  GetAttributeValuesCommand: () => GetAttributeValuesCommand,  GetPriceListFileUrlCommand: () => GetPriceListFileUrlCommand,  GetProductsCommand: () => GetProductsCommand,  InternalErrorException: () => InternalErrorException,  InvalidNextTokenException: () => InvalidNextTokenException,  InvalidParameterException: () => InvalidParameterException,  ListPriceListsCommand: () => ListPriceListsCommand,  NotFoundException: () => NotFoundException,  Pricing: () => Pricing,  PricingClient: () => PricingClient,  PricingServiceException: () => PricingServiceException,  ResourceNotFoundException: () => ResourceNotFoundException,  ThrottlingException: () => ThrottlingException,  __Client: () => import_smithy_client.Client,  paginateDescribeServices: () => paginateDescribeServices,  paginateGetAttributeValues: () => paginateGetAttributeValues,  paginateGetProducts: () => paginateGetProducts,  paginateListPriceLists: () => paginateListPriceLists});module.exports = __toCommonJS(index_exports); // src/PricingClient.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: "pricing"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/PricingClient.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/PricingClient.tsvar PricingClient = class extends import_smithy_client.Client {  static {    __name(this, "PricingClient");  }  /**   * The resolved configuration of PricingClient class. This is resolved and normalized from the {@link PricingClientConfig | 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.defaultPricingHttpAuthSchemeParametersProvider,        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/Pricing.ts  // src/commands/DescribeServicesCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/PricingServiceException.ts var PricingServiceException = class _PricingServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "PricingServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _PricingServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends PricingServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;  }};var ExpiredNextTokenException = class _ExpiredNextTokenException extends PricingServiceException {  static {    __name(this, "ExpiredNextTokenException");  }  name = "ExpiredNextTokenException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ExpiredNextTokenException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ExpiredNextTokenException.prototype);    this.Message = opts.Message;  }};var InternalErrorException = class _InternalErrorException extends PricingServiceException {  static {    __name(this, "InternalErrorException");  }  name = "InternalErrorException";  $fault = "server";  $retryable = {};  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalErrorException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalErrorException.prototype);    this.Message = opts.Message;  }};var InvalidNextTokenException = class _InvalidNextTokenException extends PricingServiceException {  static {    __name(this, "InvalidNextTokenException");  }  name = "InvalidNextTokenException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidNextTokenException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);    this.Message = opts.Message;  }};var InvalidParameterException = class _InvalidParameterException extends PricingServiceException {  static {    __name(this, "InvalidParameterException");  }  name = "InvalidParameterException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidParameterException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidParameterException.prototype);    this.Message = opts.Message;  }};var NotFoundException = class _NotFoundException extends PricingServiceException {  static {    __name(this, "NotFoundException");  }  name = "NotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "NotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _NotFoundException.prototype);    this.Message = opts.Message;  }};var ThrottlingException = class _ThrottlingException extends PricingServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  $retryable = {    throttling: true  };  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.Message = opts.Message;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends PricingServiceException {  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 FilterType = {  ANY_OF: "ANY_OF",  CONTAINS: "CONTAINS",  EQUALS: "EQUALS",  NONE_OF: "NONE_OF",  TERM_MATCH: "TERM_MATCH"}; // src/protocols/Aws_json1_1.tsvar se_DescribeServicesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeServices");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeServicesCommand");var se_GetAttributeValuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetAttributeValues");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetAttributeValuesCommand");var se_GetPriceListFileUrlCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetPriceListFileUrl");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetPriceListFileUrlCommand");var se_GetProductsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetProducts");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetProductsCommand");var se_ListPriceListsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListPriceLists");  let body;  body = JSON.stringify(se_ListPriceListsRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListPriceListsCommand");var de_DescribeServicesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeServicesCommand");var de_GetAttributeValuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetAttributeValuesCommand");var de_GetPriceListFileUrlCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetPriceListFileUrlCommand");var de_GetProductsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = de_GetProductsResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetProductsCommand");var de_ListPriceListsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_ListPriceListsCommand");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 "ExpiredNextTokenException":    case "com.amazonaws.pricing#ExpiredNextTokenException":      throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);    case "InternalErrorException":    case "com.amazonaws.pricing#InternalErrorException":      throw await de_InternalErrorExceptionRes(parsedOutput, context);    case "InvalidNextTokenException":    case "com.amazonaws.pricing#InvalidNextTokenException":      throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);    case "InvalidParameterException":    case "com.amazonaws.pricing#InvalidParameterException":      throw await de_InvalidParameterExceptionRes(parsedOutput, context);    case "NotFoundException":    case "com.amazonaws.pricing#NotFoundException":      throw await de_NotFoundExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.pricing#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "AccessDeniedException":    case "com.amazonaws.pricing#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.pricing#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_ExpiredNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ExpiredNextTokenException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ExpiredNextTokenExceptionRes");var de_InternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InternalErrorException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalErrorExceptionRes");var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InvalidNextTokenException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidNextTokenExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InvalidParameterException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidParameterExceptionRes");var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new NotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_NotFoundExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var se_ListPriceListsRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    CurrencyCode: [],    EffectiveDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EffectiveDate"),    MaxResults: [],    NextToken: [],    RegionCode: [],    ServiceCode: []  });}, "se_ListPriceListsRequest");var de_GetProductsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    FormatVersion: import_smithy_client.expectString,    NextToken: import_smithy_client.expectString,    PriceList: /* @__PURE__ */ __name((_) => de_PriceListJsonItems(_, context), "PriceList")  });}, "de_GetProductsResponse");var de_PriceListJsonItems = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return import_smithy_client.LazyJsonString.from(entry);  });  return retVal;}, "de_PriceListJsonItems");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 throwDefaultError = (0, import_smithy_client.withBaseException)(PricingServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();  const contents = {    protocol,    hostname,    port,    method: "POST",    path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,    headers  };  if (resolvedHostname !== void 0) {    contents.hostname = resolvedHostname;  }  if (body !== void 0) {    contents.body = body;  }  return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) {  return {    "content-type": "application/x-amz-json-1.1",    "x-amz-target": `AWSPriceListService.${operation}`  };}__name(sharedHeaders, "sharedHeaders"); // src/commands/DescribeServicesCommand.tsvar DescribeServicesCommand = 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("AWSPriceListService", "DescribeServices", {}).n("PricingClient", "DescribeServicesCommand").f(void 0, void 0).ser(se_DescribeServicesCommand).de(de_DescribeServicesCommand).build() {  static {    __name(this, "DescribeServicesCommand");  }}; // src/commands/GetAttributeValuesCommand.ts   var GetAttributeValuesCommand = 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("AWSPriceListService", "GetAttributeValues", {}).n("PricingClient", "GetAttributeValuesCommand").f(void 0, void 0).ser(se_GetAttributeValuesCommand).de(de_GetAttributeValuesCommand).build() {  static {    __name(this, "GetAttributeValuesCommand");  }}; // src/commands/GetPriceListFileUrlCommand.ts   var GetPriceListFileUrlCommand = 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("AWSPriceListService", "GetPriceListFileUrl", {}).n("PricingClient", "GetPriceListFileUrlCommand").f(void 0, void 0).ser(se_GetPriceListFileUrlCommand).de(de_GetPriceListFileUrlCommand).build() {  static {    __name(this, "GetPriceListFileUrlCommand");  }}; // src/commands/GetProductsCommand.ts   var GetProductsCommand = 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("AWSPriceListService", "GetProducts", {}).n("PricingClient", "GetProductsCommand").f(void 0, void 0).ser(se_GetProductsCommand).de(de_GetProductsCommand).build() {  static {    __name(this, "GetProductsCommand");  }}; // src/commands/ListPriceListsCommand.ts   var ListPriceListsCommand = 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("AWSPriceListService", "ListPriceLists", {}).n("PricingClient", "ListPriceListsCommand").f(void 0, void 0).ser(se_ListPriceListsCommand).de(de_ListPriceListsCommand).build() {  static {    __name(this, "ListPriceListsCommand");  }}; // src/Pricing.tsvar commands = {  DescribeServicesCommand,  GetAttributeValuesCommand,  GetPriceListFileUrlCommand,  GetProductsCommand,  ListPriceListsCommand};var Pricing = class extends PricingClient {  static {    __name(this, "Pricing");  }};(0, import_smithy_client.createAggregatedClient)(commands, Pricing); // src/pagination/DescribeServicesPaginator.ts var paginateDescribeServices = (0, import_core.createPaginator)(PricingClient, DescribeServicesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetAttributeValuesPaginator.ts var paginateGetAttributeValues = (0, import_core.createPaginator)(PricingClient, GetAttributeValuesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetProductsPaginator.ts var paginateGetProducts = (0, import_core.createPaginator)(PricingClient, GetProductsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPriceListsPaginator.ts var paginateListPriceLists = (0, import_core.createPaginator)(PricingClient, ListPriceListsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  PricingServiceException,  __Client,  PricingClient,  Pricing,  $Command,  DescribeServicesCommand,  GetAttributeValuesCommand,  GetPriceListFileUrlCommand,  GetProductsCommand,  ListPriceListsCommand,  paginateDescribeServices,  paginateGetAttributeValues,  paginateGetProducts,  paginateListPriceLists,  AccessDeniedException,  ExpiredNextTokenException,  InternalErrorException,  InvalidNextTokenException,  InvalidParameterException,  NotFoundException,  ThrottlingException,  ResourceNotFoundException,  FilterType});