/var/runtime/node_modules/@aws-sdk/client-athena/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 /.
"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, { Athena: () => Athena, AthenaClient: () => AthenaClient, AthenaServiceException: () => AthenaServiceException, AuthenticationType: () => AuthenticationType, BatchGetNamedQueryCommand: () => BatchGetNamedQueryCommand, BatchGetPreparedStatementCommand: () => BatchGetPreparedStatementCommand, BatchGetQueryExecutionCommand: () => BatchGetQueryExecutionCommand, CalculationExecutionState: () => CalculationExecutionState, CancelCapacityReservationCommand: () => CancelCapacityReservationCommand, CapacityAllocationStatus: () => CapacityAllocationStatus, CapacityReservationStatus: () => CapacityReservationStatus, ColumnNullable: () => ColumnNullable, ConnectionType: () => ConnectionType, CreateCapacityReservationCommand: () => CreateCapacityReservationCommand, CreateDataCatalogCommand: () => CreateDataCatalogCommand, CreateNamedQueryCommand: () => CreateNamedQueryCommand, CreateNotebookCommand: () => CreateNotebookCommand, CreatePreparedStatementCommand: () => CreatePreparedStatementCommand, CreatePresignedNotebookUrlCommand: () => CreatePresignedNotebookUrlCommand, CreateWorkGroupCommand: () => CreateWorkGroupCommand, DataCatalogStatus: () => DataCatalogStatus, DataCatalogType: () => DataCatalogType, DeleteCapacityReservationCommand: () => DeleteCapacityReservationCommand, DeleteDataCatalogCommand: () => DeleteDataCatalogCommand, DeleteNamedQueryCommand: () => DeleteNamedQueryCommand, DeleteNotebookCommand: () => DeleteNotebookCommand, DeletePreparedStatementCommand: () => DeletePreparedStatementCommand, DeleteWorkGroupCommand: () => DeleteWorkGroupCommand, EncryptionOption: () => EncryptionOption, ExecutorState: () => ExecutorState, ExecutorType: () => ExecutorType, ExportNotebookCommand: () => ExportNotebookCommand, GetCalculationExecutionCodeCommand: () => GetCalculationExecutionCodeCommand, GetCalculationExecutionCommand: () => GetCalculationExecutionCommand, GetCalculationExecutionStatusCommand: () => GetCalculationExecutionStatusCommand, GetCapacityAssignmentConfigurationCommand: () => GetCapacityAssignmentConfigurationCommand, GetCapacityReservationCommand: () => GetCapacityReservationCommand, GetDataCatalogCommand: () => GetDataCatalogCommand, GetDatabaseCommand: () => GetDatabaseCommand, GetNamedQueryCommand: () => GetNamedQueryCommand, GetNotebookMetadataCommand: () => GetNotebookMetadataCommand, GetPreparedStatementCommand: () => GetPreparedStatementCommand, GetQueryExecutionCommand: () => GetQueryExecutionCommand, GetQueryResultsCommand: () => GetQueryResultsCommand, GetQueryRuntimeStatisticsCommand: () => GetQueryRuntimeStatisticsCommand, GetSessionCommand: () => GetSessionCommand, GetSessionStatusCommand: () => GetSessionStatusCommand, GetTableMetadataCommand: () => GetTableMetadataCommand, GetWorkGroupCommand: () => GetWorkGroupCommand, ImportNotebookCommand: () => ImportNotebookCommand, InternalServerException: () => InternalServerException, InvalidRequestException: () => InvalidRequestException, ListApplicationDPUSizesCommand: () => ListApplicationDPUSizesCommand, ListCalculationExecutionsCommand: () => ListCalculationExecutionsCommand, ListCapacityReservationsCommand: () => ListCapacityReservationsCommand, ListDataCatalogsCommand: () => ListDataCatalogsCommand, ListDatabasesCommand: () => ListDatabasesCommand, ListEngineVersionsCommand: () => ListEngineVersionsCommand, ListExecutorsCommand: () => ListExecutorsCommand, ListNamedQueriesCommand: () => ListNamedQueriesCommand, ListNotebookMetadataCommand: () => ListNotebookMetadataCommand, ListNotebookSessionsCommand: () => ListNotebookSessionsCommand, ListPreparedStatementsCommand: () => ListPreparedStatementsCommand, ListQueryExecutionsCommand: () => ListQueryExecutionsCommand, ListSessionsCommand: () => ListSessionsCommand, ListTableMetadataCommand: () => ListTableMetadataCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListWorkGroupsCommand: () => ListWorkGroupsCommand, MetadataException: () => MetadataException, NotebookType: () => NotebookType, PutCapacityAssignmentConfigurationCommand: () => PutCapacityAssignmentConfigurationCommand, QueryExecutionState: () => QueryExecutionState, QueryResultType: () => QueryResultType, ResourceNotFoundException: () => ResourceNotFoundException, S3AclOption: () => S3AclOption, SessionAlreadyExistsException: () => SessionAlreadyExistsException, SessionState: () => SessionState, StartCalculationExecutionCommand: () => StartCalculationExecutionCommand, StartQueryExecutionCommand: () => StartQueryExecutionCommand, StartSessionCommand: () => StartSessionCommand, StatementType: () => StatementType, StopCalculationExecutionCommand: () => StopCalculationExecutionCommand, StopQueryExecutionCommand: () => StopQueryExecutionCommand, TagResourceCommand: () => TagResourceCommand, TerminateSessionCommand: () => TerminateSessionCommand, ThrottleReason: () => ThrottleReason, TooManyRequestsException: () => TooManyRequestsException, UntagResourceCommand: () => UntagResourceCommand, UpdateCapacityReservationCommand: () => UpdateCapacityReservationCommand, UpdateDataCatalogCommand: () => UpdateDataCatalogCommand, UpdateNamedQueryCommand: () => UpdateNamedQueryCommand, UpdateNotebookCommand: () => UpdateNotebookCommand, UpdateNotebookMetadataCommand: () => UpdateNotebookMetadataCommand, UpdatePreparedStatementCommand: () => UpdatePreparedStatementCommand, UpdateWorkGroupCommand: () => UpdateWorkGroupCommand, WorkGroupState: () => WorkGroupState, __Client: () => import_smithy_client.Client, paginateGetQueryResults: () => paginateGetQueryResults, paginateListApplicationDPUSizes: () => paginateListApplicationDPUSizes, paginateListCalculationExecutions: () => paginateListCalculationExecutions, paginateListCapacityReservations: () => paginateListCapacityReservations, paginateListDataCatalogs: () => paginateListDataCatalogs, paginateListDatabases: () => paginateListDatabases, paginateListEngineVersions: () => paginateListEngineVersions, paginateListExecutors: () => paginateListExecutors, paginateListNamedQueries: () => paginateListNamedQueries, paginateListPreparedStatements: () => paginateListPreparedStatements, paginateListQueryExecutions: () => paginateListQueryExecutions, paginateListSessions: () => paginateListSessions, paginateListTableMetadata: () => paginateListTableMetadata, paginateListTagsForResource: () => paginateListTagsForResource, paginateListWorkGroups: () => paginateListWorkGroups});module.exports = __toCommonJS(index_exports); // src/AthenaClient.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: "athena" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/AthenaClient.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/AthenaClient.tsvar AthenaClient = class extends import_smithy_client.Client { static { __name(this, "AthenaClient"); } /** * The resolved configuration of AthenaClient class. This is resolved and normalized from the {@link AthenaClientConfig | 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.defaultAthenaHttpAuthSchemeParametersProvider, 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/Athena.ts // src/commands/BatchGetNamedQueryCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/AthenaServiceException.ts var AthenaServiceException = class _AthenaServiceException extends import_smithy_client.ServiceException { static { __name(this, "AthenaServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _AthenaServiceException.prototype); }}; // src/models/models_0.tsvar S3AclOption = { BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL"};var InternalServerException = class _InternalServerException extends AthenaServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; Message; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); this.Message = opts.Message; }};var InvalidRequestException = class _InvalidRequestException extends AthenaServiceException { static { __name(this, "InvalidRequestException"); } name = "InvalidRequestException"; $fault = "client"; /** * <p>The error code returned when the query execution failed to process, or when the * processing request for the named query failed.</p> * @public */ AthenaErrorCode; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRequestException.prototype); this.AthenaErrorCode = opts.AthenaErrorCode; this.Message = opts.Message; }};var AuthenticationType = { DIRECTORY_IDENTITY: "DIRECTORY_IDENTITY"};var EncryptionOption = { CSE_KMS: "CSE_KMS", SSE_KMS: "SSE_KMS", SSE_S3: "SSE_S3"};var StatementType = { DDL: "DDL", DML: "DML", UTILITY: "UTILITY"};var QueryExecutionState = { CANCELLED: "CANCELLED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED"};var DataCatalogType = { FEDERATED: "FEDERATED", GLUE: "GLUE", HIVE: "HIVE", LAMBDA: "LAMBDA"};var ConnectionType = { BIGQUERY: "BIGQUERY", CMDB: "CMDB", DATALAKEGEN2: "DATALAKEGEN2", DB2: "DB2", DB2AS400: "DB2AS400", DOCUMENTDB: "DOCUMENTDB", DYNAMODB: "DYNAMODB", GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE", HBASE: "HBASE", MYSQL: "MYSQL", OPENSEARCH: "OPENSEARCH", ORACLE: "ORACLE", POSTGRESQL: "POSTGRESQL", REDSHIFT: "REDSHIFT", SAPHANA: "SAPHANA", SNOWFLAKE: "SNOWFLAKE", SQLSERVER: "SQLSERVER", SYNAPSE: "SYNAPSE", TIMESTREAM: "TIMESTREAM", TPCDS: "TPCDS"};var DataCatalogStatus = { CREATE_COMPLETE: "CREATE_COMPLETE", CREATE_FAILED: "CREATE_FAILED", CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE", CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED", CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", DELETE_COMPLETE: "DELETE_COMPLETE", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"};var ThrottleReason = { CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED"};var TooManyRequestsException = class _TooManyRequestsException extends AthenaServiceException { static { __name(this, "TooManyRequestsException"); } name = "TooManyRequestsException"; $fault = "client"; Message; /** * <p>The reason for the query throttling, for example, when it exceeds the concurrent query * limit.</p> * @public */ Reason; /** * @internal */ constructor(opts) { super({ name: "TooManyRequestsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TooManyRequestsException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; }};var ResourceNotFoundException = class _ResourceNotFoundException extends AthenaServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * <p>The name of the Amazon resource.</p> * @public */ ResourceName; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; }};var NotebookType = { IPYNB: "IPYNB"};var CalculationExecutionState = { CANCELED: "CANCELED", CANCELING: "CANCELING", COMPLETED: "COMPLETED", CREATED: "CREATED", CREATING: "CREATING", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING"};var CapacityAllocationStatus = { FAILED: "FAILED", PENDING: "PENDING", SUCCEEDED: "SUCCEEDED"};var CapacityReservationStatus = { ACTIVE: "ACTIVE", CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", FAILED: "FAILED", PENDING: "PENDING", UPDATE_PENDING: "UPDATE_PENDING"};var MetadataException = class _MetadataException extends AthenaServiceException { static { __name(this, "MetadataException"); } name = "MetadataException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "MetadataException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MetadataException.prototype); this.Message = opts.Message; }};var QueryResultType = { DATA_MANIFEST: "DATA_MANIFEST", DATA_ROWS: "DATA_ROWS"};var ColumnNullable = { NOT_NULL: "NOT_NULL", NULLABLE: "NULLABLE", UNKNOWN: "UNKNOWN"};var SessionState = { BUSY: "BUSY", CREATED: "CREATED", CREATING: "CREATING", DEGRADED: "DEGRADED", FAILED: "FAILED", IDLE: "IDLE", TERMINATED: "TERMINATED", TERMINATING: "TERMINATING"};var WorkGroupState = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var ExecutorState = { CREATED: "CREATED", CREATING: "CREATING", FAILED: "FAILED", REGISTERED: "REGISTERED", TERMINATED: "TERMINATED", TERMINATING: "TERMINATING"};var ExecutorType = { COORDINATOR: "COORDINATOR", GATEWAY: "GATEWAY", WORKER: "WORKER"};var SessionAlreadyExistsException = class _SessionAlreadyExistsException extends AthenaServiceException { static { __name(this, "SessionAlreadyExistsException"); } name = "SessionAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "SessionAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _SessionAlreadyExistsException.prototype); this.Message = opts.Message; }}; // src/protocols/Aws_json1_1.tsvar se_BatchGetNamedQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("BatchGetNamedQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_BatchGetNamedQueryCommand");var se_BatchGetPreparedStatementCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("BatchGetPreparedStatement"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_BatchGetPreparedStatementCommand");var se_BatchGetQueryExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("BatchGetQueryExecution"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_BatchGetQueryExecutionCommand");var se_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CancelCapacityReservation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CancelCapacityReservationCommand");var se_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateCapacityReservation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateCapacityReservationCommand");var se_CreateDataCatalogCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateDataCatalog"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateDataCatalogCommand");var se_CreateNamedQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateNamedQuery"); let body; body = JSON.stringify(se_CreateNamedQueryInput(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateNamedQueryCommand");var se_CreateNotebookCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateNotebook"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateNotebookCommand");var se_CreatePreparedStatementCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreatePreparedStatement"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreatePreparedStatementCommand");var se_CreatePresignedNotebookUrlCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreatePresignedNotebookUrl"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreatePresignedNotebookUrlCommand");var se_CreateWorkGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateWorkGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateWorkGroupCommand");var se_DeleteCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteCapacityReservation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteCapacityReservationCommand");var se_DeleteDataCatalogCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteDataCatalog"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteDataCatalogCommand");var se_DeleteNamedQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteNamedQuery"); let body; body = JSON.stringify(se_DeleteNamedQueryInput(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteNamedQueryCommand");var se_DeleteNotebookCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteNotebook"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteNotebookCommand");var se_DeletePreparedStatementCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeletePreparedStatement"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeletePreparedStatementCommand");var se_DeleteWorkGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteWorkGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteWorkGroupCommand");var se_ExportNotebookCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ExportNotebook"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ExportNotebookCommand");var se_GetCalculationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCalculationExecution"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetCalculationExecutionCommand");var se_GetCalculationExecutionCodeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCalculationExecutionCode"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetCalculationExecutionCodeCommand");var se_GetCalculationExecutionStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCalculationExecutionStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetCalculationExecutionStatusCommand");var se_GetCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCapacityAssignmentConfiguration"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetCapacityAssignmentConfigurationCommand");var se_GetCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCapacityReservation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetCapacityReservationCommand");var se_GetDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetDatabase"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetDatabaseCommand");var se_GetDataCatalogCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetDataCatalog"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetDataCatalogCommand");var se_GetNamedQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetNamedQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetNamedQueryCommand");var se_GetNotebookMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetNotebookMetadata"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetNotebookMetadataCommand");var se_GetPreparedStatementCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetPreparedStatement"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetPreparedStatementCommand");var se_GetQueryExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetQueryExecution"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetQueryExecutionCommand");var se_GetQueryResultsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetQueryResults"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetQueryResultsCommand");var se_GetQueryRuntimeStatisticsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetQueryRuntimeStatistics"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetQueryRuntimeStatisticsCommand");var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetSession"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSessionCommand");var se_GetSessionStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetSessionStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSessionStatusCommand");var se_GetTableMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetTableMetadata"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTableMetadataCommand");var se_GetWorkGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetWorkGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetWorkGroupCommand");var se_ImportNotebookCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ImportNotebook"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ImportNotebookCommand");var se_ListApplicationDPUSizesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListApplicationDPUSizes"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListApplicationDPUSizesCommand");var se_ListCalculationExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListCalculationExecutions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListCalculationExecutionsCommand");var se_ListCapacityReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListCapacityReservations"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListCapacityReservationsCommand");var se_ListDatabasesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListDatabases"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListDatabasesCommand");var se_ListDataCatalogsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListDataCatalogs"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListDataCatalogsCommand");var se_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListEngineVersions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListEngineVersionsCommand");var se_ListExecutorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListExecutors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListExecutorsCommand");var se_ListNamedQueriesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListNamedQueries"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListNamedQueriesCommand");var se_ListNotebookMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListNotebookMetadata"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListNotebookMetadataCommand");var se_ListNotebookSessionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListNotebookSessions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListNotebookSessionsCommand");var se_ListPreparedStatementsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListPreparedStatements"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListPreparedStatementsCommand");var se_ListQueryExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListQueryExecutions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListQueryExecutionsCommand");var se_ListSessionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListSessions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListSessionsCommand");var se_ListTableMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTableMetadata"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTableMetadataCommand");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_ListWorkGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListWorkGroups"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListWorkGroupsCommand");var se_PutCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutCapacityAssignmentConfiguration"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutCapacityAssignmentConfigurationCommand");var se_StartCalculationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartCalculationExecution"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartCalculationExecutionCommand");var se_StartQueryExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartQueryExecution"); let body; body = JSON.stringify(se_StartQueryExecutionInput(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartQueryExecutionCommand");var se_StartSessionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartSession"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartSessionCommand");var se_StopCalculationExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StopCalculationExecution"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StopCalculationExecutionCommand");var se_StopQueryExecutionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StopQueryExecution"); let body; body = JSON.stringify(se_StopQueryExecutionInput(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StopQueryExecutionCommand");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_TerminateSessionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("TerminateSession"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TerminateSessionCommand");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_UpdateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateCapacityReservation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateCapacityReservationCommand");var se_UpdateDataCatalogCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateDataCatalog"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateDataCatalogCommand");var se_UpdateNamedQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateNamedQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateNamedQueryCommand");var se_UpdateNotebookCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateNotebook"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateNotebookCommand");var se_UpdateNotebookMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateNotebookMetadata"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateNotebookMetadataCommand");var se_UpdatePreparedStatementCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdatePreparedStatement"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdatePreparedStatementCommand");var se_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateWorkGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateWorkGroupCommand");var de_BatchGetNamedQueryCommand = /* @__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_BatchGetNamedQueryCommand");var de_BatchGetPreparedStatementCommand = /* @__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_BatchGetPreparedStatementOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_BatchGetPreparedStatementCommand");var de_BatchGetQueryExecutionCommand = /* @__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_BatchGetQueryExecutionOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_BatchGetQueryExecutionCommand");var de_CancelCapacityReservationCommand = /* @__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_CancelCapacityReservationCommand");var de_CreateCapacityReservationCommand = /* @__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_CreateCapacityReservationCommand");var de_CreateDataCatalogCommand = /* @__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_CreateDataCatalogCommand");var de_CreateNamedQueryCommand = /* @__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_CreateNamedQueryCommand");var de_CreateNotebookCommand = /* @__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_CreateNotebookCommand");var de_CreatePreparedStatementCommand = /* @__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_CreatePreparedStatementCommand");var de_CreatePresignedNotebookUrlCommand = /* @__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_CreatePresignedNotebookUrlCommand");var de_CreateWorkGroupCommand = /* @__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_CreateWorkGroupCommand");var de_DeleteCapacityReservationCommand = /* @__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_DeleteCapacityReservationCommand");var de_DeleteDataCatalogCommand = /* @__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_DeleteDataCatalogCommand");var de_DeleteNamedQueryCommand = /* @__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_DeleteNamedQueryCommand");var de_DeleteNotebookCommand = /* @__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_DeleteNotebookCommand");var de_DeletePreparedStatementCommand = /* @__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_DeletePreparedStatementCommand");var de_DeleteWorkGroupCommand = /* @__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_DeleteWorkGroupCommand");var de_ExportNotebookCommand = /* @__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_ExportNotebookOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ExportNotebookCommand");var de_GetCalculationExecutionCommand = /* @__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_GetCalculationExecutionResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetCalculationExecutionCommand");var de_GetCalculationExecutionCodeCommand = /* @__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_GetCalculationExecutionCodeCommand");var de_GetCalculationExecutionStatusCommand = /* @__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_GetCalculationExecutionStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetCalculationExecutionStatusCommand");var de_GetCapacityAssignmentConfigurationCommand = /* @__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_GetCapacityAssignmentConfigurationCommand");var de_GetCapacityReservationCommand = /* @__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_GetCapacityReservationOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetCapacityReservationCommand");var de_GetDatabaseCommand = /* @__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_GetDatabaseCommand");var de_GetDataCatalogCommand = /* @__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_GetDataCatalogCommand");var de_GetNamedQueryCommand = /* @__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_GetNamedQueryCommand");var de_GetNotebookMetadataCommand = /* @__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_GetNotebookMetadataOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetNotebookMetadataCommand");var de_GetPreparedStatementCommand = /* @__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_GetPreparedStatementOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetPreparedStatementCommand");var de_GetQueryExecutionCommand = /* @__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_GetQueryExecutionOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetQueryExecutionCommand");var de_GetQueryResultsCommand = /* @__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_GetQueryResultsCommand");var de_GetQueryRuntimeStatisticsCommand = /* @__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_GetQueryRuntimeStatisticsOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetQueryRuntimeStatisticsCommand");var de_GetSessionCommand = /* @__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_GetSessionResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetSessionCommand");var de_GetSessionStatusCommand = /* @__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_GetSessionStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetSessionStatusCommand");var de_GetTableMetadataCommand = /* @__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_GetTableMetadataOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetTableMetadataCommand");var de_GetWorkGroupCommand = /* @__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_GetWorkGroupOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetWorkGroupCommand");var de_ImportNotebookCommand = /* @__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_ImportNotebookCommand");var de_ListApplicationDPUSizesCommand = /* @__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_ListApplicationDPUSizesCommand");var de_ListCalculationExecutionsCommand = /* @__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_ListCalculationExecutionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListCalculationExecutionsCommand");var de_ListCapacityReservationsCommand = /* @__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_ListCapacityReservationsOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListCapacityReservationsCommand");var de_ListDatabasesCommand = /* @__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_ListDatabasesCommand");var de_ListDataCatalogsCommand = /* @__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_ListDataCatalogsCommand");var de_ListEngineVersionsCommand = /* @__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_ListEngineVersionsCommand");var de_ListExecutorsCommand = /* @__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_ListExecutorsCommand");var de_ListNamedQueriesCommand = /* @__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_ListNamedQueriesCommand");var de_ListNotebookMetadataCommand = /* @__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_ListNotebookMetadataOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListNotebookMetadataCommand");var de_ListNotebookSessionsCommand = /* @__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_ListNotebookSessionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListNotebookSessionsCommand");var de_ListPreparedStatementsCommand = /* @__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_ListPreparedStatementsOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListPreparedStatementsCommand");var de_ListQueryExecutionsCommand = /* @__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_ListQueryExecutionsCommand");var de_ListSessionsCommand = /* @__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_ListSessionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListSessionsCommand");var de_ListTableMetadataCommand = /* @__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_ListTableMetadataOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTableMetadataCommand");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_ListWorkGroupsCommand = /* @__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_ListWorkGroupsOutput(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListWorkGroupsCommand");var de_PutCapacityAssignmentConfigurationCommand = /* @__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_PutCapacityAssignmentConfigurationCommand");var de_StartCalculationExecutionCommand = /* @__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_StartCalculationExecutionCommand");var de_StartQueryExecutionCommand = /* @__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_StartQueryExecutionCommand");var de_StartSessionCommand = /* @__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_StartSessionCommand");var de_StopCalculationExecutionCommand = /* @__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_StopCalculationExecutionCommand");var de_StopQueryExecutionCommand = /* @__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_StopQueryExecutionCommand");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_TerminateSessionCommand = /* @__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_TerminateSessionCommand");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_UpdateCapacityReservationCommand = /* @__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_UpdateCapacityReservationCommand");var de_UpdateDataCatalogCommand = /* @__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_UpdateDataCatalogCommand");var de_UpdateNamedQueryCommand = /* @__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_UpdateNamedQueryCommand");var de_UpdateNotebookCommand = /* @__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_UpdateNotebookCommand");var de_UpdateNotebookMetadataCommand = /* @__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_UpdateNotebookMetadataCommand");var de_UpdatePreparedStatementCommand = /* @__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_UpdatePreparedStatementCommand");var de_UpdateWorkGroupCommand = /* @__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_UpdateWorkGroupCommand");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 "InternalServerException": case "com.amazonaws.athena#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "InvalidRequestException": case "com.amazonaws.athena#InvalidRequestException": throw await de_InvalidRequestExceptionRes(parsedOutput, context); case "TooManyRequestsException": case "com.amazonaws.athena#TooManyRequestsException": throw await de_TooManyRequestsExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.athena#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "MetadataException": case "com.amazonaws.athena#MetadataException": throw await de_MetadataExceptionRes(parsedOutput, context); case "SessionAlreadyExistsException": case "com.amazonaws.athena#SessionAlreadyExistsException": throw await de_SessionAlreadyExistsExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");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_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidRequestException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidRequestExceptionRes");var de_MetadataExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new MetadataException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_MetadataExceptionRes");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_SessionAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new SessionAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_SessionAlreadyExistsExceptionRes");var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TooManyRequestsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TooManyRequestsExceptionRes");var se_CreateNamedQueryInput = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Database: [], Description: [], Name: [], QueryString: [], WorkGroup: [] });}, "se_CreateNamedQueryInput");var se_DeleteNamedQueryInput = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { NamedQueryId: [true, (_) => _ ?? (0, import_uuid.v4)()] });}, "se_DeleteNamedQueryInput");var se_StartQueryExecutionInput = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()], ExecutionParameters: import_smithy_client._json, QueryExecutionContext: import_smithy_client._json, QueryString: [], ResultConfiguration: import_smithy_client._json, ResultReuseConfiguration: import_smithy_client._json, WorkGroup: [] });}, "se_StartQueryExecutionInput");var se_StopQueryExecutionInput = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { QueryExecutionId: [true, (_) => _ ?? (0, import_uuid.v4)()] });}, "se_StopQueryExecutionInput");var de_BatchGetPreparedStatementOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { PreparedStatements: /* @__PURE__ */ __name((_) => de_PreparedStatementDetailsList(_, context), "PreparedStatements"), UnprocessedPreparedStatementNames: import_smithy_client._json });}, "de_BatchGetPreparedStatementOutput");var de_BatchGetQueryExecutionOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { QueryExecutions: /* @__PURE__ */ __name((_) => de_QueryExecutionList(_, context), "QueryExecutions"), UnprocessedQueryExecutionIds: import_smithy_client._json });}, "de_BatchGetQueryExecutionOutput");var de_CalculationsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CalculationSummary(entry, context); }); return retVal;}, "de_CalculationsList");var de_CalculationStatus = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CompletionDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDateTime"), State: import_smithy_client.expectString, StateChangeReason: import_smithy_client.expectString, SubmissionDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SubmissionDateTime") });}, "de_CalculationStatus");var de_CalculationSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CalculationExecutionId: import_smithy_client.expectString, Description: import_smithy_client.expectString, Status: /* @__PURE__ */ __name((_) => de_CalculationStatus(_, context), "Status") });}, "de_CalculationSummary");var de_CapacityAllocation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { RequestCompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestCompletionTime"), RequestTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestTime"), Status: import_smithy_client.expectString, StatusMessage: import_smithy_client.expectString });}, "de_CapacityAllocation");var de_CapacityReservation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AllocatedDpus: import_smithy_client.expectInt32, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), LastAllocation: /* @__PURE__ */ __name((_) => de_CapacityAllocation(_, context), "LastAllocation"), LastSuccessfulAllocationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastSuccessfulAllocationTime"), Name: import_smithy_client.expectString, Status: import_smithy_client.expectString, TargetDpus: import_smithy_client.expectInt32 });}, "de_CapacityReservation");var de_CapacityReservationsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CapacityReservation(entry, context); }); return retVal;}, "de_CapacityReservationsList");var de_ExportNotebookOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NotebookMetadata: /* @__PURE__ */ __name((_) => de_NotebookMetadata(_, context), "NotebookMetadata"), Payload: import_smithy_client.expectString });}, "de_ExportNotebookOutput");var de_GetCalculationExecutionResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CalculationExecutionId: import_smithy_client.expectString, Description: import_smithy_client.expectString, Result: import_smithy_client._json, SessionId: import_smithy_client.expectString, Statistics: import_smithy_client._json, Status: /* @__PURE__ */ __name((_) => de_CalculationStatus(_, context), "Status"), WorkingDirectory: import_smithy_client.expectString });}, "de_GetCalculationExecutionResponse");var de_GetCalculationExecutionStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Statistics: import_smithy_client._json, Status: /* @__PURE__ */ __name((_) => de_CalculationStatus(_, context), "Status") });}, "de_GetCalculationExecutionStatusResponse");var de_GetCapacityReservationOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CapacityReservation: /* @__PURE__ */ __name((_) => de_CapacityReservation(_, context), "CapacityReservation") });}, "de_GetCapacityReservationOutput");var de_GetNotebookMetadataOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NotebookMetadata: /* @__PURE__ */ __name((_) => de_NotebookMetadata(_, context), "NotebookMetadata") });}, "de_GetNotebookMetadataOutput");var de_GetPreparedStatementOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { PreparedStatement: /* @__PURE__ */ __name((_) => de_PreparedStatement(_, context), "PreparedStatement") });}, "de_GetPreparedStatementOutput");var de_GetQueryExecutionOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { QueryExecution: /* @__PURE__ */ __name((_) => de_QueryExecution(_, context), "QueryExecution") });}, "de_GetQueryExecutionOutput");var de_GetQueryRuntimeStatisticsOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { QueryRuntimeStatistics: /* @__PURE__ */ __name((_) => de_QueryRuntimeStatistics(_, context), "QueryRuntimeStatistics") });}, "de_GetQueryRuntimeStatisticsOutput");var de_GetSessionResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Description: import_smithy_client.expectString, EngineConfiguration: import_smithy_client._json, EngineVersion: import_smithy_client.expectString, NotebookVersion: import_smithy_client.expectString, SessionConfiguration: import_smithy_client._json, SessionId: import_smithy_client.expectString, Statistics: import_smithy_client._json, Status: /* @__PURE__ */ __name((_) => de_SessionStatus(_, context), "Status"), WorkGroup: import_smithy_client.expectString });}, "de_GetSessionResponse");var de_GetSessionStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { SessionId: import_smithy_client.expectString, Status: /* @__PURE__ */ __name((_) => de_SessionStatus(_, context), "Status") });}, "de_GetSessionStatusResponse");var de_GetTableMetadataOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { TableMetadata: /* @__PURE__ */ __name((_) => de_TableMetadata(_, context), "TableMetadata") });}, "de_GetTableMetadataOutput");var de_GetWorkGroupOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { WorkGroup: /* @__PURE__ */ __name((_) => de_WorkGroup(_, context), "WorkGroup") });}, "de_GetWorkGroupOutput");var de_ListCalculationExecutionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Calculations: /* @__PURE__ */ __name((_) => de_CalculationsList(_, context), "Calculations"), NextToken: import_smithy_client.expectString });}, "de_ListCalculationExecutionsResponse");var de_ListCapacityReservationsOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CapacityReservations: /* @__PURE__ */ __name((_) => de_CapacityReservationsList(_, context), "CapacityReservations"), NextToken: import_smithy_client.expectString });}, "de_ListCapacityReservationsOutput");var de_ListNotebookMetadataOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, NotebookMetadataList: /* @__PURE__ */ __name((_) => de_NotebookMetadataArray(_, context), "NotebookMetadataList") });}, "de_ListNotebookMetadataOutput");var de_ListNotebookSessionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, NotebookSessionsList: /* @__PURE__ */ __name((_) => de_NotebookSessionsList(_, context), "NotebookSessionsList") });}, "de_ListNotebookSessionsResponse");var de_ListPreparedStatementsOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, PreparedStatements: /* @__PURE__ */ __name((_) => de_PreparedStatementsList(_, context), "PreparedStatements") });}, "de_ListPreparedStatementsOutput");var de_ListSessionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, Sessions: /* @__PURE__ */ __name((_) => de_SessionsList(_, context), "Sessions") });}, "de_ListSessionsResponse");var de_ListTableMetadataOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, TableMetadataList: /* @__PURE__ */ __name((_) => de_TableMetadataList(_, context), "TableMetadataList") });}, "de_ListTableMetadataOutput");var de_ListWorkGroupsOutput = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, WorkGroups: /* @__PURE__ */ __name((_) => de_WorkGroupsList(_, context), "WorkGroups") });}, "de_ListWorkGroupsOutput");var de_NotebookMetadata = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), Name: import_smithy_client.expectString, NotebookId: import_smithy_client.expectString, Type: import_smithy_client.expectString, WorkGroup: import_smithy_client.expectString });}, "de_NotebookMetadata");var de_NotebookMetadataArray = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NotebookMetadata(entry, context); }); return retVal;}, "de_NotebookMetadataArray");var de_NotebookSessionsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NotebookSessionSummary(entry, context); }); return retVal;}, "de_NotebookSessionsList");var de_NotebookSessionSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), SessionId: import_smithy_client.expectString });}, "de_NotebookSessionSummary");var de_PreparedStatement = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Description: import_smithy_client.expectString, LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), QueryStatement: import_smithy_client.expectString, StatementName: import_smithy_client.expectString, WorkGroupName: import_smithy_client.expectString });}, "de_PreparedStatement");var de_PreparedStatementDetailsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_PreparedStatement(entry, context); }); return retVal;}, "de_PreparedStatementDetailsList");var de_PreparedStatementsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_PreparedStatementSummary(entry, context); }); return retVal;}, "de_PreparedStatementsList");var de_PreparedStatementSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"), StatementName: import_smithy_client.expectString });}, "de_PreparedStatementSummary");var de_QueryExecution = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EngineVersion: import_smithy_client._json, ExecutionParameters: import_smithy_client._json, ManagedQueryResultsConfiguration: import_smithy_client._json, Query: import_smithy_client.expectString, QueryExecutionContext: import_smithy_client._json, QueryExecutionId: import_smithy_client.expectString, QueryResultsS3AccessGrantsConfiguration: import_smithy_client._json, ResultConfiguration: import_smithy_client._json, ResultReuseConfiguration: import_smithy_client._json, StatementType: import_smithy_client.expectString, Statistics: import_smithy_client._json, Status: /* @__PURE__ */ __name((_) => de_QueryExecutionStatus(_, context), "Status"), SubstatementType: import_smithy_client.expectString, WorkGroup: import_smithy_client.expectString });}, "de_QueryExecution");var de_QueryExecutionList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_QueryExecution(entry, context); }); return retVal;}, "de_QueryExecutionList");var de_QueryExecutionStatus = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AthenaError: import_smithy_client._json, CompletionDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDateTime"), State: import_smithy_client.expectString, StateChangeReason: import_smithy_client.expectString, SubmissionDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SubmissionDateTime") });}, "de_QueryExecutionStatus");var de_QueryRuntimeStatistics = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { OutputStage: /* @__PURE__ */ __name((_) => de_QueryStage(_, context), "OutputStage"), Rows: import_smithy_client._json, Timeline: import_smithy_client._json });}, "de_QueryRuntimeStatistics");var de_QueryStage = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ExecutionTime: import_smithy_client.expectLong, InputBytes: import_smithy_client.expectLong, InputRows: import_smithy_client.expectLong, OutputBytes: import_smithy_client.expectLong, OutputRows: import_smithy_client.expectLong, QueryStagePlan: /* @__PURE__ */ __name((_) => de_QueryStagePlanNode(_, context), "QueryStagePlan"), StageId: import_smithy_client.expectLong, State: import_smithy_client.expectString, SubStages: /* @__PURE__ */ __name((_) => de_QueryStages(_, context), "SubStages") });}, "de_QueryStage");var de_QueryStagePlanNode = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Children: /* @__PURE__ */ __name((_) => de_QueryStagePlanNodes(_, context), "Children"), Identifier: import_smithy_client.expectString, Name: import_smithy_client.expectString, RemoteSources: import_smithy_client._json });}, "de_QueryStagePlanNode");var de_QueryStagePlanNodes = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_QueryStagePlanNode(entry, context); }); return retVal;}, "de_QueryStagePlanNodes");var de_QueryStages = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_QueryStage(entry, context); }); return retVal;}, "de_QueryStages");var de_SessionsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SessionSummary(entry, context); }); return retVal;}, "de_SessionsList");var de_SessionStatus = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EndDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDateTime"), IdleSinceDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "IdleSinceDateTime"), LastModifiedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDateTime"), StartDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartDateTime"), State: import_smithy_client.expectString, StateChangeReason: import_smithy_client.expectString });}, "de_SessionStatus");var de_SessionSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Description: import_smithy_client.expectString, EngineVersion: import_smithy_client._json, NotebookVersion: import_smithy_client.expectString, SessionId: import_smithy_client.expectString, Status: /* @__PURE__ */ __name((_) => de_SessionStatus(_, context), "Status") });}, "de_SessionSummary");var de_TableMetadata = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Columns: import_smithy_client._json, CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"), LastAccessTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastAccessTime"), Name: import_smithy_client.expectString, Parameters: import_smithy_client._json, PartitionKeys: import_smithy_client._json, TableType: import_smithy_client.expectString });}, "de_TableMetadata");var de_TableMetadataList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TableMetadata(entry, context); }); return retVal;}, "de_TableMetadataList");var de_WorkGroup = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Configuration: import_smithy_client._json, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), Description: import_smithy_client.expectString, IdentityCenterApplicationArn: import_smithy_client.expectString, Name: import_smithy_client.expectString, State: import_smithy_client.expectString });}, "de_WorkGroup");var de_WorkGroupsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_WorkGroupSummary(entry, context); }); return retVal;}, "de_WorkGroupsList");var de_WorkGroupSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), Description: import_smithy_client.expectString, EngineVersion: import_smithy_client._json, IdentityCenterApplicationArn: import_smithy_client.expectString, Name: import_smithy_client.expectString, State: import_smithy_client.expectString });}, "de_WorkGroupSummary");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)(AthenaServiceException);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": `AmazonAthena.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/BatchGetNamedQueryCommand.tsvar BatchGetNamedQueryCommand = 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("AmazonAthena", "BatchGetNamedQuery", {}).n("AthenaClient", "BatchGetNamedQueryCommand").f(void 0, void 0).ser(se_BatchGetNamedQueryCommand).de(de_BatchGetNamedQueryCommand).build() { static { __name(this, "BatchGetNamedQueryCommand"); }}; // src/commands/BatchGetPreparedStatementCommand.ts var BatchGetPreparedStatementCommand = 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("AmazonAthena", "BatchGetPreparedStatement", {}).n("AthenaClient", "BatchGetPreparedStatementCommand").f(void 0, void 0).ser(se_BatchGetPreparedStatementCommand).de(de_BatchGetPreparedStatementCommand).build() { static { __name(this, "BatchGetPreparedStatementCommand"); }}; // src/commands/BatchGetQueryExecutionCommand.ts var BatchGetQueryExecutionCommand = 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("AmazonAthena", "BatchGetQueryExecution", {}).n("AthenaClient", "BatchGetQueryExecutionCommand").f(void 0, void 0).ser(se_BatchGetQueryExecutionCommand).de(de_BatchGetQueryExecutionCommand).build() { static { __name(this, "BatchGetQueryExecutionCommand"); }}; // src/commands/CancelCapacityReservationCommand.ts var CancelCapacityReservationCommand = 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("AmazonAthena", "CancelCapacityReservation", {}).n("AthenaClient", "CancelCapacityReservationCommand").f(void 0, void 0).ser(se_CancelCapacityReservationCommand).de(de_CancelCapacityReservationCommand).build() { static { __name(this, "CancelCapacityReservationCommand"); }}; // src/commands/CreateCapacityReservationCommand.ts var CreateCapacityReservationCommand = 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("AmazonAthena", "CreateCapacityReservation", {}).n("AthenaClient", "CreateCapacityReservationCommand").f(void 0, void 0).ser(se_CreateCapacityReservationCommand).de(de_CreateCapacityReservationCommand).build() { static { __name(this, "CreateCapacityReservationCommand"); }}; // src/commands/CreateDataCatalogCommand.ts var CreateDataCatalogCommand = 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("AmazonAthena", "CreateDataCatalog", {}).n("AthenaClient", "CreateDataCatalogCommand").f(void 0, void 0).ser(se_CreateDataCatalogCommand).de(de_CreateDataCatalogCommand).build() { static { __name(this, "CreateDataCatalogCommand"); }}; // src/commands/CreateNamedQueryCommand.ts var CreateNamedQueryCommand = 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("AmazonAthena", "CreateNamedQuery", {}).n("AthenaClient", "CreateNamedQueryCommand").f(void 0, void 0).ser(se_CreateNamedQueryCommand).de(de_CreateNamedQueryCommand).build() { static { __name(this, "CreateNamedQueryCommand"); }}; // src/commands/CreateNotebookCommand.ts var CreateNotebookCommand = 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("AmazonAthena", "CreateNotebook", {}).n("AthenaClient", "CreateNotebookCommand").f(void 0, void 0).ser(se_CreateNotebookCommand).de(de_CreateNotebookCommand).build() { static { __name(this, "CreateNotebookCommand"); }}; // src/commands/CreatePreparedStatementCommand.ts var CreatePreparedStatementCommand = 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("AmazonAthena", "CreatePreparedStatement", {}).n("AthenaClient", "CreatePreparedStatementCommand").f(void 0, void 0).ser(se_CreatePreparedStatementCommand).de(de_CreatePreparedStatementCommand).build() { static { __name(this, "CreatePreparedStatementCommand"); }}; // src/commands/CreatePresignedNotebookUrlCommand.ts var CreatePresignedNotebookUrlCommand = 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("AmazonAthena", "CreatePresignedNotebookUrl", {}).n("AthenaClient", "CreatePresignedNotebookUrlCommand").f(void 0, void 0).ser(se_CreatePresignedNotebookUrlCommand).de(de_CreatePresignedNotebookUrlCommand).build() { static { __name(this, "CreatePresignedNotebookUrlCommand"); }}; // src/commands/CreateWorkGroupCommand.ts var CreateWorkGroupCommand = 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("AmazonAthena", "CreateWorkGroup", {}).n("AthenaClient", "CreateWorkGroupCommand").f(void 0, void 0).ser(se_CreateWorkGroupCommand).de(de_CreateWorkGroupCommand).build() { static { __name(this, "CreateWorkGroupCommand"); }}; // src/commands/DeleteCapacityReservationCommand.ts var DeleteCapacityReservationCommand = 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("AmazonAthena", "DeleteCapacityReservation", {}).n("AthenaClient", "DeleteCapacityReservationCommand").f(void 0, void 0).ser(se_DeleteCapacityReservationCommand).de(de_DeleteCapacityReservationCommand).build() { static { __name(this, "DeleteCapacityReservationCommand"); }}; // src/commands/DeleteDataCatalogCommand.ts var DeleteDataCatalogCommand = 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("AmazonAthena", "DeleteDataCatalog", {}).n("AthenaClient", "DeleteDataCatalogCommand").f(void 0, void 0).ser(se_DeleteDataCatalogCommand).de(de_DeleteDataCatalogCommand).build() { static { __name(this, "DeleteDataCatalogCommand"); }}; // src/commands/DeleteNamedQueryCommand.ts var DeleteNamedQueryCommand = 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("AmazonAthena", "DeleteNamedQuery", {}).n("AthenaClient", "DeleteNamedQueryCommand").f(void 0, void 0).ser(se_DeleteNamedQueryCommand).de(de_DeleteNamedQueryCommand).build() { static { __name(this, "DeleteNamedQueryCommand"); }}; // src/commands/DeleteNotebookCommand.ts var DeleteNotebookCommand = 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("AmazonAthena", "DeleteNotebook", {}).n("AthenaClient", "DeleteNotebookCommand").f(void 0, void 0).ser(se_DeleteNotebookCommand).de(de_DeleteNotebookCommand).build() { static { __name(this, "DeleteNotebookCommand"); }}; // src/commands/DeletePreparedStatementCommand.ts var DeletePreparedStatementCommand = 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("AmazonAthena", "DeletePreparedStatement", {}).n("AthenaClient", "DeletePreparedStatementCommand").f(void 0, void 0).ser(se_DeletePreparedStatementCommand).de(de_DeletePreparedStatementCommand).build() { static { __name(this, "DeletePreparedStatementCommand"); }}; // src/commands/DeleteWorkGroupCommand.ts var DeleteWorkGroupCommand = 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("AmazonAthena", "DeleteWorkGroup", {}).n("AthenaClient", "DeleteWorkGroupCommand").f(void 0, void 0).ser(se_DeleteWorkGroupCommand).de(de_DeleteWorkGroupCommand).build() { static { __name(this, "DeleteWorkGroupCommand"); }}; // src/commands/ExportNotebookCommand.ts var ExportNotebookCommand = 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("AmazonAthena", "ExportNotebook", {}).n("AthenaClient", "ExportNotebookCommand").f(void 0, void 0).ser(se_ExportNotebookCommand).de(de_ExportNotebookCommand).build() { static { __name(this, "ExportNotebookCommand"); }}; // src/commands/GetCalculationExecutionCodeCommand.ts var GetCalculationExecutionCodeCommand = 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("AmazonAthena", "GetCalculationExecutionCode", {}).n("AthenaClient", "GetCalculationExecutionCodeCommand").f(void 0, void 0).ser(se_GetCalculationExecutionCodeCommand).de(de_GetCalculationExecutionCodeCommand).build() { static { __name(this, "GetCalculationExecutionCodeCommand"); }}; // src/commands/GetCalculationExecutionCommand.ts var GetCalculationExecutionCommand = 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("AmazonAthena", "GetCalculationExecution", {}).n("AthenaClient", "GetCalculationExecutionCommand").f(void 0, void 0).ser(se_GetCalculationExecutionCommand).de(de_GetCalculationExecutionCommand).build() { static { __name(this, "GetCalculationExecutionCommand"); }}; // src/commands/GetCalculationExecutionStatusCommand.ts var GetCalculationExecutionStatusCommand = 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("AmazonAthena", "GetCalculationExecutionStatus", {}).n("AthenaClient", "GetCalculationExecutionStatusCommand").f(void 0, void 0).ser(se_GetCalculationExecutionStatusCommand).de(de_GetCalculationExecutionStatusCommand).build() { static { __name(this, "GetCalculationExecutionStatusCommand"); }}; // src/commands/GetCapacityAssignmentConfigurationCommand.ts var GetCapacityAssignmentConfigurationCommand = 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("AmazonAthena", "GetCapacityAssignmentConfiguration", {}).n("AthenaClient", "GetCapacityAssignmentConfigurationCommand").f(void 0, void 0).ser(se_GetCapacityAssignmentConfigurationCommand).de(de_GetCapacityAssignmentConfigurationCommand).build() { static { __name(this, "GetCapacityAssignmentConfigurationCommand"); }}; // src/commands/GetCapacityReservationCommand.ts var GetCapacityReservationCommand = 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("AmazonAthena", "GetCapacityReservation", {}).n("AthenaClient", "GetCapacityReservationCommand").f(void 0, void 0).ser(se_GetCapacityReservationCommand).de(de_GetCapacityReservationCommand).build() { static { __name(this, "GetCapacityReservationCommand"); }}; // src/commands/GetDatabaseCommand.ts var GetDatabaseCommand = 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("AmazonAthena", "GetDatabase", {}).n("AthenaClient", "GetDatabaseCommand").f(void 0, void 0).ser(se_GetDatabaseCommand).de(de_GetDatabaseCommand).build() { static { __name(this, "GetDatabaseCommand"); }}; // src/commands/GetDataCatalogCommand.ts var GetDataCatalogCommand = 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("AmazonAthena", "GetDataCatalog", {}).n("AthenaClient", "GetDataCatalogCommand").f(void 0, void 0).ser(se_GetDataCatalogCommand).de(de_GetDataCatalogCommand).build() { static { __name(this, "GetDataCatalogCommand"); }}; // src/commands/GetNamedQueryCommand.ts var GetNamedQueryCommand = 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("AmazonAthena", "GetNamedQuery", {}).n("AthenaClient", "GetNamedQueryCommand").f(void 0, void 0).ser(se_GetNamedQueryCommand).de(de_GetNamedQueryCommand).build() { static { __name(this, "GetNamedQueryCommand"); }}; // src/commands/GetNotebookMetadataCommand.ts var GetNotebookMetadataCommand = 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("AmazonAthena", "GetNotebookMetadata", {}).n("AthenaClient", "GetNotebookMetadataCommand").f(void 0, void 0).ser(se_GetNotebookMetadataCommand).de(de_GetNotebookMetadataCommand).build() { static { __name(this, "GetNotebookMetadataCommand"); }}; // src/commands/GetPreparedStatementCommand.ts var GetPreparedStatementCommand = 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("AmazonAthena", "GetPreparedStatement", {}).n("AthenaClient", "GetPreparedStatementCommand").f(void 0, void 0).ser(se_GetPreparedStatementCommand).de(de_GetPreparedStatementCommand).build() { static { __name(this, "GetPreparedStatementCommand"); }}; // src/commands/GetQueryExecutionCommand.ts var GetQueryExecutionCommand = 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("AmazonAthena", "GetQueryExecution", {}).n("AthenaClient", "GetQueryExecutionCommand").f(void 0, void 0).ser(se_GetQueryExecutionCommand).de(de_GetQueryExecutionCommand).build() { static { __name(this, "GetQueryExecutionCommand"); }}; // src/commands/GetQueryResultsCommand.ts var GetQueryResultsCommand = 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("AmazonAthena", "GetQueryResults", {}).n("AthenaClient", "GetQueryResultsCommand").f(void 0, void 0).ser(se_GetQueryResultsCommand).de(de_GetQueryResultsCommand).build() { static { __name(this, "GetQueryResultsCommand"); }}; // src/commands/GetQueryRuntimeStatisticsCommand.ts var GetQueryRuntimeStatisticsCommand = 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("AmazonAthena", "GetQueryRuntimeStatistics", {}).n("AthenaClient", "GetQueryRuntimeStatisticsCommand").f(void 0, void 0).ser(se_GetQueryRuntimeStatisticsCommand).de(de_GetQueryRuntimeStatisticsCommand).build() { static { __name(this, "GetQueryRuntimeStatisticsCommand"); }}; // src/commands/GetSessionCommand.ts var GetSessionCommand = 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("AmazonAthena", "GetSession", {}).n("AthenaClient", "GetSessionCommand").f(void 0, void 0).ser(se_GetSessionCommand).de(de_GetSessionCommand).build() { static { __name(this, "GetSessionCommand"); }}; // src/commands/GetSessionStatusCommand.ts var GetSessionStatusCommand = 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("AmazonAthena", "GetSessionStatus", {}).n("AthenaClient", "GetSessionStatusCommand").f(void 0, void 0).ser(se_GetSessionStatusCommand).de(de_GetSessionStatusCommand).build() { static { __name(this, "GetSessionStatusCommand"); }}; // src/commands/GetTableMetadataCommand.ts var GetTableMetadataCommand = 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("AmazonAthena", "GetTableMetadata", {}).n("AthenaClient", "GetTableMetadataCommand").f(void 0, void 0).ser(se_GetTableMetadataCommand).de(de_GetTableMetadataCommand).build() { static { __name(this, "GetTableMetadataCommand"); }}; // src/commands/GetWorkGroupCommand.ts var GetWorkGroupCommand = 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("AmazonAthena", "GetWorkGroup", {}).n("AthenaClient", "GetWorkGroupCommand").f(void 0, void 0).ser(se_GetWorkGroupCommand).de(de_GetWorkGroupCommand).build() { static { __name(this, "GetWorkGroupCommand"); }}; // src/commands/ImportNotebookCommand.ts var ImportNotebookCommand = 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("AmazonAthena", "ImportNotebook", {}).n("AthenaClient", "ImportNotebookCommand").f(void 0, void 0).ser(se_ImportNotebookCommand).de(de_ImportNotebookCommand).build() { static { __name(this, "ImportNotebookCommand"); }}; // src/commands/ListApplicationDPUSizesCommand.ts var ListApplicationDPUSizesCommand = 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("AmazonAthena", "ListApplicationDPUSizes", {}).n("AthenaClient", "ListApplicationDPUSizesCommand").f(void 0, void 0).ser(se_ListApplicationDPUSizesCommand).de(de_ListApplicationDPUSizesCommand).build() { static { __name(this, "ListApplicationDPUSizesCommand"); }}; // src/commands/ListCalculationExecutionsCommand.ts var ListCalculationExecutionsCommand = 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("AmazonAthena", "ListCalculationExecutions", {}).n("AthenaClient", "ListCalculationExecutionsCommand").f(void 0, void 0).ser(se_ListCalculationExecutionsCommand).de(de_ListCalculationExecutionsCommand).build() { static { __name(this, "ListCalculationExecutionsCommand"); }}; // src/commands/ListCapacityReservationsCommand.ts var ListCapacityReservationsCommand = 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("AmazonAthena", "ListCapacityReservations", {}).n("AthenaClient", "ListCapacityReservationsCommand").f(void 0, void 0).ser(se_ListCapacityReservationsCommand).de(de_ListCapacityReservationsCommand).build() { static { __name(this, "ListCapacityReservationsCommand"); }}; // src/commands/ListDatabasesCommand.ts var ListDatabasesCommand = 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("AmazonAthena", "ListDatabases", {}).n("AthenaClient", "ListDatabasesCommand").f(void 0, void 0).ser(se_ListDatabasesCommand).de(de_ListDatabasesCommand).build() { static { __name(this, "ListDatabasesCommand"); }}; // src/commands/ListDataCatalogsCommand.ts var ListDataCatalogsCommand = 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("AmazonAthena", "ListDataCatalogs", {}).n("AthenaClient", "ListDataCatalogsCommand").f(void 0, void 0).ser(se_ListDataCatalogsCommand).de(de_ListDataCatalogsCommand).build() { static { __name(this, "ListDataCatalogsCommand"); }}; // src/commands/ListEngineVersionsCommand.ts var ListEngineVersionsCommand = 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("AmazonAthena", "ListEngineVersions", {}).n("AthenaClient", "ListEngineVersionsCommand").f(void 0, void 0).ser(se_ListEngineVersionsCommand).de(de_ListEngineVersionsCommand).build() { static { __name(this, "ListEngineVersionsCommand"); }}; // src/commands/ListExecutorsCommand.ts var ListExecutorsCommand = 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("AmazonAthena", "ListExecutors", {}).n("AthenaClient", "ListExecutorsCommand").f(void 0, void 0).ser(se_ListExecutorsCommand).de(de_ListExecutorsCommand).build() { static { __name(this, "ListExecutorsCommand"); }}; // src/commands/ListNamedQueriesCommand.ts var ListNamedQueriesCommand = 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("AmazonAthena", "ListNamedQueries", {}).n("AthenaClient", "ListNamedQueriesCommand").f(void 0, void 0).ser(se_ListNamedQueriesCommand).de(de_ListNamedQueriesCommand).build() { static { __name(this, "ListNamedQueriesCommand"); }}; // src/commands/ListNotebookMetadataCommand.ts var ListNotebookMetadataCommand = 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("AmazonAthena", "ListNotebookMetadata", {}).n("AthenaClient", "ListNotebookMetadataCommand").f(void 0, void 0).ser(se_ListNotebookMetadataCommand).de(de_ListNotebookMetadataCommand).build() { static { __name(this, "ListNotebookMetadataCommand"); }}; // src/commands/ListNotebookSessionsCommand.ts var ListNotebookSessionsCommand = 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("AmazonAthena", "ListNotebookSessions", {}).n("AthenaClient", "ListNotebookSessionsCommand").f(void 0, void 0).ser(se_ListNotebookSessionsCommand).de(de_ListNotebookSessionsCommand).build() { static { __name(this, "ListNotebookSessionsCommand"); }}; // src/commands/ListPreparedStatementsCommand.ts var ListPreparedStatementsCommand = 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("AmazonAthena", "ListPreparedStatements", {}).n("AthenaClient", "ListPreparedStatementsCommand").f(void 0, void 0).ser(se_ListPreparedStatementsCommand).de(de_ListPreparedStatementsCommand).build() { static { __name(this, "ListPreparedStatementsCommand"); }}; // src/commands/ListQueryExecutionsCommand.ts var ListQueryExecutionsCommand = 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("AmazonAthena", "ListQueryExecutions", {}).n("AthenaClient", "ListQueryExecutionsCommand").f(void 0, void 0).ser(se_ListQueryExecutionsCommand).de(de_ListQueryExecutionsCommand).build() { static { __name(this, "ListQueryExecutionsCommand"); }}; // src/commands/ListSessionsCommand.ts var ListSessionsCommand = 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("AmazonAthena", "ListSessions", {}).n("AthenaClient", "ListSessionsCommand").f(void 0, void 0).ser(se_ListSessionsCommand).de(de_ListSessionsCommand).build() { static { __name(this, "ListSessionsCommand"); }}; // src/commands/ListTableMetadataCommand.ts var ListTableMetadataCommand = 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("AmazonAthena", "ListTableMetadata", {}).n("AthenaClient", "ListTableMetadataCommand").f(void 0, void 0).ser(se_ListTableMetadataCommand).de(de_ListTableMetadataCommand).build() { static { __name(this, "ListTableMetadataCommand"); }}; // 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("AmazonAthena", "ListTagsForResource", {}).n("AthenaClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListWorkGroupsCommand.ts var ListWorkGroupsCommand = 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("AmazonAthena", "ListWorkGroups", {}).n("AthenaClient", "ListWorkGroupsCommand").f(void 0, void 0).ser(se_ListWorkGroupsCommand).de(de_ListWorkGroupsCommand).build() { static { __name(this, "ListWorkGroupsCommand"); }}; // src/commands/PutCapacityAssignmentConfigurationCommand.ts var PutCapacityAssignmentConfigurationCommand = 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("AmazonAthena", "PutCapacityAssignmentConfiguration", {}).n("AthenaClient", "PutCapacityAssignmentConfigurationCommand").f(void 0, void 0).ser(se_PutCapacityAssignmentConfigurationCommand).de(de_PutCapacityAssignmentConfigurationCommand).build() { static { __name(this, "PutCapacityAssignmentConfigurationCommand"); }}; // src/commands/StartCalculationExecutionCommand.ts var StartCalculationExecutionCommand = 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("AmazonAthena", "StartCalculationExecution", {}).n("AthenaClient", "StartCalculationExecutionCommand").f(void 0, void 0).ser(se_StartCalculationExecutionCommand).de(de_StartCalculationExecutionCommand).build() { static { __name(this, "StartCalculationExecutionCommand"); }}; // src/commands/StartQueryExecutionCommand.ts var StartQueryExecutionCommand = 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("AmazonAthena", "StartQueryExecution", {}).n("AthenaClient", "StartQueryExecutionCommand").f(void 0, void 0).ser(se_StartQueryExecutionCommand).de(de_StartQueryExecutionCommand).build() { static { __name(this, "StartQueryExecutionCommand"); }}; // src/commands/StartSessionCommand.ts var StartSessionCommand = 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("AmazonAthena", "StartSession", {}).n("AthenaClient", "StartSessionCommand").f(void 0, void 0).ser(se_StartSessionCommand).de(de_StartSessionCommand).build() { static { __name(this, "StartSessionCommand"); }}; // src/commands/StopCalculationExecutionCommand.ts var StopCalculationExecutionCommand = 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("AmazonAthena", "StopCalculationExecution", {}).n("AthenaClient", "StopCalculationExecutionCommand").f(void 0, void 0).ser(se_StopCalculationExecutionCommand).de(de_StopCalculationExecutionCommand).build() { static { __name(this, "StopCalculationExecutionCommand"); }}; // src/commands/StopQueryExecutionCommand.ts var StopQueryExecutionCommand = 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("AmazonAthena", "StopQueryExecution", {}).n("AthenaClient", "StopQueryExecutionCommand").f(void 0, void 0).ser(se_StopQueryExecutionCommand).de(de_StopQueryExecutionCommand).build() { static { __name(this, "StopQueryExecutionCommand"); }}; // 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("AmazonAthena", "TagResource", {}).n("AthenaClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/TerminateSessionCommand.ts var TerminateSessionCommand = 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("AmazonAthena", "TerminateSession", {}).n("AthenaClient", "TerminateSessionCommand").f(void 0, void 0).ser(se_TerminateSessionCommand).de(de_TerminateSessionCommand).build() { static { __name(this, "TerminateSessionCommand"); }}; // 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("AmazonAthena", "UntagResource", {}).n("AthenaClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateCapacityReservationCommand.ts var UpdateCapacityReservationCommand = 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("AmazonAthena", "UpdateCapacityReservation", {}).n("AthenaClient", "UpdateCapacityReservationCommand").f(void 0, void 0).ser(se_UpdateCapacityReservationCommand).de(de_UpdateCapacityReservationCommand).build() { static { __name(this, "UpdateCapacityReservationCommand"); }}; // src/commands/UpdateDataCatalogCommand.ts var UpdateDataCatalogCommand = 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("AmazonAthena", "UpdateDataCatalog", {}).n("AthenaClient", "UpdateDataCatalogCommand").f(void 0, void 0).ser(se_UpdateDataCatalogCommand).de(de_UpdateDataCatalogCommand).build() { static { __name(this, "UpdateDataCatalogCommand"); }}; // src/commands/UpdateNamedQueryCommand.ts var UpdateNamedQueryCommand = 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("AmazonAthena", "UpdateNamedQuery", {}).n("AthenaClient", "UpdateNamedQueryCommand").f(void 0, void 0).ser(se_UpdateNamedQueryCommand).de(de_UpdateNamedQueryCommand).build() { static { __name(this, "UpdateNamedQueryCommand"); }}; // src/commands/UpdateNotebookCommand.ts var UpdateNotebookCommand = 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("AmazonAthena", "UpdateNotebook", {}).n("AthenaClient", "UpdateNotebookCommand").f(void 0, void 0).ser(se_UpdateNotebookCommand).de(de_UpdateNotebookCommand).build() { static { __name(this, "UpdateNotebookCommand"); }}; // src/commands/UpdateNotebookMetadataCommand.ts var UpdateNotebookMetadataCommand = 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("AmazonAthena", "UpdateNotebookMetadata", {}).n("AthenaClient", "UpdateNotebookMetadataCommand").f(void 0, void 0).ser(se_UpdateNotebookMetadataCommand).de(de_UpdateNotebookMetadataCommand).build() { static { __name(this, "UpdateNotebookMetadataCommand"); }}; // src/commands/UpdatePreparedStatementCommand.ts var UpdatePreparedStatementCommand = 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("AmazonAthena", "UpdatePreparedStatement", {}).n("AthenaClient", "UpdatePreparedStatementCommand").f(void 0, void 0).ser(se_UpdatePreparedStatementCommand).de(de_UpdatePreparedStatementCommand).build() { static { __name(this, "UpdatePreparedStatementCommand"); }}; // src/commands/UpdateWorkGroupCommand.ts var UpdateWorkGroupCommand = 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("AmazonAthena", "UpdateWorkGroup", {}).n("AthenaClient", "UpdateWorkGroupCommand").f(void 0, void 0).ser(se_UpdateWorkGroupCommand).de(de_UpdateWorkGroupCommand).build() { static { __name(this, "UpdateWorkGroupCommand"); }}; // src/Athena.tsvar commands = { BatchGetNamedQueryCommand, BatchGetPreparedStatementCommand, BatchGetQueryExecutionCommand, CancelCapacityReservationCommand, CreateCapacityReservationCommand, CreateDataCatalogCommand, CreateNamedQueryCommand, CreateNotebookCommand, CreatePreparedStatementCommand, CreatePresignedNotebookUrlCommand, CreateWorkGroupCommand, DeleteCapacityReservationCommand, DeleteDataCatalogCommand, DeleteNamedQueryCommand, DeleteNotebookCommand, DeletePreparedStatementCommand, DeleteWorkGroupCommand, ExportNotebookCommand, GetCalculationExecutionCommand, GetCalculationExecutionCodeCommand, GetCalculationExecutionStatusCommand, GetCapacityAssignmentConfigurationCommand, GetCapacityReservationCommand, GetDatabaseCommand, GetDataCatalogCommand, GetNamedQueryCommand, GetNotebookMetadataCommand, GetPreparedStatementCommand, GetQueryExecutionCommand, GetQueryResultsCommand, GetQueryRuntimeStatisticsCommand, GetSessionCommand, GetSessionStatusCommand, GetTableMetadataCommand, GetWorkGroupCommand, ImportNotebookCommand, ListApplicationDPUSizesCommand, ListCalculationExecutionsCommand, ListCapacityReservationsCommand, ListDatabasesCommand, ListDataCatalogsCommand, ListEngineVersionsCommand, ListExecutorsCommand, ListNamedQueriesCommand, ListNotebookMetadataCommand, ListNotebookSessionsCommand, ListPreparedStatementsCommand, ListQueryExecutionsCommand, ListSessionsCommand, ListTableMetadataCommand, ListTagsForResourceCommand, ListWorkGroupsCommand, PutCapacityAssignmentConfigurationCommand, StartCalculationExecutionCommand, StartQueryExecutionCommand, StartSessionCommand, StopCalculationExecutionCommand, StopQueryExecutionCommand, TagResourceCommand, TerminateSessionCommand, UntagResourceCommand, UpdateCapacityReservationCommand, UpdateDataCatalogCommand, UpdateNamedQueryCommand, UpdateNotebookCommand, UpdateNotebookMetadataCommand, UpdatePreparedStatementCommand, UpdateWorkGroupCommand};var Athena = class extends AthenaClient { static { __name(this, "Athena"); }};(0, import_smithy_client.createAggregatedClient)(commands, Athena); // src/pagination/GetQueryResultsPaginator.ts var paginateGetQueryResults = (0, import_core.createPaginator)(AthenaClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListApplicationDPUSizesPaginator.ts var paginateListApplicationDPUSizes = (0, import_core.createPaginator)(AthenaClient, ListApplicationDPUSizesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCalculationExecutionsPaginator.ts var paginateListCalculationExecutions = (0, import_core.createPaginator)(AthenaClient, ListCalculationExecutionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCapacityReservationsPaginator.ts var paginateListCapacityReservations = (0, import_core.createPaginator)(AthenaClient, ListCapacityReservationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDataCatalogsPaginator.ts var paginateListDataCatalogs = (0, import_core.createPaginator)(AthenaClient, ListDataCatalogsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDatabasesPaginator.ts var paginateListDatabases = (0, import_core.createPaginator)(AthenaClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListEngineVersionsPaginator.ts var paginateListEngineVersions = (0, import_core.createPaginator)(AthenaClient, ListEngineVersionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListExecutorsPaginator.ts var paginateListExecutors = (0, import_core.createPaginator)(AthenaClient, ListExecutorsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListNamedQueriesPaginator.ts var paginateListNamedQueries = (0, import_core.createPaginator)(AthenaClient, ListNamedQueriesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPreparedStatementsPaginator.ts var paginateListPreparedStatements = (0, import_core.createPaginator)(AthenaClient, ListPreparedStatementsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListQueryExecutionsPaginator.ts var paginateListQueryExecutions = (0, import_core.createPaginator)(AthenaClient, ListQueryExecutionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListSessionsPaginator.ts var paginateListSessions = (0, import_core.createPaginator)(AthenaClient, ListSessionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTableMetadataPaginator.ts var paginateListTableMetadata = (0, import_core.createPaginator)(AthenaClient, ListTableMetadataCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(AthenaClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListWorkGroupsPaginator.ts var paginateListWorkGroups = (0, import_core.createPaginator)(AthenaClient, ListWorkGroupsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { AthenaServiceException, __Client, AthenaClient, Athena, $Command, BatchGetNamedQueryCommand, BatchGetPreparedStatementCommand, BatchGetQueryExecutionCommand, CancelCapacityReservationCommand, CreateCapacityReservationCommand, CreateDataCatalogCommand, CreateNamedQueryCommand, CreateNotebookCommand, CreatePreparedStatementCommand, CreatePresignedNotebookUrlCommand, CreateWorkGroupCommand, DeleteCapacityReservationCommand, DeleteDataCatalogCommand, DeleteNamedQueryCommand, DeleteNotebookCommand, DeletePreparedStatementCommand, DeleteWorkGroupCommand, ExportNotebookCommand, GetCalculationExecutionCodeCommand, GetCalculationExecutionCommand, GetCalculationExecutionStatusCommand, GetCapacityAssignmentConfigurationCommand, GetCapacityReservationCommand, GetDataCatalogCommand, GetDatabaseCommand, GetNamedQueryCommand, GetNotebookMetadataCommand, GetPreparedStatementCommand, GetQueryExecutionCommand, GetQueryResultsCommand, GetQueryRuntimeStatisticsCommand, GetSessionCommand, GetSessionStatusCommand, GetTableMetadataCommand, GetWorkGroupCommand, ImportNotebookCommand, ListApplicationDPUSizesCommand, ListCalculationExecutionsCommand, ListCapacityReservationsCommand, ListDataCatalogsCommand, ListDatabasesCommand, ListEngineVersionsCommand, ListExecutorsCommand, ListNamedQueriesCommand, ListNotebookMetadataCommand, ListNotebookSessionsCommand, ListPreparedStatementsCommand, ListQueryExecutionsCommand, ListSessionsCommand, ListTableMetadataCommand, ListTagsForResourceCommand, ListWorkGroupsCommand, PutCapacityAssignmentConfigurationCommand, StartCalculationExecutionCommand, StartQueryExecutionCommand, StartSessionCommand, StopCalculationExecutionCommand, StopQueryExecutionCommand, TagResourceCommand, TerminateSessionCommand, UntagResourceCommand, UpdateCapacityReservationCommand, UpdateDataCatalogCommand, UpdateNamedQueryCommand, UpdateNotebookCommand, UpdateNotebookMetadataCommand, UpdatePreparedStatementCommand, UpdateWorkGroupCommand, paginateGetQueryResults, paginateListApplicationDPUSizes, paginateListCalculationExecutions, paginateListCapacityReservations, paginateListDataCatalogs, paginateListDatabases, paginateListEngineVersions, paginateListExecutors, paginateListNamedQueries, paginateListPreparedStatements, paginateListQueryExecutions, paginateListSessions, paginateListTableMetadata, paginateListTagsForResource, paginateListWorkGroups, S3AclOption, InternalServerException, InvalidRequestException, AuthenticationType, EncryptionOption, StatementType, QueryExecutionState, DataCatalogType, ConnectionType, DataCatalogStatus, ThrottleReason, TooManyRequestsException, ResourceNotFoundException, NotebookType, CalculationExecutionState, CapacityAllocationStatus, CapacityReservationStatus, MetadataException, QueryResultType, ColumnNullable, SessionState, WorkGroupState, ExecutorState, ExecutorType, SessionAlreadyExistsException});