File Explorer

/var/runtime/node_modules/@aws-sdk/client-keyspaces/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.js58.6 KB · 1478 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,  CdcPropagateTags: () => CdcPropagateTags,  CdcStatus: () => CdcStatus,  ClientSideTimestampsStatus: () => ClientSideTimestampsStatus,  ConflictException: () => ConflictException,  CreateKeyspaceCommand: () => CreateKeyspaceCommand,  CreateTableCommand: () => CreateTableCommand,  CreateTypeCommand: () => CreateTypeCommand,  DeleteKeyspaceCommand: () => DeleteKeyspaceCommand,  DeleteTableCommand: () => DeleteTableCommand,  DeleteTypeCommand: () => DeleteTypeCommand,  EncryptionType: () => EncryptionType,  GetKeyspaceCommand: () => GetKeyspaceCommand,  GetTableAutoScalingSettingsCommand: () => GetTableAutoScalingSettingsCommand,  GetTableCommand: () => GetTableCommand,  GetTypeCommand: () => GetTypeCommand,  InternalServerException: () => InternalServerException,  KeyspaceStatus: () => KeyspaceStatus,  Keyspaces: () => Keyspaces,  KeyspacesClient: () => KeyspacesClient,  KeyspacesServiceException: () => KeyspacesServiceException,  ListKeyspacesCommand: () => ListKeyspacesCommand,  ListTablesCommand: () => ListTablesCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListTypesCommand: () => ListTypesCommand,  PointInTimeRecoveryStatus: () => PointInTimeRecoveryStatus,  ResourceNotFoundException: () => ResourceNotFoundException,  RestoreTableCommand: () => RestoreTableCommand,  Rs: () => Rs,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  SortOrder: () => SortOrder,  TableStatus: () => TableStatus,  TagResourceCommand: () => TagResourceCommand,  ThroughputMode: () => ThroughputMode,  TimeToLiveStatus: () => TimeToLiveStatus,  TypeStatus: () => TypeStatus,  UntagResourceCommand: () => UntagResourceCommand,  UpdateKeyspaceCommand: () => UpdateKeyspaceCommand,  UpdateTableCommand: () => UpdateTableCommand,  ValidationException: () => ValidationException,  ViewType: () => ViewType,  __Client: () => import_smithy_client.Client,  paginateListKeyspaces: () => paginateListKeyspaces,  paginateListTables: () => paginateListTables,  paginateListTagsForResource: () => paginateListTagsForResource,  paginateListTypes: () => paginateListTypes});module.exports = __toCommonJS(index_exports); // src/KeyspacesClient.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: "cassandra"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/KeyspacesClient.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/KeyspacesClient.tsvar KeyspacesClient = class extends import_smithy_client.Client {  static {    __name(this, "KeyspacesClient");  }  /**   * The resolved configuration of KeyspacesClient class. This is resolved and normalized from the {@link KeyspacesClientConfig | 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.defaultKeyspacesHttpAuthSchemeParametersProvider,        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/Keyspaces.ts  // src/commands/CreateKeyspaceCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_json1_0.tsvar import_core2 = require("@aws-sdk/core");   // src/models/KeyspacesServiceException.ts var KeyspacesServiceException = class _KeyspacesServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "KeyspacesServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _KeyspacesServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends KeyspacesServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);  }};var ThroughputMode = {  PAY_PER_REQUEST: "PAY_PER_REQUEST",  PROVISIONED: "PROVISIONED"};var CdcPropagateTags = {  NONE: "NONE",  TABLE: "TABLE"};var CdcStatus = {  DISABLED: "DISABLED",  DISABLING: "DISABLING",  ENABLED: "ENABLED",  ENABLING: "ENABLING"};var ViewType = {  KEYS_ONLY: "KEYS_ONLY",  NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",  NEW_IMAGE: "NEW_IMAGE",  OLD_IMAGE: "OLD_IMAGE"};var ClientSideTimestampsStatus = {  ENABLED: "ENABLED"};var SortOrder = {  ASC: "ASC",  DESC: "DESC"};var ConflictException = class _ConflictException extends KeyspacesServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);  }};var Rs = {  MULTI_REGION: "MULTI_REGION",  SINGLE_REGION: "SINGLE_REGION"};var InternalServerException = class _InternalServerException extends KeyspacesServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends KeyspacesServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);  }};var ValidationException = class _ValidationException extends KeyspacesServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);  }};var EncryptionType = {  AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",  CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY"};var PointInTimeRecoveryStatus = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var TimeToLiveStatus = {  ENABLED: "ENABLED"};var ResourceNotFoundException = class _ResourceNotFoundException extends KeyspacesServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * <p>The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn’t be found.</p>   * @public   */  resourceArn;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.resourceArn = opts.resourceArn;  }};var KeyspaceStatus = {  ACTIVE: "ACTIVE",  CREATING: "CREATING",  DELETING: "DELETING",  UPDATING: "UPDATING"};var TableStatus = {  ACTIVE: "ACTIVE",  CREATING: "CREATING",  DELETED: "DELETED",  DELETING: "DELETING",  INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",  RESTORING: "RESTORING",  UPDATING: "UPDATING"};var TypeStatus = {  ACTIVE: "ACTIVE",  CREATING: "CREATING",  DELETING: "DELETING",  RESTORING: "RESTORING"}; // src/protocols/Aws_json1_0.tsvar se_CreateKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateKeyspace");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateKeyspaceCommand");var se_CreateTableCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateTable");  let body;  body = JSON.stringify(se_CreateTableRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateTableCommand");var se_CreateTypeCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateType");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateTypeCommand");var se_DeleteKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteKeyspace");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteKeyspaceCommand");var se_DeleteTableCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteTable");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteTableCommand");var se_DeleteTypeCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteType");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteTypeCommand");var se_GetKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetKeyspace");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetKeyspaceCommand");var se_GetTableCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetTable");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTableCommand");var se_GetTableAutoScalingSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetTableAutoScalingSettings");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTableAutoScalingSettingsCommand");var se_GetTypeCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetType");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTypeCommand");var se_ListKeyspacesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListKeyspaces");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListKeyspacesCommand");var se_ListTablesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListTables");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTablesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListTagsForResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsForResourceCommand");var se_ListTypesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListTypes");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTypesCommand");var se_RestoreTableCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("RestoreTable");  let body;  body = JSON.stringify(se_RestoreTableRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RestoreTableCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("TagResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UntagResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UntagResourceCommand");var se_UpdateKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateKeyspace");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateKeyspaceCommand");var se_UpdateTableCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateTable");  let body;  body = JSON.stringify(se_UpdateTableRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateTableCommand");var de_CreateKeyspaceCommand = /* @__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_CreateKeyspaceCommand");var de_CreateTableCommand = /* @__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_CreateTableCommand");var de_CreateTypeCommand = /* @__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_CreateTypeCommand");var de_DeleteKeyspaceCommand = /* @__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_DeleteKeyspaceCommand");var de_DeleteTableCommand = /* @__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_DeleteTableCommand");var de_DeleteTypeCommand = /* @__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_DeleteTypeCommand");var de_GetKeyspaceCommand = /* @__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_GetKeyspaceCommand");var de_GetTableCommand = /* @__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_GetTableResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetTableCommand");var de_GetTableAutoScalingSettingsCommand = /* @__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_GetTableAutoScalingSettingsResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetTableAutoScalingSettingsCommand");var de_GetTypeCommand = /* @__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_GetTypeResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetTypeCommand");var de_ListKeyspacesCommand = /* @__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_ListKeyspacesCommand");var de_ListTablesCommand = /* @__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_ListTablesCommand");var de_ListTagsForResourceCommand = /* @__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_ListTagsForResourceCommand");var de_ListTypesCommand = /* @__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_ListTypesCommand");var de_RestoreTableCommand = /* @__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_RestoreTableCommand");var de_TagResourceCommand = /* @__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_TagResourceCommand");var de_UntagResourceCommand = /* @__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_UntagResourceCommand");var de_UpdateKeyspaceCommand = /* @__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_UpdateKeyspaceCommand");var de_UpdateTableCommand = /* @__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_UpdateTableCommand");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.keyspaces#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.keyspaces#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.keyspaces#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.keyspaces#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.keyspaces#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.keyspaces#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_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalServerExceptionRes");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_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ServiceQuotaExceededExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ValidationExceptionRes");var se_AutoScalingPolicy = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    targetTrackingScalingPolicyConfiguration: /* @__PURE__ */ __name((_) => se_TargetTrackingScalingPolicyConfiguration(_, context), "targetTrackingScalingPolicyConfiguration")  });}, "se_AutoScalingPolicy");var se_AutoScalingSettings = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    autoScalingDisabled: [],    maximumUnits: [],    minimumUnits: [],    scalingPolicy: /* @__PURE__ */ __name((_) => se_AutoScalingPolicy(_, context), "scalingPolicy")  });}, "se_AutoScalingSettings");var se_AutoScalingSpecification = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    readCapacityAutoScaling: /* @__PURE__ */ __name((_) => se_AutoScalingSettings(_, context), "readCapacityAutoScaling"),    writeCapacityAutoScaling: /* @__PURE__ */ __name((_) => se_AutoScalingSettings(_, context), "writeCapacityAutoScaling")  });}, "se_AutoScalingSpecification");var se_CreateTableRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    autoScalingSpecification: /* @__PURE__ */ __name((_) => se_AutoScalingSpecification(_, context), "autoScalingSpecification"),    capacitySpecification: import_smithy_client._json,    cdcSpecification: import_smithy_client._json,    clientSideTimestamps: import_smithy_client._json,    comment: import_smithy_client._json,    defaultTimeToLive: [],    encryptionSpecification: import_smithy_client._json,    keyspaceName: [],    pointInTimeRecovery: import_smithy_client._json,    replicaSpecifications: /* @__PURE__ */ __name((_) => se_ReplicaSpecificationList(_, context), "replicaSpecifications"),    schemaDefinition: import_smithy_client._json,    tableName: [],    tags: import_smithy_client._json,    ttl: import_smithy_client._json  });}, "se_CreateTableRequest");var se_ReplicaSpecification = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    readCapacityAutoScaling: /* @__PURE__ */ __name((_) => se_AutoScalingSettings(_, context), "readCapacityAutoScaling"),    readCapacityUnits: [],    region: []  });}, "se_ReplicaSpecification");var se_ReplicaSpecificationList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ReplicaSpecification(entry, context);  });}, "se_ReplicaSpecificationList");var se_RestoreTableRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    autoScalingSpecification: /* @__PURE__ */ __name((_) => se_AutoScalingSpecification(_, context), "autoScalingSpecification"),    capacitySpecificationOverride: import_smithy_client._json,    encryptionSpecificationOverride: import_smithy_client._json,    pointInTimeRecoveryOverride: import_smithy_client._json,    replicaSpecifications: /* @__PURE__ */ __name((_) => se_ReplicaSpecificationList(_, context), "replicaSpecifications"),    restoreTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "restoreTimestamp"),    sourceKeyspaceName: [],    sourceTableName: [],    tagsOverride: import_smithy_client._json,    targetKeyspaceName: [],    targetTableName: []  });}, "se_RestoreTableRequest");var se_TargetTrackingScalingPolicyConfiguration = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    disableScaleIn: [],    scaleInCooldown: [],    scaleOutCooldown: [],    targetValue: import_smithy_client.serializeFloat  });}, "se_TargetTrackingScalingPolicyConfiguration");var se_UpdateTableRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    addColumns: import_smithy_client._json,    autoScalingSpecification: /* @__PURE__ */ __name((_) => se_AutoScalingSpecification(_, context), "autoScalingSpecification"),    capacitySpecification: import_smithy_client._json,    cdcSpecification: import_smithy_client._json,    clientSideTimestamps: import_smithy_client._json,    defaultTimeToLive: [],    encryptionSpecification: import_smithy_client._json,    keyspaceName: [],    pointInTimeRecovery: import_smithy_client._json,    replicaSpecifications: /* @__PURE__ */ __name((_) => se_ReplicaSpecificationList(_, context), "replicaSpecifications"),    tableName: [],    ttl: import_smithy_client._json  });}, "se_UpdateTableRequest");var de_AutoScalingPolicy = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    targetTrackingScalingPolicyConfiguration: /* @__PURE__ */ __name((_) => de_TargetTrackingScalingPolicyConfiguration(_, context), "targetTrackingScalingPolicyConfiguration")  });}, "de_AutoScalingPolicy");var de_AutoScalingSettings = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    autoScalingDisabled: import_smithy_client.expectBoolean,    maximumUnits: import_smithy_client.expectLong,    minimumUnits: import_smithy_client.expectLong,    scalingPolicy: /* @__PURE__ */ __name((_) => de_AutoScalingPolicy(_, context), "scalingPolicy")  });}, "de_AutoScalingSettings");var de_AutoScalingSpecification = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    readCapacityAutoScaling: /* @__PURE__ */ __name((_) => de_AutoScalingSettings(_, context), "readCapacityAutoScaling"),    writeCapacityAutoScaling: /* @__PURE__ */ __name((_) => de_AutoScalingSettings(_, context), "writeCapacityAutoScaling")  });}, "de_AutoScalingSpecification");var de_CapacitySpecificationSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    lastUpdateToPayPerRequestTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateToPayPerRequestTimestamp"),    readCapacityUnits: import_smithy_client.expectLong,    throughputMode: import_smithy_client.expectString,    writeCapacityUnits: import_smithy_client.expectLong  });}, "de_CapacitySpecificationSummary");var de_GetTableAutoScalingSettingsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    autoScalingSpecification: /* @__PURE__ */ __name((_) => de_AutoScalingSpecification(_, context), "autoScalingSpecification"),    keyspaceName: import_smithy_client.expectString,    replicaSpecifications: /* @__PURE__ */ __name((_) => de_ReplicaAutoScalingSpecificationList(_, context), "replicaSpecifications"),    resourceArn: import_smithy_client.expectString,    tableName: import_smithy_client.expectString  });}, "de_GetTableAutoScalingSettingsResponse");var de_GetTableResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    capacitySpecification: /* @__PURE__ */ __name((_) => de_CapacitySpecificationSummary(_, context), "capacitySpecification"),    cdcSpecification: import_smithy_client._json,    clientSideTimestamps: import_smithy_client._json,    comment: import_smithy_client._json,    creationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTimestamp"),    defaultTimeToLive: import_smithy_client.expectInt32,    encryptionSpecification: import_smithy_client._json,    keyspaceName: import_smithy_client.expectString,    latestStreamArn: import_smithy_client.expectString,    pointInTimeRecovery: /* @__PURE__ */ __name((_) => de_PointInTimeRecoverySummary(_, context), "pointInTimeRecovery"),    replicaSpecifications: /* @__PURE__ */ __name((_) => de_ReplicaSpecificationSummaryList(_, context), "replicaSpecifications"),    resourceArn: import_smithy_client.expectString,    schemaDefinition: import_smithy_client._json,    status: import_smithy_client.expectString,    tableName: import_smithy_client.expectString,    ttl: import_smithy_client._json  });}, "de_GetTableResponse");var de_GetTypeResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    directParentTypes: import_smithy_client._json,    directReferringTables: import_smithy_client._json,    fieldDefinitions: import_smithy_client._json,    keyspaceArn: import_smithy_client.expectString,    keyspaceName: import_smithy_client.expectString,    lastModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTimestamp"),    maxNestingDepth: import_smithy_client.expectInt32,    status: import_smithy_client.expectString,    typeName: import_smithy_client.expectString  });}, "de_GetTypeResponse");var de_PointInTimeRecoverySummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    earliestRestorableTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "earliestRestorableTimestamp"),    status: import_smithy_client.expectString  });}, "de_PointInTimeRecoverySummary");var de_ReplicaAutoScalingSpecification = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    autoScalingSpecification: /* @__PURE__ */ __name((_) => de_AutoScalingSpecification(_, context), "autoScalingSpecification"),    region: import_smithy_client.expectString  });}, "de_ReplicaAutoScalingSpecification");var de_ReplicaAutoScalingSpecificationList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ReplicaAutoScalingSpecification(entry, context);  });  return retVal;}, "de_ReplicaAutoScalingSpecificationList");var de_ReplicaSpecificationSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    capacitySpecification: /* @__PURE__ */ __name((_) => de_CapacitySpecificationSummary(_, context), "capacitySpecification"),    region: import_smithy_client.expectString,    status: import_smithy_client.expectString  });}, "de_ReplicaSpecificationSummary");var de_ReplicaSpecificationSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ReplicaSpecificationSummary(entry, context);  });  return retVal;}, "de_ReplicaSpecificationSummaryList");var de_TargetTrackingScalingPolicyConfiguration = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    disableScaleIn: import_smithy_client.expectBoolean,    scaleInCooldown: import_smithy_client.expectInt32,    scaleOutCooldown: import_smithy_client.expectInt32,    targetValue: import_smithy_client.limitedParseDouble  });}, "de_TargetTrackingScalingPolicyConfiguration");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)(KeyspacesServiceException);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.0",    "x-amz-target": `KeyspacesService.${operation}`  };}__name(sharedHeaders, "sharedHeaders"); // src/commands/CreateKeyspaceCommand.tsvar CreateKeyspaceCommand = 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("KeyspacesService", "CreateKeyspace", {}).n("KeyspacesClient", "CreateKeyspaceCommand").f(void 0, void 0).ser(se_CreateKeyspaceCommand).de(de_CreateKeyspaceCommand).build() {  static {    __name(this, "CreateKeyspaceCommand");  }}; // src/commands/CreateTableCommand.ts   var CreateTableCommand = 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("KeyspacesService", "CreateTable", {}).n("KeyspacesClient", "CreateTableCommand").f(void 0, void 0).ser(se_CreateTableCommand).de(de_CreateTableCommand).build() {  static {    __name(this, "CreateTableCommand");  }}; // src/commands/CreateTypeCommand.ts   var CreateTypeCommand = 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("KeyspacesService", "CreateType", {}).n("KeyspacesClient", "CreateTypeCommand").f(void 0, void 0).ser(se_CreateTypeCommand).de(de_CreateTypeCommand).build() {  static {    __name(this, "CreateTypeCommand");  }}; // src/commands/DeleteKeyspaceCommand.ts   var DeleteKeyspaceCommand = 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("KeyspacesService", "DeleteKeyspace", {}).n("KeyspacesClient", "DeleteKeyspaceCommand").f(void 0, void 0).ser(se_DeleteKeyspaceCommand).de(de_DeleteKeyspaceCommand).build() {  static {    __name(this, "DeleteKeyspaceCommand");  }}; // src/commands/DeleteTableCommand.ts   var DeleteTableCommand = 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("KeyspacesService", "DeleteTable", {}).n("KeyspacesClient", "DeleteTableCommand").f(void 0, void 0).ser(se_DeleteTableCommand).de(de_DeleteTableCommand).build() {  static {    __name(this, "DeleteTableCommand");  }}; // src/commands/DeleteTypeCommand.ts   var DeleteTypeCommand = 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("KeyspacesService", "DeleteType", {}).n("KeyspacesClient", "DeleteTypeCommand").f(void 0, void 0).ser(se_DeleteTypeCommand).de(de_DeleteTypeCommand).build() {  static {    __name(this, "DeleteTypeCommand");  }}; // src/commands/GetKeyspaceCommand.ts   var GetKeyspaceCommand = 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("KeyspacesService", "GetKeyspace", {}).n("KeyspacesClient", "GetKeyspaceCommand").f(void 0, void 0).ser(se_GetKeyspaceCommand).de(de_GetKeyspaceCommand).build() {  static {    __name(this, "GetKeyspaceCommand");  }}; // src/commands/GetTableAutoScalingSettingsCommand.ts   var GetTableAutoScalingSettingsCommand = 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("KeyspacesService", "GetTableAutoScalingSettings", {}).n("KeyspacesClient", "GetTableAutoScalingSettingsCommand").f(void 0, void 0).ser(se_GetTableAutoScalingSettingsCommand).de(de_GetTableAutoScalingSettingsCommand).build() {  static {    __name(this, "GetTableAutoScalingSettingsCommand");  }}; // src/commands/GetTableCommand.ts   var GetTableCommand = 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("KeyspacesService", "GetTable", {}).n("KeyspacesClient", "GetTableCommand").f(void 0, void 0).ser(se_GetTableCommand).de(de_GetTableCommand).build() {  static {    __name(this, "GetTableCommand");  }}; // src/commands/GetTypeCommand.ts   var GetTypeCommand = 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("KeyspacesService", "GetType", {}).n("KeyspacesClient", "GetTypeCommand").f(void 0, void 0).ser(se_GetTypeCommand).de(de_GetTypeCommand).build() {  static {    __name(this, "GetTypeCommand");  }}; // src/commands/ListKeyspacesCommand.ts   var ListKeyspacesCommand = 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("KeyspacesService", "ListKeyspaces", {}).n("KeyspacesClient", "ListKeyspacesCommand").f(void 0, void 0).ser(se_ListKeyspacesCommand).de(de_ListKeyspacesCommand).build() {  static {    __name(this, "ListKeyspacesCommand");  }}; // src/commands/ListTablesCommand.ts   var ListTablesCommand = 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("KeyspacesService", "ListTables", {}).n("KeyspacesClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {  static {    __name(this, "ListTablesCommand");  }}; // 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("KeyspacesService", "ListTagsForResource", {}).n("KeyspacesClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/ListTypesCommand.ts   var ListTypesCommand = 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("KeyspacesService", "ListTypes", {}).n("KeyspacesClient", "ListTypesCommand").f(void 0, void 0).ser(se_ListTypesCommand).de(de_ListTypesCommand).build() {  static {    __name(this, "ListTypesCommand");  }}; // src/commands/RestoreTableCommand.ts   var RestoreTableCommand = 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("KeyspacesService", "RestoreTable", {}).n("KeyspacesClient", "RestoreTableCommand").f(void 0, void 0).ser(se_RestoreTableCommand).de(de_RestoreTableCommand).build() {  static {    __name(this, "RestoreTableCommand");  }}; // 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("KeyspacesService", "TagResource", {}).n("KeyspacesClient", "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("KeyspacesService", "UntagResource", {}).n("KeyspacesClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateKeyspaceCommand.ts   var UpdateKeyspaceCommand = 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("KeyspacesService", "UpdateKeyspace", {}).n("KeyspacesClient", "UpdateKeyspaceCommand").f(void 0, void 0).ser(se_UpdateKeyspaceCommand).de(de_UpdateKeyspaceCommand).build() {  static {    __name(this, "UpdateKeyspaceCommand");  }}; // src/commands/UpdateTableCommand.ts   var UpdateTableCommand = 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("KeyspacesService", "UpdateTable", {}).n("KeyspacesClient", "UpdateTableCommand").f(void 0, void 0).ser(se_UpdateTableCommand).de(de_UpdateTableCommand).build() {  static {    __name(this, "UpdateTableCommand");  }}; // src/Keyspaces.tsvar commands = {  CreateKeyspaceCommand,  CreateTableCommand,  CreateTypeCommand,  DeleteKeyspaceCommand,  DeleteTableCommand,  DeleteTypeCommand,  GetKeyspaceCommand,  GetTableCommand,  GetTableAutoScalingSettingsCommand,  GetTypeCommand,  ListKeyspacesCommand,  ListTablesCommand,  ListTagsForResourceCommand,  ListTypesCommand,  RestoreTableCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateKeyspaceCommand,  UpdateTableCommand};var Keyspaces = class extends KeyspacesClient {  static {    __name(this, "Keyspaces");  }};(0, import_smithy_client.createAggregatedClient)(commands, Keyspaces); // src/pagination/ListKeyspacesPaginator.ts var paginateListKeyspaces = (0, import_core.createPaginator)(KeyspacesClient, ListKeyspacesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTablesPaginator.ts var paginateListTables = (0, import_core.createPaginator)(KeyspacesClient, ListTablesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(KeyspacesClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTypesPaginator.ts var paginateListTypes = (0, import_core.createPaginator)(KeyspacesClient, ListTypesCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  KeyspacesServiceException,  __Client,  KeyspacesClient,  Keyspaces,  $Command,  CreateKeyspaceCommand,  CreateTableCommand,  CreateTypeCommand,  DeleteKeyspaceCommand,  DeleteTableCommand,  DeleteTypeCommand,  GetKeyspaceCommand,  GetTableAutoScalingSettingsCommand,  GetTableCommand,  GetTypeCommand,  ListKeyspacesCommand,  ListTablesCommand,  ListTagsForResourceCommand,  ListTypesCommand,  RestoreTableCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateKeyspaceCommand,  UpdateTableCommand,  paginateListKeyspaces,  paginateListTables,  paginateListTagsForResource,  paginateListTypes,  AccessDeniedException,  ThroughputMode,  CdcPropagateTags,  CdcStatus,  ViewType,  ClientSideTimestampsStatus,  SortOrder,  ConflictException,  Rs,  InternalServerException,  ServiceQuotaExceededException,  ValidationException,  EncryptionType,  PointInTimeRecoveryStatus,  TimeToLiveStatus,  ResourceNotFoundException,  KeyspaceStatus,  TableStatus,  TypeStatus});