/proc/4/root/var/runtime/node_modules/@aws-sdk/client-appsync/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, { AccessDeniedException: () => AccessDeniedException, ApiCacheStatus: () => ApiCacheStatus, ApiCacheType: () => ApiCacheType, ApiCachingBehavior: () => ApiCachingBehavior, ApiKeyLimitExceededException: () => ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException: () => ApiKeyValidityOutOfBoundsException, ApiLimitExceededException: () => ApiLimitExceededException, AppSync: () => AppSync, AppSyncClient: () => AppSyncClient, AppSyncServiceException: () => AppSyncServiceException, AssociateApiCommand: () => AssociateApiCommand, AssociateMergedGraphqlApiCommand: () => AssociateMergedGraphqlApiCommand, AssociateSourceGraphqlApiCommand: () => AssociateSourceGraphqlApiCommand, AssociationStatus: () => AssociationStatus, AuthenticationType: () => AuthenticationType, AuthorizationType: () => AuthorizationType, BadRequestException: () => BadRequestException, BadRequestReason: () => BadRequestReason, CacheHealthMetricsConfig: () => CacheHealthMetricsConfig, ConcurrentModificationException: () => ConcurrentModificationException, ConflictDetectionType: () => ConflictDetectionType, ConflictException: () => ConflictException, ConflictHandlerType: () => ConflictHandlerType, CreateApiCacheCommand: () => CreateApiCacheCommand, CreateApiCommand: () => CreateApiCommand, CreateApiKeyCommand: () => CreateApiKeyCommand, CreateChannelNamespaceCommand: () => CreateChannelNamespaceCommand, CreateDataSourceCommand: () => CreateDataSourceCommand, CreateDomainNameCommand: () => CreateDomainNameCommand, CreateFunctionCommand: () => CreateFunctionCommand, CreateGraphqlApiCommand: () => CreateGraphqlApiCommand, CreateResolverCommand: () => CreateResolverCommand, CreateTypeCommand: () => CreateTypeCommand, DataSourceIntrospectionStatus: () => DataSourceIntrospectionStatus, DataSourceLevelMetricsBehavior: () => DataSourceLevelMetricsBehavior, DataSourceLevelMetricsConfig: () => DataSourceLevelMetricsConfig, DataSourceType: () => DataSourceType, DefaultAction: () => DefaultAction, DeleteApiCacheCommand: () => DeleteApiCacheCommand, DeleteApiCommand: () => DeleteApiCommand, DeleteApiKeyCommand: () => DeleteApiKeyCommand, DeleteChannelNamespaceCommand: () => DeleteChannelNamespaceCommand, DeleteDataSourceCommand: () => DeleteDataSourceCommand, DeleteDomainNameCommand: () => DeleteDomainNameCommand, DeleteFunctionCommand: () => DeleteFunctionCommand, DeleteGraphqlApiCommand: () => DeleteGraphqlApiCommand, DeleteResolverCommand: () => DeleteResolverCommand, DeleteTypeCommand: () => DeleteTypeCommand, DisassociateApiCommand: () => DisassociateApiCommand, DisassociateMergedGraphqlApiCommand: () => DisassociateMergedGraphqlApiCommand, DisassociateSourceGraphqlApiCommand: () => DisassociateSourceGraphqlApiCommand, EvaluateCodeCommand: () => EvaluateCodeCommand, EvaluateMappingTemplateCommand: () => EvaluateMappingTemplateCommand, EventLogLevel: () => EventLogLevel, FieldLogLevel: () => FieldLogLevel, FlushApiCacheCommand: () => FlushApiCacheCommand, GetApiAssociationCommand: () => GetApiAssociationCommand, GetApiCacheCommand: () => GetApiCacheCommand, GetApiCommand: () => GetApiCommand, GetChannelNamespaceCommand: () => GetChannelNamespaceCommand, GetDataSourceCommand: () => GetDataSourceCommand, GetDataSourceIntrospectionCommand: () => GetDataSourceIntrospectionCommand, GetDomainNameCommand: () => GetDomainNameCommand, GetFunctionCommand: () => GetFunctionCommand, GetGraphqlApiCommand: () => GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand: () => GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand: () => GetIntrospectionSchemaCommand, GetResolverCommand: () => GetResolverCommand, GetSchemaCreationStatusCommand: () => GetSchemaCreationStatusCommand, GetSourceApiAssociationCommand: () => GetSourceApiAssociationCommand, GetTypeCommand: () => GetTypeCommand, GraphQLApiIntrospectionConfig: () => GraphQLApiIntrospectionConfig, GraphQLApiType: () => GraphQLApiType, GraphQLApiVisibility: () => GraphQLApiVisibility, GraphQLSchemaException: () => GraphQLSchemaException, HandlerBehavior: () => HandlerBehavior, InternalFailureException: () => InternalFailureException, InvokeType: () => InvokeType, LimitExceededException: () => LimitExceededException, ListApiKeysCommand: () => ListApiKeysCommand, ListApisCommand: () => ListApisCommand, ListChannelNamespacesCommand: () => ListChannelNamespacesCommand, ListDataSourcesCommand: () => ListDataSourcesCommand, ListDomainNamesCommand: () => ListDomainNamesCommand, ListFunctionsCommand: () => ListFunctionsCommand, ListGraphqlApisCommand: () => ListGraphqlApisCommand, ListResolversByFunctionCommand: () => ListResolversByFunctionCommand, ListResolversCommand: () => ListResolversCommand, ListSourceApiAssociationsCommand: () => ListSourceApiAssociationsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTypesByAssociationCommand: () => ListTypesByAssociationCommand, ListTypesCommand: () => ListTypesCommand, MergeType: () => MergeType, NotFoundException: () => NotFoundException, OperationLevelMetricsConfig: () => OperationLevelMetricsConfig, OutputType: () => OutputType, Ownership: () => Ownership, PutGraphqlApiEnvironmentVariablesCommand: () => PutGraphqlApiEnvironmentVariablesCommand, RelationalDatabaseSourceType: () => RelationalDatabaseSourceType, ResolverKind: () => ResolverKind, ResolverLevelMetricsBehavior: () => ResolverLevelMetricsBehavior, ResolverLevelMetricsConfig: () => ResolverLevelMetricsConfig, RuntimeName: () => RuntimeName, SchemaStatus: () => SchemaStatus, ServiceQuotaExceededException: () => ServiceQuotaExceededException, SourceApiAssociationStatus: () => SourceApiAssociationStatus, StartDataSourceIntrospectionCommand: () => StartDataSourceIntrospectionCommand, StartSchemaCreationCommand: () => StartSchemaCreationCommand, StartSchemaMergeCommand: () => StartSchemaMergeCommand, TagResourceCommand: () => TagResourceCommand, TypeDefinitionFormat: () => TypeDefinitionFormat, UnauthorizedException: () => UnauthorizedException, UntagResourceCommand: () => UntagResourceCommand, UpdateApiCacheCommand: () => UpdateApiCacheCommand, UpdateApiCommand: () => UpdateApiCommand, UpdateApiKeyCommand: () => UpdateApiKeyCommand, UpdateChannelNamespaceCommand: () => UpdateChannelNamespaceCommand, UpdateDataSourceCommand: () => UpdateDataSourceCommand, UpdateDomainNameCommand: () => UpdateDomainNameCommand, UpdateFunctionCommand: () => UpdateFunctionCommand, UpdateGraphqlApiCommand: () => UpdateGraphqlApiCommand, UpdateResolverCommand: () => UpdateResolverCommand, UpdateSourceApiAssociationCommand: () => UpdateSourceApiAssociationCommand, UpdateTypeCommand: () => UpdateTypeCommand, __Client: () => import_smithy_client.Client, paginateListApiKeys: () => paginateListApiKeys, paginateListApis: () => paginateListApis, paginateListChannelNamespaces: () => paginateListChannelNamespaces, paginateListDataSources: () => paginateListDataSources, paginateListDomainNames: () => paginateListDomainNames, paginateListFunctions: () => paginateListFunctions, paginateListGraphqlApis: () => paginateListGraphqlApis, paginateListResolvers: () => paginateListResolvers, paginateListResolversByFunction: () => paginateListResolversByFunction, paginateListSourceApiAssociations: () => paginateListSourceApiAssociations, paginateListTypes: () => paginateListTypes, paginateListTypesByAssociation: () => paginateListTypesByAssociation});module.exports = __toCommonJS(index_exports); // src/AppSyncClient.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: "appsync" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/AppSyncClient.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/AppSyncClient.tsvar AppSyncClient = class extends import_smithy_client.Client { static { __name(this, "AppSyncClient"); } /** * The resolved configuration of AppSyncClient class. This is resolved and normalized from the {@link AppSyncClientConfig | 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.defaultAppSyncHttpAuthSchemeParametersProvider, 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/AppSync.ts // src/commands/AssociateApiCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/AppSyncServiceException.ts var AppSyncServiceException = class _AppSyncServiceException extends import_smithy_client.ServiceException { static { __name(this, "AppSyncServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _AppSyncServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends AppSyncServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); }};var AuthenticationType = { AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS", API_KEY: "API_KEY", AWS_IAM: "AWS_IAM", AWS_LAMBDA: "AWS_LAMBDA", OPENID_CONNECT: "OPENID_CONNECT"};var EventLogLevel = { ALL: "ALL", DEBUG: "DEBUG", ERROR: "ERROR", INFO: "INFO", NONE: "NONE"};var AssociationStatus = { Failed: "FAILED", Processing: "PROCESSING", Success: "SUCCESS"};var ApiCachingBehavior = { FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING", OPERATION_LEVEL_CACHING: "OPERATION_LEVEL_CACHING", PER_RESOLVER_CACHING: "PER_RESOLVER_CACHING"};var CacheHealthMetricsConfig = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var ApiCacheStatus = { AVAILABLE: "AVAILABLE", CREATING: "CREATING", DELETING: "DELETING", FAILED: "FAILED", MODIFYING: "MODIFYING"};var ApiCacheType = { LARGE: "LARGE", LARGE_12X: "LARGE_12X", LARGE_2X: "LARGE_2X", LARGE_4X: "LARGE_4X", LARGE_8X: "LARGE_8X", MEDIUM: "MEDIUM", R4_2XLARGE: "R4_2XLARGE", R4_4XLARGE: "R4_4XLARGE", R4_8XLARGE: "R4_8XLARGE", R4_LARGE: "R4_LARGE", R4_XLARGE: "R4_XLARGE", SMALL: "SMALL", T2_MEDIUM: "T2_MEDIUM", T2_SMALL: "T2_SMALL", XLARGE: "XLARGE"};var ApiKeyLimitExceededException = class _ApiKeyLimitExceededException extends AppSyncServiceException { static { __name(this, "ApiKeyLimitExceededException"); } name = "ApiKeyLimitExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ApiKeyLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ApiKeyLimitExceededException.prototype); }};var ApiKeyValidityOutOfBoundsException = class _ApiKeyValidityOutOfBoundsException extends AppSyncServiceException { static { __name(this, "ApiKeyValidityOutOfBoundsException"); } name = "ApiKeyValidityOutOfBoundsException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ApiKeyValidityOutOfBoundsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ApiKeyValidityOutOfBoundsException.prototype); }};var ApiLimitExceededException = class _ApiLimitExceededException extends AppSyncServiceException { static { __name(this, "ApiLimitExceededException"); } name = "ApiLimitExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ApiLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ApiLimitExceededException.prototype); }};var RuntimeName = { APPSYNC_JS: "APPSYNC_JS"};var BadRequestReason = { CODE_ERROR: "CODE_ERROR"};var BadRequestException = class _BadRequestException extends AppSyncServiceException { static { __name(this, "BadRequestException"); } name = "BadRequestException"; $fault = "client"; /** * <p>Provides context for the cause of the bad request. The only supported value is * <code>CODE_ERROR</code>.</p> * @public */ reason; /** * <p>Provides further details for the reason behind the bad request. For reason type * <code>CODE_ERROR</code>, the detail will contain a list of code errors.</p> * @public */ detail; /** * @internal */ constructor(opts) { super({ name: "BadRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _BadRequestException.prototype); this.reason = opts.reason; this.detail = opts.detail; }};var InternalFailureException = class _InternalFailureException extends AppSyncServiceException { static { __name(this, "InternalFailureException"); } name = "InternalFailureException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalFailureException.prototype); }};var NotFoundException = class _NotFoundException extends AppSyncServiceException { static { __name(this, "NotFoundException"); } name = "NotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "NotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotFoundException.prototype); }};var MergeType = { AUTO_MERGE: "AUTO_MERGE", MANUAL_MERGE: "MANUAL_MERGE"};var SourceApiAssociationStatus = { AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED", DELETION_FAILED: "DELETION_FAILED", DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS", DELETION_SCHEDULED: "DELETION_SCHEDULED", MERGE_FAILED: "MERGE_FAILED", MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS", MERGE_SCHEDULED: "MERGE_SCHEDULED", MERGE_SUCCESS: "MERGE_SUCCESS"};var ConcurrentModificationException = class _ConcurrentModificationException extends AppSyncServiceException { static { __name(this, "ConcurrentModificationException"); } name = "ConcurrentModificationException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ConcurrentModificationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConcurrentModificationException.prototype); }};var LimitExceededException = class _LimitExceededException extends AppSyncServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); }};var UnauthorizedException = class _UnauthorizedException extends AppSyncServiceException { static { __name(this, "UnauthorizedException"); } name = "UnauthorizedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "UnauthorizedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _UnauthorizedException.prototype); }};var AuthorizationType = { AWS_IAM: "AWS_IAM"};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AppSyncServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); }};var ConflictException = class _ConflictException extends AppSyncServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); }};var HandlerBehavior = { CODE: "CODE", DIRECT: "DIRECT"};var InvokeType = { EVENT: "EVENT", REQUEST_RESPONSE: "REQUEST_RESPONSE"};var DataSourceLevelMetricsConfig = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var RelationalDatabaseSourceType = { RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT"};var DataSourceType = { AMAZON_BEDROCK_RUNTIME: "AMAZON_BEDROCK_RUNTIME", AMAZON_DYNAMODB: "AMAZON_DYNAMODB", AMAZON_ELASTICSEARCH: "AMAZON_ELASTICSEARCH", AMAZON_EVENTBRIDGE: "AMAZON_EVENTBRIDGE", AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE", AWS_LAMBDA: "AWS_LAMBDA", HTTP: "HTTP", NONE: "NONE", RELATIONAL_DATABASE: "RELATIONAL_DATABASE"};var ConflictDetectionType = { NONE: "NONE", VERSION: "VERSION"};var ConflictHandlerType = { AUTOMERGE: "AUTOMERGE", LAMBDA: "LAMBDA", NONE: "NONE", OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY"};var GraphQLApiType = { GRAPHQL: "GRAPHQL", MERGED: "MERGED"};var DataSourceLevelMetricsBehavior = { FULL_REQUEST_DATA_SOURCE_METRICS: "FULL_REQUEST_DATA_SOURCE_METRICS", PER_DATA_SOURCE_METRICS: "PER_DATA_SOURCE_METRICS"};var OperationLevelMetricsConfig = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var ResolverLevelMetricsBehavior = { FULL_REQUEST_RESOLVER_METRICS: "FULL_REQUEST_RESOLVER_METRICS", PER_RESOLVER_METRICS: "PER_RESOLVER_METRICS"};var GraphQLApiIntrospectionConfig = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var FieldLogLevel = { ALL: "ALL", DEBUG: "DEBUG", ERROR: "ERROR", INFO: "INFO", NONE: "NONE"};var DefaultAction = { ALLOW: "ALLOW", DENY: "DENY"};var GraphQLApiVisibility = { GLOBAL: "GLOBAL", PRIVATE: "PRIVATE"};var ResolverKind = { PIPELINE: "PIPELINE", UNIT: "UNIT"};var ResolverLevelMetricsConfig = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var TypeDefinitionFormat = { JSON: "JSON", SDL: "SDL"};var DataSourceIntrospectionStatus = { FAILED: "FAILED", PROCESSING: "PROCESSING", SUCCESS: "SUCCESS"};var OutputType = { JSON: "JSON", SDL: "SDL"};var GraphQLSchemaException = class _GraphQLSchemaException extends AppSyncServiceException { static { __name(this, "GraphQLSchemaException"); } name = "GraphQLSchemaException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "GraphQLSchemaException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _GraphQLSchemaException.prototype); }};var SchemaStatus = { Active: "ACTIVE", Deleting: "DELETING", Failed: "FAILED", NotApplicable: "NOT_APPLICABLE", Processing: "PROCESSING", Success: "SUCCESS"};var Ownership = { CURRENT_ACCOUNT: "CURRENT_ACCOUNT", OTHER_ACCOUNTS: "OTHER_ACCOUNTS"}; // src/protocols/Aws_restJson1.tsvar se_AssociateApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/domainnames/{domainName}/apiassociation"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { apiId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateApiCommand");var se_AssociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations"); b.p("sourceApiIdentifier", () => input.sourceApiIdentifier, "{sourceApiIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], mergedApiIdentifier: [], sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateMergedGraphqlApiCommand");var se_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations"); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig"), sourceApiIdentifier: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateSourceGraphqlApiCommand");var se_CreateApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v2/apis"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { eventConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventConfig"), name: [], ownerContact: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateApiCommand");var se_CreateApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/ApiCaches"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { apiCachingBehavior: [], atRestEncryptionEnabled: [], healthMetricsConfig: [], transitEncryptionEnabled: [], ttl: [], type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateApiCacheCommand");var se_CreateApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/apikeys"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], expires: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateApiKeyCommand");var se_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v2/apis/{apiId}/channelNamespaces"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { codeHandlers: [], handlerConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "handlerConfigs"), name: [], publishAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "publishAuthModes"), subscribeAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscribeAuthModes"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateChannelNamespaceCommand");var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/datasources"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], dynamodbConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dynamodbConfig"), elasticsearchConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "elasticsearchConfig"), eventBridgeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventBridgeConfig"), httpConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "httpConfig"), lambdaConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaConfig"), metricsConfig: [], name: [], openSearchServiceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openSearchServiceConfig"), relationalDatabaseConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relationalDatabaseConfig"), serviceRoleArn: [], type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateDataSourceCommand");var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/domainnames"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { certificateArn: [], description: [], domainName: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateDomainNameCommand");var se_CreateFunctionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/functions"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { code: [], dataSourceName: [], description: [], functionVersion: [], maxBatchSize: [], name: [], requestMappingTemplate: [], responseMappingTemplate: [], runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"), syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateFunctionCommand");var se_CreateGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { additionalAuthenticationProviders: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalAuthenticationProviders"), apiType: [], authenticationType: [], enhancedMetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "enhancedMetricsConfig"), introspectionConfig: [], lambdaAuthorizerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaAuthorizerConfig"), logConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "logConfig"), mergedApiExecutionRoleArn: [], name: [], openIDConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openIDConnectConfig"), ownerContact: [], queryDepthLimit: [], resolverCountLimit: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), userPoolConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "userPoolConfig"), visibility: [], xrayEnabled: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateGraphqlApiCommand");var se_CreateResolverCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { cachingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "cachingConfig"), code: [], dataSourceName: [], fieldName: [], kind: [], maxBatchSize: [], metricsConfig: [], pipelineConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "pipelineConfig"), requestMappingTemplate: [], responseMappingTemplate: [], runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"), syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateResolverCommand");var se_CreateTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/types"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { definition: [], format: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTypeCommand");var se_DeleteApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteApiCommand");var se_DeleteApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/ApiCaches"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteApiCacheCommand");var se_DeleteApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/apikeys/{id}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("id", () => input.id, "{id}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteApiKeyCommand");var se_DeleteChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis/{apiId}/channelNamespaces/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteChannelNamespaceCommand");var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/datasources/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteDataSourceCommand");var se_DeleteDomainNameCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/domainnames/{domainName}"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteDomainNameCommand");var se_DeleteFunctionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/functions/{functionId}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("functionId", () => input.functionId, "{functionId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteFunctionCommand");var se_DeleteGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteGraphqlApiCommand");var se_DeleteResolverCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); b.p("fieldName", () => input.fieldName, "{fieldName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteResolverCommand");var se_DeleteTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types/{typeName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteTypeCommand");var se_DisassociateApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/domainnames/{domainName}/apiassociation"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateApiCommand");var se_DisassociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}"); b.p("sourceApiIdentifier", () => input.sourceApiIdentifier, "{sourceApiIdentifier}", false); b.p("associationId", () => input.associationId, "{associationId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateMergedGraphqlApiCommand");var se_DisassociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); b.p("associationId", () => input.associationId, "{associationId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateSourceGraphqlApiCommand");var se_EvaluateCodeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/dataplane-evaluatecode"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { code: [], context: [], function: [], runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_EvaluateCodeCommand");var se_EvaluateMappingTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/dataplane-evaluatetemplate"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { context: [], template: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_EvaluateMappingTemplateCommand");var se_FlushApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/FlushCache"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_FlushApiCacheCommand");var se_GetApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetApiCommand");var se_GetApiAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/domainnames/{domainName}/apiassociation"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetApiAssociationCommand");var se_GetApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/ApiCaches"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetApiCacheCommand");var se_GetChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis/{apiId}/channelNamespaces/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetChannelNamespaceCommand");var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/datasources/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetDataSourceCommand");var se_GetDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/datasources/introspections/{introspectionId}"); b.p("introspectionId", () => input.introspectionId, "{introspectionId}", false); const query = (0, import_smithy_client.map)({ [_iMSDL]: [() => input.includeModelsSDL !== void 0, () => input[_iMSDL].toString()], [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetDataSourceIntrospectionCommand");var se_GetDomainNameCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/domainnames/{domainName}"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetDomainNameCommand");var se_GetFunctionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/functions/{functionId}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("functionId", () => input.functionId, "{functionId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetFunctionCommand");var se_GetGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetGraphqlApiCommand");var se_GetGraphqlApiEnvironmentVariablesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/environmentVariables"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetGraphqlApiEnvironmentVariablesCommand");var se_GetIntrospectionSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/schema"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_f]: [, (0, import_smithy_client.expectNonNull)(input[_f], `format`)], [_iD]: [() => input.includeDirectives !== void 0, () => input[_iD].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetIntrospectionSchemaCommand");var se_GetResolverCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); b.p("fieldName", () => input.fieldName, "{fieldName}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetResolverCommand");var se_GetSchemaCreationStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/schemacreation"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSchemaCreationStatusCommand");var se_GetSourceApiAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); b.p("associationId", () => input.associationId, "{associationId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSourceApiAssociationCommand");var se_GetTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types/{typeName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); const query = (0, import_smithy_client.map)({ [_f]: [, (0, import_smithy_client.expectNonNull)(input[_f], `format`)] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetTypeCommand");var se_ListApiKeysCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/apikeys"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListApiKeysCommand");var se_ListApisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListApisCommand");var se_ListChannelNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v2/apis/{apiId}/channelNamespaces"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListChannelNamespacesCommand");var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/datasources"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListDataSourcesCommand");var se_ListDomainNamesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/domainnames"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListDomainNamesCommand");var se_ListFunctionsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/functions"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListFunctionsCommand");var se_ListGraphqlApisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_aT]: [, input[_aT]], [_o]: [, input[_o]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListGraphqlApisCommand");var se_ListResolversCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListResolversCommand");var se_ListResolversByFunctionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/functions/{functionId}/resolvers"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("functionId", () => input.functionId, "{functionId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListResolversByFunctionCommand");var se_ListSourceApiAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/sourceApiAssociations"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSourceApiAssociationsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_ListTypesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/apis/{apiId}/types"); b.p("apiId", () => input.apiId, "{apiId}", false); const query = (0, import_smithy_client.map)({ [_f]: [, (0, import_smithy_client.expectNonNull)(input[_f], `format`)], [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTypesCommand");var se_ListTypesByAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types"); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); b.p("associationId", () => input.associationId, "{associationId}", false); const query = (0, import_smithy_client.map)({ [_f]: [, (0, import_smithy_client.expectNonNull)(input[_f], `format`)], [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTypesByAssociationCommand");var se_PutGraphqlApiEnvironmentVariablesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/environmentVariables"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutGraphqlApiEnvironmentVariablesCommand");var se_StartDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/datasources/introspections"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { rdsDataApiConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "rdsDataApiConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartDataSourceIntrospectionCommand");var se_StartSchemaCreationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/schemacreation"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { definition: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "definition") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartSchemaCreationCommand");var se_StartSchemaMergeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge"); b.p("associationId", () => input.associationId, "{associationId}", false); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_StartSchemaMergeCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v2/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { eventConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventConfig"), name: [], ownerContact: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateApiCommand");var se_UpdateApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/ApiCaches/update"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { apiCachingBehavior: [], healthMetricsConfig: [], ttl: [], type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateApiCacheCommand");var se_UpdateApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/apikeys/{id}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("id", () => input.id, "{id}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], expires: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateApiKeyCommand");var se_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v2/apis/{apiId}/channelNamespaces/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { codeHandlers: [], handlerConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "handlerConfigs"), publishAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "publishAuthModes"), subscribeAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscribeAuthModes") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateChannelNamespaceCommand");var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/datasources/{name}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("name", () => input.name, "{name}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], dynamodbConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dynamodbConfig"), elasticsearchConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "elasticsearchConfig"), eventBridgeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventBridgeConfig"), httpConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "httpConfig"), lambdaConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaConfig"), metricsConfig: [], openSearchServiceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openSearchServiceConfig"), relationalDatabaseConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relationalDatabaseConfig"), serviceRoleArn: [], type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateDataSourceCommand");var se_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/domainnames/{domainName}"); b.p("domainName", () => input.domainName, "{domainName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateDomainNameCommand");var se_UpdateFunctionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/functions/{functionId}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("functionId", () => input.functionId, "{functionId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { code: [], dataSourceName: [], description: [], functionVersion: [], maxBatchSize: [], name: [], requestMappingTemplate: [], responseMappingTemplate: [], runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"), syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateFunctionCommand");var se_UpdateGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}"); b.p("apiId", () => input.apiId, "{apiId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { additionalAuthenticationProviders: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalAuthenticationProviders"), authenticationType: [], enhancedMetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "enhancedMetricsConfig"), introspectionConfig: [], lambdaAuthorizerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaAuthorizerConfig"), logConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "logConfig"), mergedApiExecutionRoleArn: [], name: [], openIDConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openIDConnectConfig"), ownerContact: [], queryDepthLimit: [], resolverCountLimit: [], userPoolConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "userPoolConfig"), xrayEnabled: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateGraphqlApiCommand");var se_UpdateResolverCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); b.p("fieldName", () => input.fieldName, "{fieldName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { cachingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "cachingConfig"), code: [], dataSourceName: [], kind: [], maxBatchSize: [], metricsConfig: [], pipelineConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "pipelineConfig"), requestMappingTemplate: [], responseMappingTemplate: [], runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"), syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateResolverCommand");var se_UpdateSourceApiAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"); b.p("associationId", () => input.associationId, "{associationId}", false); b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateSourceApiAssociationCommand");var se_UpdateTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/v1/apis/{apiId}/types/{typeName}"); b.p("apiId", () => input.apiId, "{apiId}", false); b.p("typeName", () => input.typeName, "{typeName}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { definition: [], format: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateTypeCommand");var de_AssociateApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_AssociateApiCommand");var de_AssociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation") }); Object.assign(contents, doc); return contents;}, "de_AssociateMergedGraphqlApiCommand");var de_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation") }); Object.assign(contents, doc); return contents;}, "de_AssociateSourceGraphqlApiCommand");var de_CreateApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api") }); Object.assign(contents, doc); return contents;}, "de_CreateApiCommand");var de_CreateApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiCache: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateApiCacheCommand");var de_CreateApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiKey: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateApiKeyCommand");var de_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace") }); Object.assign(contents, doc); return contents;}, "de_CreateChannelNamespaceCommand");var de_CreateDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataSource: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateDataSourceCommand");var de_CreateDomainNameCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { domainNameConfig: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateDomainNameCommand");var de_CreateFunctionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { functionConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateFunctionCommand");var de_CreateGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { graphqlApi: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateGraphqlApiCommand");var de_CreateResolverCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { resolver: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateResolverCommand");var de_CreateTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { type: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateTypeCommand");var de_DeleteApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteApiCommand");var de_DeleteApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteApiCacheCommand");var de_DeleteApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteApiKeyCommand");var de_DeleteChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteChannelNamespaceCommand");var de_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteDataSourceCommand");var de_DeleteDomainNameCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteDomainNameCommand");var de_DeleteFunctionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteFunctionCommand");var de_DeleteGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteGraphqlApiCommand");var de_DeleteResolverCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteResolverCommand");var de_DeleteTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteTypeCommand");var de_DisassociateApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DisassociateApiCommand");var de_DisassociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociationStatus: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DisassociateMergedGraphqlApiCommand");var de_DisassociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociationStatus: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DisassociateSourceGraphqlApiCommand");var de_EvaluateCodeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { error: import_smithy_client._json, evaluationResult: import_smithy_client.expectString, logs: import_smithy_client._json, outErrors: import_smithy_client.expectString, stash: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_EvaluateCodeCommand");var de_EvaluateMappingTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { error: import_smithy_client._json, evaluationResult: import_smithy_client.expectString, logs: import_smithy_client._json, outErrors: import_smithy_client.expectString, stash: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_EvaluateMappingTemplateCommand");var de_FlushApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_FlushApiCacheCommand");var de_GetApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api") }); Object.assign(contents, doc); return contents;}, "de_GetApiCommand");var de_GetApiAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetApiAssociationCommand");var de_GetApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiCache: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetApiCacheCommand");var de_GetChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace") }); Object.assign(contents, doc); return contents;}, "de_GetChannelNamespaceCommand");var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataSource: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetDataSourceCommand");var de_GetDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { introspectionId: import_smithy_client.expectString, introspectionResult: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionResult(_, context), "introspectionResult"), introspectionStatus: import_smithy_client.expectString, introspectionStatusDetail: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetDataSourceIntrospectionCommand");var de_GetDomainNameCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { domainNameConfig: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetDomainNameCommand");var de_GetFunctionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { functionConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetFunctionCommand");var de_GetGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { graphqlApi: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetGraphqlApiCommand");var de_GetGraphqlApiEnvironmentVariablesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { environmentVariables: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetGraphqlApiEnvironmentVariablesCommand");var de_GetIntrospectionSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = await (0, import_smithy_client.collectBody)(output.body, context); contents.schema = data; return contents;}, "de_GetIntrospectionSchemaCommand");var de_GetResolverCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { resolver: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetResolverCommand");var de_GetSchemaCreationStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { details: import_smithy_client.expectString, status: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetSchemaCreationStatusCommand");var de_GetSourceApiAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation") }); Object.assign(contents, doc); return contents;}, "de_GetSourceApiAssociationCommand");var de_GetTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { type: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetTypeCommand");var de_ListApiKeysCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiKeys: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListApiKeysCommand");var de_ListApisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apis: /* @__PURE__ */ __name((_) => de_Apis(_, context), "apis"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListApisCommand");var de_ListChannelNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { channelNamespaces: /* @__PURE__ */ __name((_) => de_ChannelNamespaces(_, context), "channelNamespaces"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListChannelNamespacesCommand");var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataSources: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListDataSourcesCommand");var de_ListDomainNamesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { domainNameConfigs: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListDomainNamesCommand");var de_ListFunctionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { functions: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListFunctionsCommand");var de_ListGraphqlApisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { graphqlApis: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListGraphqlApisCommand");var de_ListResolversCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, resolvers: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListResolversCommand");var de_ListResolversByFunctionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, resolvers: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListResolversByFunctionCommand");var de_ListSourceApiAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, sourceApiAssociationSummaries: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListSourceApiAssociationsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, types: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTypesCommand");var de_ListTypesByAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, types: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTypesByAssociationCommand");var de_PutGraphqlApiEnvironmentVariablesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { environmentVariables: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_PutGraphqlApiEnvironmentVariablesCommand");var de_StartDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { introspectionId: import_smithy_client.expectString, introspectionStatus: import_smithy_client.expectString, introspectionStatusDetail: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartDataSourceIntrospectionCommand");var de_StartSchemaCreationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { status: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartSchemaCreationCommand");var de_StartSchemaMergeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociationStatus: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartSchemaMergeCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api") }); Object.assign(contents, doc); return contents;}, "de_UpdateApiCommand");var de_UpdateApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiCache: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateApiCacheCommand");var de_UpdateApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { apiKey: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateApiKeyCommand");var de_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace") }); Object.assign(contents, doc); return contents;}, "de_UpdateChannelNamespaceCommand");var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataSource: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateDataSourceCommand");var de_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { domainNameConfig: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateDomainNameCommand");var de_UpdateFunctionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { functionConfiguration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateFunctionCommand");var de_UpdateGraphqlApiCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { graphqlApi: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateGraphqlApiCommand");var de_UpdateResolverCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { resolver: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateResolverCommand");var de_UpdateSourceApiAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation") }); Object.assign(contents, doc); return contents;}, "de_UpdateSourceApiAssociationCommand");var de_UpdateTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { type: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateTypeCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.appsync#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "BadRequestException": case "com.amazonaws.appsync#BadRequestException": throw await de_BadRequestExceptionRes(parsedOutput, context); case "InternalFailureException": case "com.amazonaws.appsync#InternalFailureException": throw await de_InternalFailureExceptionRes(parsedOutput, context); case "NotFoundException": case "com.amazonaws.appsync#NotFoundException": throw await de_NotFoundExceptionRes(parsedOutput, context); case "ConcurrentModificationException": case "com.amazonaws.appsync#ConcurrentModificationException": throw await de_ConcurrentModificationExceptionRes(parsedOutput, context); case "LimitExceededException": case "com.amazonaws.appsync#LimitExceededException": throw await de_LimitExceededExceptionRes(parsedOutput, context); case "UnauthorizedException": case "com.amazonaws.appsync#UnauthorizedException": throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.appsync#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "ApiKeyLimitExceededException": case "com.amazonaws.appsync#ApiKeyLimitExceededException": throw await de_ApiKeyLimitExceededExceptionRes(parsedOutput, context); case "ApiKeyValidityOutOfBoundsException": case "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException": throw await de_ApiKeyValidityOutOfBoundsExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.appsync#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "ApiLimitExceededException": case "com.amazonaws.appsync#ApiLimitExceededException": throw await de_ApiLimitExceededExceptionRes(parsedOutput, context); case "GraphQLSchemaException": case "com.amazonaws.appsync#GraphQLSchemaException": throw await de_GraphQLSchemaExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(AppSyncServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ApiKeyLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ApiKeyLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ApiKeyLimitExceededExceptionRes");var de_ApiKeyValidityOutOfBoundsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ApiKeyValidityOutOfBoundsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ApiKeyValidityOutOfBoundsExceptionRes");var de_ApiLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ApiLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ApiLimitExceededExceptionRes");var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { detail: import_smithy_client._json, message: import_smithy_client.expectString, reason: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new BadRequestException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BadRequestExceptionRes");var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ConcurrentModificationException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConcurrentModificationExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_GraphQLSchemaExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new GraphQLSchemaException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_GraphQLSchemaExceptionRes");var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InternalFailureException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalFailureExceptionRes");var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new LimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LimitExceededExceptionRes");var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new NotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new UnauthorizedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UnauthorizedExceptionRes");var de_Api = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { apiArn: import_smithy_client.expectString, apiId: import_smithy_client.expectString, created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "created"), dns: import_smithy_client._json, eventConfig: import_smithy_client._json, name: import_smithy_client.expectString, ownerContact: import_smithy_client.expectString, tags: import_smithy_client._json, wafWebAclArn: import_smithy_client.expectString, xrayEnabled: import_smithy_client.expectBoolean });}, "de_Api");var de_Apis = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Api(entry, context); }); return retVal;}, "de_Apis");var de_ChannelNamespace = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { apiId: import_smithy_client.expectString, channelNamespaceArn: import_smithy_client.expectString, codeHandlers: import_smithy_client.expectString, created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "created"), handlerConfigs: import_smithy_client._json, lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModified"), name: import_smithy_client.expectString, publishAuthModes: import_smithy_client._json, subscribeAuthModes: import_smithy_client._json, tags: import_smithy_client._json });}, "de_ChannelNamespace");var de_ChannelNamespaces = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ChannelNamespace(entry, context); }); return retVal;}, "de_ChannelNamespaces");var de_DataSourceIntrospectionModel = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { fields: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFields(_, context), "fields"), indexes: import_smithy_client._json, name: import_smithy_client.expectString, primaryKey: import_smithy_client._json, sdl: import_smithy_client.expectString });}, "de_DataSourceIntrospectionModel");var de_DataSourceIntrospectionModelField = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { length: import_smithy_client.expectLong, name: import_smithy_client.expectString, type: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFieldType(_, context), "type") });}, "de_DataSourceIntrospectionModelField");var de_DataSourceIntrospectionModelFields = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_DataSourceIntrospectionModelField(entry, context); }); return retVal;}, "de_DataSourceIntrospectionModelFields");var de_DataSourceIntrospectionModelFieldType = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { kind: import_smithy_client.expectString, name: import_smithy_client.expectString, type: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFieldType(_, context), "type"), values: import_smithy_client._json });}, "de_DataSourceIntrospectionModelFieldType");var de_DataSourceIntrospectionModels = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_DataSourceIntrospectionModel(entry, context); }); return retVal;}, "de_DataSourceIntrospectionModels");var de_DataSourceIntrospectionResult = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { models: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModels(_, context), "models"), nextToken: import_smithy_client.expectString });}, "de_DataSourceIntrospectionResult");var de_SourceApiAssociation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { associationArn: import_smithy_client.expectString, associationId: import_smithy_client.expectString, description: import_smithy_client.expectString, lastSuccessfulMergeDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastSuccessfulMergeDate"), mergedApiArn: import_smithy_client.expectString, mergedApiId: import_smithy_client.expectString, sourceApiArn: import_smithy_client.expectString, sourceApiAssociationConfig: import_smithy_client._json, sourceApiAssociationStatus: import_smithy_client.expectString, sourceApiAssociationStatusDetail: import_smithy_client.expectString, sourceApiId: import_smithy_client.expectString });}, "de_SourceApiAssociation");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 _aT = "apiType";var _f = "format";var _iD = "includeDirectives";var _iMSDL = "includeModelsSDL";var _mR = "maxResults";var _nT = "nextToken";var _o = "owner";var _tK = "tagKeys"; // src/commands/AssociateApiCommand.tsvar AssociateApiCommand = 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("AWSDeepdishControlPlaneService", "AssociateApi", {}).n("AppSyncClient", "AssociateApiCommand").f(void 0, void 0).ser(se_AssociateApiCommand).de(de_AssociateApiCommand).build() { static { __name(this, "AssociateApiCommand"); }}; // src/commands/AssociateMergedGraphqlApiCommand.ts var AssociateMergedGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "AssociateMergedGraphqlApi", {}).n("AppSyncClient", "AssociateMergedGraphqlApiCommand").f(void 0, void 0).ser(se_AssociateMergedGraphqlApiCommand).de(de_AssociateMergedGraphqlApiCommand).build() { static { __name(this, "AssociateMergedGraphqlApiCommand"); }}; // src/commands/AssociateSourceGraphqlApiCommand.ts var AssociateSourceGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "AssociateSourceGraphqlApi", {}).n("AppSyncClient", "AssociateSourceGraphqlApiCommand").f(void 0, void 0).ser(se_AssociateSourceGraphqlApiCommand).de(de_AssociateSourceGraphqlApiCommand).build() { static { __name(this, "AssociateSourceGraphqlApiCommand"); }}; // src/commands/CreateApiCacheCommand.ts var CreateApiCacheCommand = 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("AWSDeepdishControlPlaneService", "CreateApiCache", {}).n("AppSyncClient", "CreateApiCacheCommand").f(void 0, void 0).ser(se_CreateApiCacheCommand).de(de_CreateApiCacheCommand).build() { static { __name(this, "CreateApiCacheCommand"); }}; // src/commands/CreateApiCommand.ts var CreateApiCommand = 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("AWSDeepdishControlPlaneService", "CreateApi", {}).n("AppSyncClient", "CreateApiCommand").f(void 0, void 0).ser(se_CreateApiCommand).de(de_CreateApiCommand).build() { static { __name(this, "CreateApiCommand"); }}; // src/commands/CreateApiKeyCommand.ts var CreateApiKeyCommand = 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("AWSDeepdishControlPlaneService", "CreateApiKey", {}).n("AppSyncClient", "CreateApiKeyCommand").f(void 0, void 0).ser(se_CreateApiKeyCommand).de(de_CreateApiKeyCommand).build() { static { __name(this, "CreateApiKeyCommand"); }}; // src/commands/CreateChannelNamespaceCommand.ts var CreateChannelNamespaceCommand = 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("AWSDeepdishControlPlaneService", "CreateChannelNamespace", {}).n("AppSyncClient", "CreateChannelNamespaceCommand").f(void 0, void 0).ser(se_CreateChannelNamespaceCommand).de(de_CreateChannelNamespaceCommand).build() { static { __name(this, "CreateChannelNamespaceCommand"); }}; // src/commands/CreateDataSourceCommand.ts var CreateDataSourceCommand = 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("AWSDeepdishControlPlaneService", "CreateDataSource", {}).n("AppSyncClient", "CreateDataSourceCommand").f(void 0, void 0).ser(se_CreateDataSourceCommand).de(de_CreateDataSourceCommand).build() { static { __name(this, "CreateDataSourceCommand"); }}; // src/commands/CreateDomainNameCommand.ts var CreateDomainNameCommand = 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("AWSDeepdishControlPlaneService", "CreateDomainName", {}).n("AppSyncClient", "CreateDomainNameCommand").f(void 0, void 0).ser(se_CreateDomainNameCommand).de(de_CreateDomainNameCommand).build() { static { __name(this, "CreateDomainNameCommand"); }}; // src/commands/CreateFunctionCommand.ts var CreateFunctionCommand = 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("AWSDeepdishControlPlaneService", "CreateFunction", {}).n("AppSyncClient", "CreateFunctionCommand").f(void 0, void 0).ser(se_CreateFunctionCommand).de(de_CreateFunctionCommand).build() { static { __name(this, "CreateFunctionCommand"); }}; // src/commands/CreateGraphqlApiCommand.ts var CreateGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "CreateGraphqlApi", {}).n("AppSyncClient", "CreateGraphqlApiCommand").f(void 0, void 0).ser(se_CreateGraphqlApiCommand).de(de_CreateGraphqlApiCommand).build() { static { __name(this, "CreateGraphqlApiCommand"); }}; // src/commands/CreateResolverCommand.ts var CreateResolverCommand = 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("AWSDeepdishControlPlaneService", "CreateResolver", {}).n("AppSyncClient", "CreateResolverCommand").f(void 0, void 0).ser(se_CreateResolverCommand).de(de_CreateResolverCommand).build() { static { __name(this, "CreateResolverCommand"); }}; // src/commands/CreateTypeCommand.ts var CreateTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSDeepdishControlPlaneService", "CreateType", {}).n("AppSyncClient", "CreateTypeCommand").f(void 0, void 0).ser(se_CreateTypeCommand).de(de_CreateTypeCommand).build() { static { __name(this, "CreateTypeCommand"); }}; // src/commands/DeleteApiCacheCommand.ts var DeleteApiCacheCommand = 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("AWSDeepdishControlPlaneService", "DeleteApiCache", {}).n("AppSyncClient", "DeleteApiCacheCommand").f(void 0, void 0).ser(se_DeleteApiCacheCommand).de(de_DeleteApiCacheCommand).build() { static { __name(this, "DeleteApiCacheCommand"); }}; // src/commands/DeleteApiCommand.ts var DeleteApiCommand = 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("AWSDeepdishControlPlaneService", "DeleteApi", {}).n("AppSyncClient", "DeleteApiCommand").f(void 0, void 0).ser(se_DeleteApiCommand).de(de_DeleteApiCommand).build() { static { __name(this, "DeleteApiCommand"); }}; // src/commands/DeleteApiKeyCommand.ts var DeleteApiKeyCommand = 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("AWSDeepdishControlPlaneService", "DeleteApiKey", {}).n("AppSyncClient", "DeleteApiKeyCommand").f(void 0, void 0).ser(se_DeleteApiKeyCommand).de(de_DeleteApiKeyCommand).build() { static { __name(this, "DeleteApiKeyCommand"); }}; // src/commands/DeleteChannelNamespaceCommand.ts var DeleteChannelNamespaceCommand = 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("AWSDeepdishControlPlaneService", "DeleteChannelNamespace", {}).n("AppSyncClient", "DeleteChannelNamespaceCommand").f(void 0, void 0).ser(se_DeleteChannelNamespaceCommand).de(de_DeleteChannelNamespaceCommand).build() { static { __name(this, "DeleteChannelNamespaceCommand"); }}; // src/commands/DeleteDataSourceCommand.ts var DeleteDataSourceCommand = 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("AWSDeepdishControlPlaneService", "DeleteDataSource", {}).n("AppSyncClient", "DeleteDataSourceCommand").f(void 0, void 0).ser(se_DeleteDataSourceCommand).de(de_DeleteDataSourceCommand).build() { static { __name(this, "DeleteDataSourceCommand"); }}; // src/commands/DeleteDomainNameCommand.ts var DeleteDomainNameCommand = 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("AWSDeepdishControlPlaneService", "DeleteDomainName", {}).n("AppSyncClient", "DeleteDomainNameCommand").f(void 0, void 0).ser(se_DeleteDomainNameCommand).de(de_DeleteDomainNameCommand).build() { static { __name(this, "DeleteDomainNameCommand"); }}; // src/commands/DeleteFunctionCommand.ts var DeleteFunctionCommand = 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("AWSDeepdishControlPlaneService", "DeleteFunction", {}).n("AppSyncClient", "DeleteFunctionCommand").f(void 0, void 0).ser(se_DeleteFunctionCommand).de(de_DeleteFunctionCommand).build() { static { __name(this, "DeleteFunctionCommand"); }}; // src/commands/DeleteGraphqlApiCommand.ts var DeleteGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "DeleteGraphqlApi", {}).n("AppSyncClient", "DeleteGraphqlApiCommand").f(void 0, void 0).ser(se_DeleteGraphqlApiCommand).de(de_DeleteGraphqlApiCommand).build() { static { __name(this, "DeleteGraphqlApiCommand"); }}; // src/commands/DeleteResolverCommand.ts var DeleteResolverCommand = 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("AWSDeepdishControlPlaneService", "DeleteResolver", {}).n("AppSyncClient", "DeleteResolverCommand").f(void 0, void 0).ser(se_DeleteResolverCommand).de(de_DeleteResolverCommand).build() { static { __name(this, "DeleteResolverCommand"); }}; // src/commands/DeleteTypeCommand.ts var DeleteTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSDeepdishControlPlaneService", "DeleteType", {}).n("AppSyncClient", "DeleteTypeCommand").f(void 0, void 0).ser(se_DeleteTypeCommand).de(de_DeleteTypeCommand).build() { static { __name(this, "DeleteTypeCommand"); }}; // src/commands/DisassociateApiCommand.ts var DisassociateApiCommand = 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("AWSDeepdishControlPlaneService", "DisassociateApi", {}).n("AppSyncClient", "DisassociateApiCommand").f(void 0, void 0).ser(se_DisassociateApiCommand).de(de_DisassociateApiCommand).build() { static { __name(this, "DisassociateApiCommand"); }}; // src/commands/DisassociateMergedGraphqlApiCommand.ts var DisassociateMergedGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "DisassociateMergedGraphqlApi", {}).n("AppSyncClient", "DisassociateMergedGraphqlApiCommand").f(void 0, void 0).ser(se_DisassociateMergedGraphqlApiCommand).de(de_DisassociateMergedGraphqlApiCommand).build() { static { __name(this, "DisassociateMergedGraphqlApiCommand"); }}; // src/commands/DisassociateSourceGraphqlApiCommand.ts var DisassociateSourceGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "DisassociateSourceGraphqlApi", {}).n("AppSyncClient", "DisassociateSourceGraphqlApiCommand").f(void 0, void 0).ser(se_DisassociateSourceGraphqlApiCommand).de(de_DisassociateSourceGraphqlApiCommand).build() { static { __name(this, "DisassociateSourceGraphqlApiCommand"); }}; // src/commands/EvaluateCodeCommand.ts var EvaluateCodeCommand = 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("AWSDeepdishControlPlaneService", "EvaluateCode", {}).n("AppSyncClient", "EvaluateCodeCommand").f(void 0, void 0).ser(se_EvaluateCodeCommand).de(de_EvaluateCodeCommand).build() { static { __name(this, "EvaluateCodeCommand"); }}; // src/commands/EvaluateMappingTemplateCommand.ts var EvaluateMappingTemplateCommand = 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("AWSDeepdishControlPlaneService", "EvaluateMappingTemplate", {}).n("AppSyncClient", "EvaluateMappingTemplateCommand").f(void 0, void 0).ser(se_EvaluateMappingTemplateCommand).de(de_EvaluateMappingTemplateCommand).build() { static { __name(this, "EvaluateMappingTemplateCommand"); }}; // src/commands/FlushApiCacheCommand.ts var FlushApiCacheCommand = 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("AWSDeepdishControlPlaneService", "FlushApiCache", {}).n("AppSyncClient", "FlushApiCacheCommand").f(void 0, void 0).ser(se_FlushApiCacheCommand).de(de_FlushApiCacheCommand).build() { static { __name(this, "FlushApiCacheCommand"); }}; // src/commands/GetApiAssociationCommand.ts var GetApiAssociationCommand = 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("AWSDeepdishControlPlaneService", "GetApiAssociation", {}).n("AppSyncClient", "GetApiAssociationCommand").f(void 0, void 0).ser(se_GetApiAssociationCommand).de(de_GetApiAssociationCommand).build() { static { __name(this, "GetApiAssociationCommand"); }}; // src/commands/GetApiCacheCommand.ts var GetApiCacheCommand = 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("AWSDeepdishControlPlaneService", "GetApiCache", {}).n("AppSyncClient", "GetApiCacheCommand").f(void 0, void 0).ser(se_GetApiCacheCommand).de(de_GetApiCacheCommand).build() { static { __name(this, "GetApiCacheCommand"); }}; // src/commands/GetApiCommand.ts var GetApiCommand = 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("AWSDeepdishControlPlaneService", "GetApi", {}).n("AppSyncClient", "GetApiCommand").f(void 0, void 0).ser(se_GetApiCommand).de(de_GetApiCommand).build() { static { __name(this, "GetApiCommand"); }}; // src/commands/GetChannelNamespaceCommand.ts var GetChannelNamespaceCommand = 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("AWSDeepdishControlPlaneService", "GetChannelNamespace", {}).n("AppSyncClient", "GetChannelNamespaceCommand").f(void 0, void 0).ser(se_GetChannelNamespaceCommand).de(de_GetChannelNamespaceCommand).build() { static { __name(this, "GetChannelNamespaceCommand"); }}; // src/commands/GetDataSourceCommand.ts var GetDataSourceCommand = 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("AWSDeepdishControlPlaneService", "GetDataSource", {}).n("AppSyncClient", "GetDataSourceCommand").f(void 0, void 0).ser(se_GetDataSourceCommand).de(de_GetDataSourceCommand).build() { static { __name(this, "GetDataSourceCommand"); }}; // src/commands/GetDataSourceIntrospectionCommand.ts var GetDataSourceIntrospectionCommand = 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("AWSDeepdishControlPlaneService", "GetDataSourceIntrospection", {}).n("AppSyncClient", "GetDataSourceIntrospectionCommand").f(void 0, void 0).ser(se_GetDataSourceIntrospectionCommand).de(de_GetDataSourceIntrospectionCommand).build() { static { __name(this, "GetDataSourceIntrospectionCommand"); }}; // src/commands/GetDomainNameCommand.ts var GetDomainNameCommand = 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("AWSDeepdishControlPlaneService", "GetDomainName", {}).n("AppSyncClient", "GetDomainNameCommand").f(void 0, void 0).ser(se_GetDomainNameCommand).de(de_GetDomainNameCommand).build() { static { __name(this, "GetDomainNameCommand"); }}; // src/commands/GetFunctionCommand.ts var GetFunctionCommand = 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("AWSDeepdishControlPlaneService", "GetFunction", {}).n("AppSyncClient", "GetFunctionCommand").f(void 0, void 0).ser(se_GetFunctionCommand).de(de_GetFunctionCommand).build() { static { __name(this, "GetFunctionCommand"); }}; // src/commands/GetGraphqlApiCommand.ts var GetGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "GetGraphqlApi", {}).n("AppSyncClient", "GetGraphqlApiCommand").f(void 0, void 0).ser(se_GetGraphqlApiCommand).de(de_GetGraphqlApiCommand).build() { static { __name(this, "GetGraphqlApiCommand"); }}; // src/commands/GetGraphqlApiEnvironmentVariablesCommand.ts var GetGraphqlApiEnvironmentVariablesCommand = 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("AWSDeepdishControlPlaneService", "GetGraphqlApiEnvironmentVariables", {}).n("AppSyncClient", "GetGraphqlApiEnvironmentVariablesCommand").f(void 0, void 0).ser(se_GetGraphqlApiEnvironmentVariablesCommand).de(de_GetGraphqlApiEnvironmentVariablesCommand).build() { static { __name(this, "GetGraphqlApiEnvironmentVariablesCommand"); }}; // src/commands/GetIntrospectionSchemaCommand.ts var GetIntrospectionSchemaCommand = 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("AWSDeepdishControlPlaneService", "GetIntrospectionSchema", {}).n("AppSyncClient", "GetIntrospectionSchemaCommand").f(void 0, void 0).ser(se_GetIntrospectionSchemaCommand).de(de_GetIntrospectionSchemaCommand).build() { static { __name(this, "GetIntrospectionSchemaCommand"); }}; // src/commands/GetResolverCommand.ts var GetResolverCommand = 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("AWSDeepdishControlPlaneService", "GetResolver", {}).n("AppSyncClient", "GetResolverCommand").f(void 0, void 0).ser(se_GetResolverCommand).de(de_GetResolverCommand).build() { static { __name(this, "GetResolverCommand"); }}; // src/commands/GetSchemaCreationStatusCommand.ts var GetSchemaCreationStatusCommand = 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("AWSDeepdishControlPlaneService", "GetSchemaCreationStatus", {}).n("AppSyncClient", "GetSchemaCreationStatusCommand").f(void 0, void 0).ser(se_GetSchemaCreationStatusCommand).de(de_GetSchemaCreationStatusCommand).build() { static { __name(this, "GetSchemaCreationStatusCommand"); }}; // src/commands/GetSourceApiAssociationCommand.ts var GetSourceApiAssociationCommand = 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("AWSDeepdishControlPlaneService", "GetSourceApiAssociation", {}).n("AppSyncClient", "GetSourceApiAssociationCommand").f(void 0, void 0).ser(se_GetSourceApiAssociationCommand).de(de_GetSourceApiAssociationCommand).build() { static { __name(this, "GetSourceApiAssociationCommand"); }}; // src/commands/GetTypeCommand.ts var GetTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSDeepdishControlPlaneService", "GetType", {}).n("AppSyncClient", "GetTypeCommand").f(void 0, void 0).ser(se_GetTypeCommand).de(de_GetTypeCommand).build() { static { __name(this, "GetTypeCommand"); }}; // src/commands/ListApiKeysCommand.ts var ListApiKeysCommand = 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("AWSDeepdishControlPlaneService", "ListApiKeys", {}).n("AppSyncClient", "ListApiKeysCommand").f(void 0, void 0).ser(se_ListApiKeysCommand).de(de_ListApiKeysCommand).build() { static { __name(this, "ListApiKeysCommand"); }}; // src/commands/ListApisCommand.ts var ListApisCommand = 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("AWSDeepdishControlPlaneService", "ListApis", {}).n("AppSyncClient", "ListApisCommand").f(void 0, void 0).ser(se_ListApisCommand).de(de_ListApisCommand).build() { static { __name(this, "ListApisCommand"); }}; // src/commands/ListChannelNamespacesCommand.ts var ListChannelNamespacesCommand = 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("AWSDeepdishControlPlaneService", "ListChannelNamespaces", {}).n("AppSyncClient", "ListChannelNamespacesCommand").f(void 0, void 0).ser(se_ListChannelNamespacesCommand).de(de_ListChannelNamespacesCommand).build() { static { __name(this, "ListChannelNamespacesCommand"); }}; // src/commands/ListDataSourcesCommand.ts var ListDataSourcesCommand = 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("AWSDeepdishControlPlaneService", "ListDataSources", {}).n("AppSyncClient", "ListDataSourcesCommand").f(void 0, void 0).ser(se_ListDataSourcesCommand).de(de_ListDataSourcesCommand).build() { static { __name(this, "ListDataSourcesCommand"); }}; // src/commands/ListDomainNamesCommand.ts var ListDomainNamesCommand = 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("AWSDeepdishControlPlaneService", "ListDomainNames", {}).n("AppSyncClient", "ListDomainNamesCommand").f(void 0, void 0).ser(se_ListDomainNamesCommand).de(de_ListDomainNamesCommand).build() { static { __name(this, "ListDomainNamesCommand"); }}; // src/commands/ListFunctionsCommand.ts var ListFunctionsCommand = 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("AWSDeepdishControlPlaneService", "ListFunctions", {}).n("AppSyncClient", "ListFunctionsCommand").f(void 0, void 0).ser(se_ListFunctionsCommand).de(de_ListFunctionsCommand).build() { static { __name(this, "ListFunctionsCommand"); }}; // src/commands/ListGraphqlApisCommand.ts var ListGraphqlApisCommand = 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("AWSDeepdishControlPlaneService", "ListGraphqlApis", {}).n("AppSyncClient", "ListGraphqlApisCommand").f(void 0, void 0).ser(se_ListGraphqlApisCommand).de(de_ListGraphqlApisCommand).build() { static { __name(this, "ListGraphqlApisCommand"); }}; // src/commands/ListResolversByFunctionCommand.ts var ListResolversByFunctionCommand = 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("AWSDeepdishControlPlaneService", "ListResolversByFunction", {}).n("AppSyncClient", "ListResolversByFunctionCommand").f(void 0, void 0).ser(se_ListResolversByFunctionCommand).de(de_ListResolversByFunctionCommand).build() { static { __name(this, "ListResolversByFunctionCommand"); }}; // src/commands/ListResolversCommand.ts var ListResolversCommand = 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("AWSDeepdishControlPlaneService", "ListResolvers", {}).n("AppSyncClient", "ListResolversCommand").f(void 0, void 0).ser(se_ListResolversCommand).de(de_ListResolversCommand).build() { static { __name(this, "ListResolversCommand"); }}; // src/commands/ListSourceApiAssociationsCommand.ts var ListSourceApiAssociationsCommand = 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("AWSDeepdishControlPlaneService", "ListSourceApiAssociations", {}).n("AppSyncClient", "ListSourceApiAssociationsCommand").f(void 0, void 0).ser(se_ListSourceApiAssociationsCommand).de(de_ListSourceApiAssociationsCommand).build() { static { __name(this, "ListSourceApiAssociationsCommand"); }}; // 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("AWSDeepdishControlPlaneService", "ListTagsForResource", {}).n("AppSyncClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListTypesByAssociationCommand.ts var ListTypesByAssociationCommand = 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("AWSDeepdishControlPlaneService", "ListTypesByAssociation", {}).n("AppSyncClient", "ListTypesByAssociationCommand").f(void 0, void 0).ser(se_ListTypesByAssociationCommand).de(de_ListTypesByAssociationCommand).build() { static { __name(this, "ListTypesByAssociationCommand"); }}; // src/commands/ListTypesCommand.ts var ListTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSDeepdishControlPlaneService", "ListTypes", {}).n("AppSyncClient", "ListTypesCommand").f(void 0, void 0).ser(se_ListTypesCommand).de(de_ListTypesCommand).build() { static { __name(this, "ListTypesCommand"); }}; // src/commands/PutGraphqlApiEnvironmentVariablesCommand.ts var PutGraphqlApiEnvironmentVariablesCommand = 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("AWSDeepdishControlPlaneService", "PutGraphqlApiEnvironmentVariables", {}).n("AppSyncClient", "PutGraphqlApiEnvironmentVariablesCommand").f(void 0, void 0).ser(se_PutGraphqlApiEnvironmentVariablesCommand).de(de_PutGraphqlApiEnvironmentVariablesCommand).build() { static { __name(this, "PutGraphqlApiEnvironmentVariablesCommand"); }}; // src/commands/StartDataSourceIntrospectionCommand.ts var StartDataSourceIntrospectionCommand = 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("AWSDeepdishControlPlaneService", "StartDataSourceIntrospection", {}).n("AppSyncClient", "StartDataSourceIntrospectionCommand").f(void 0, void 0).ser(se_StartDataSourceIntrospectionCommand).de(de_StartDataSourceIntrospectionCommand).build() { static { __name(this, "StartDataSourceIntrospectionCommand"); }}; // src/commands/StartSchemaCreationCommand.ts var StartSchemaCreationCommand = 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("AWSDeepdishControlPlaneService", "StartSchemaCreation", {}).n("AppSyncClient", "StartSchemaCreationCommand").f(void 0, void 0).ser(se_StartSchemaCreationCommand).de(de_StartSchemaCreationCommand).build() { static { __name(this, "StartSchemaCreationCommand"); }}; // src/commands/StartSchemaMergeCommand.ts var StartSchemaMergeCommand = 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("AWSDeepdishControlPlaneService", "StartSchemaMerge", {}).n("AppSyncClient", "StartSchemaMergeCommand").f(void 0, void 0).ser(se_StartSchemaMergeCommand).de(de_StartSchemaMergeCommand).build() { static { __name(this, "StartSchemaMergeCommand"); }}; // 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("AWSDeepdishControlPlaneService", "TagResource", {}).n("AppSyncClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSDeepdishControlPlaneService", "UntagResource", {}).n("AppSyncClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateApiCacheCommand.ts var UpdateApiCacheCommand = 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("AWSDeepdishControlPlaneService", "UpdateApiCache", {}).n("AppSyncClient", "UpdateApiCacheCommand").f(void 0, void 0).ser(se_UpdateApiCacheCommand).de(de_UpdateApiCacheCommand).build() { static { __name(this, "UpdateApiCacheCommand"); }}; // src/commands/UpdateApiCommand.ts var UpdateApiCommand = 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("AWSDeepdishControlPlaneService", "UpdateApi", {}).n("AppSyncClient", "UpdateApiCommand").f(void 0, void 0).ser(se_UpdateApiCommand).de(de_UpdateApiCommand).build() { static { __name(this, "UpdateApiCommand"); }}; // src/commands/UpdateApiKeyCommand.ts var UpdateApiKeyCommand = 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("AWSDeepdishControlPlaneService", "UpdateApiKey", {}).n("AppSyncClient", "UpdateApiKeyCommand").f(void 0, void 0).ser(se_UpdateApiKeyCommand).de(de_UpdateApiKeyCommand).build() { static { __name(this, "UpdateApiKeyCommand"); }}; // src/commands/UpdateChannelNamespaceCommand.ts var UpdateChannelNamespaceCommand = 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("AWSDeepdishControlPlaneService", "UpdateChannelNamespace", {}).n("AppSyncClient", "UpdateChannelNamespaceCommand").f(void 0, void 0).ser(se_UpdateChannelNamespaceCommand).de(de_UpdateChannelNamespaceCommand).build() { static { __name(this, "UpdateChannelNamespaceCommand"); }}; // src/commands/UpdateDataSourceCommand.ts var UpdateDataSourceCommand = 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("AWSDeepdishControlPlaneService", "UpdateDataSource", {}).n("AppSyncClient", "UpdateDataSourceCommand").f(void 0, void 0).ser(se_UpdateDataSourceCommand).de(de_UpdateDataSourceCommand).build() { static { __name(this, "UpdateDataSourceCommand"); }}; // src/commands/UpdateDomainNameCommand.ts var UpdateDomainNameCommand = 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("AWSDeepdishControlPlaneService", "UpdateDomainName", {}).n("AppSyncClient", "UpdateDomainNameCommand").f(void 0, void 0).ser(se_UpdateDomainNameCommand).de(de_UpdateDomainNameCommand).build() { static { __name(this, "UpdateDomainNameCommand"); }}; // src/commands/UpdateFunctionCommand.ts var UpdateFunctionCommand = 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("AWSDeepdishControlPlaneService", "UpdateFunction", {}).n("AppSyncClient", "UpdateFunctionCommand").f(void 0, void 0).ser(se_UpdateFunctionCommand).de(de_UpdateFunctionCommand).build() { static { __name(this, "UpdateFunctionCommand"); }}; // src/commands/UpdateGraphqlApiCommand.ts var UpdateGraphqlApiCommand = 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("AWSDeepdishControlPlaneService", "UpdateGraphqlApi", {}).n("AppSyncClient", "UpdateGraphqlApiCommand").f(void 0, void 0).ser(se_UpdateGraphqlApiCommand).de(de_UpdateGraphqlApiCommand).build() { static { __name(this, "UpdateGraphqlApiCommand"); }}; // src/commands/UpdateResolverCommand.ts var UpdateResolverCommand = 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("AWSDeepdishControlPlaneService", "UpdateResolver", {}).n("AppSyncClient", "UpdateResolverCommand").f(void 0, void 0).ser(se_UpdateResolverCommand).de(de_UpdateResolverCommand).build() { static { __name(this, "UpdateResolverCommand"); }}; // src/commands/UpdateSourceApiAssociationCommand.ts var UpdateSourceApiAssociationCommand = 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("AWSDeepdishControlPlaneService", "UpdateSourceApiAssociation", {}).n("AppSyncClient", "UpdateSourceApiAssociationCommand").f(void 0, void 0).ser(se_UpdateSourceApiAssociationCommand).de(de_UpdateSourceApiAssociationCommand).build() { static { __name(this, "UpdateSourceApiAssociationCommand"); }}; // src/commands/UpdateTypeCommand.ts var UpdateTypeCommand = 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("AWSDeepdishControlPlaneService", "UpdateType", {}).n("AppSyncClient", "UpdateTypeCommand").f(void 0, void 0).ser(se_UpdateTypeCommand).de(de_UpdateTypeCommand).build() { static { __name(this, "UpdateTypeCommand"); }}; // src/AppSync.tsvar commands = { AssociateApiCommand, AssociateMergedGraphqlApiCommand, AssociateSourceGraphqlApiCommand, CreateApiCommand, CreateApiCacheCommand, CreateApiKeyCommand, CreateChannelNamespaceCommand, CreateDataSourceCommand, CreateDomainNameCommand, CreateFunctionCommand, CreateGraphqlApiCommand, CreateResolverCommand, CreateTypeCommand, DeleteApiCommand, DeleteApiCacheCommand, DeleteApiKeyCommand, DeleteChannelNamespaceCommand, DeleteDataSourceCommand, DeleteDomainNameCommand, DeleteFunctionCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, DeleteTypeCommand, DisassociateApiCommand, DisassociateMergedGraphqlApiCommand, DisassociateSourceGraphqlApiCommand, EvaluateCodeCommand, EvaluateMappingTemplateCommand, FlushApiCacheCommand, GetApiCommand, GetApiAssociationCommand, GetApiCacheCommand, GetChannelNamespaceCommand, GetDataSourceCommand, GetDataSourceIntrospectionCommand, GetDomainNameCommand, GetFunctionCommand, GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand, GetResolverCommand, GetSchemaCreationStatusCommand, GetSourceApiAssociationCommand, GetTypeCommand, ListApiKeysCommand, ListApisCommand, ListChannelNamespacesCommand, ListDataSourcesCommand, ListDomainNamesCommand, ListFunctionsCommand, ListGraphqlApisCommand, ListResolversCommand, ListResolversByFunctionCommand, ListSourceApiAssociationsCommand, ListTagsForResourceCommand, ListTypesCommand, ListTypesByAssociationCommand, PutGraphqlApiEnvironmentVariablesCommand, StartDataSourceIntrospectionCommand, StartSchemaCreationCommand, StartSchemaMergeCommand, TagResourceCommand, UntagResourceCommand, UpdateApiCommand, UpdateApiCacheCommand, UpdateApiKeyCommand, UpdateChannelNamespaceCommand, UpdateDataSourceCommand, UpdateDomainNameCommand, UpdateFunctionCommand, UpdateGraphqlApiCommand, UpdateResolverCommand, UpdateSourceApiAssociationCommand, UpdateTypeCommand};var AppSync = class extends AppSyncClient { static { __name(this, "AppSync"); }};(0, import_smithy_client.createAggregatedClient)(commands, AppSync); // src/pagination/ListApiKeysPaginator.ts var paginateListApiKeys = (0, import_core.createPaginator)(AppSyncClient, ListApiKeysCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListApisPaginator.ts var paginateListApis = (0, import_core.createPaginator)(AppSyncClient, ListApisCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListChannelNamespacesPaginator.ts var paginateListChannelNamespaces = (0, import_core.createPaginator)(AppSyncClient, ListChannelNamespacesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDataSourcesPaginator.ts var paginateListDataSources = (0, import_core.createPaginator)(AppSyncClient, ListDataSourcesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDomainNamesPaginator.ts var paginateListDomainNames = (0, import_core.createPaginator)(AppSyncClient, ListDomainNamesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListFunctionsPaginator.ts var paginateListFunctions = (0, import_core.createPaginator)(AppSyncClient, ListFunctionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListGraphqlApisPaginator.ts var paginateListGraphqlApis = (0, import_core.createPaginator)(AppSyncClient, ListGraphqlApisCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListResolversByFunctionPaginator.ts var paginateListResolversByFunction = (0, import_core.createPaginator)(AppSyncClient, ListResolversByFunctionCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListResolversPaginator.ts var paginateListResolvers = (0, import_core.createPaginator)(AppSyncClient, ListResolversCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSourceApiAssociationsPaginator.ts var paginateListSourceApiAssociations = (0, import_core.createPaginator)(AppSyncClient, ListSourceApiAssociationsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTypesByAssociationPaginator.ts var paginateListTypesByAssociation = (0, import_core.createPaginator)(AppSyncClient, ListTypesByAssociationCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTypesPaginator.ts var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListTypesCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { AppSyncServiceException, __Client, AppSyncClient, AppSync, $Command, AssociateApiCommand, AssociateMergedGraphqlApiCommand, AssociateSourceGraphqlApiCommand, CreateApiCacheCommand, CreateApiCommand, CreateApiKeyCommand, CreateChannelNamespaceCommand, CreateDataSourceCommand, CreateDomainNameCommand, CreateFunctionCommand, CreateGraphqlApiCommand, CreateResolverCommand, CreateTypeCommand, DeleteApiCacheCommand, DeleteApiCommand, DeleteApiKeyCommand, DeleteChannelNamespaceCommand, DeleteDataSourceCommand, DeleteDomainNameCommand, DeleteFunctionCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, DeleteTypeCommand, DisassociateApiCommand, DisassociateMergedGraphqlApiCommand, DisassociateSourceGraphqlApiCommand, EvaluateCodeCommand, EvaluateMappingTemplateCommand, FlushApiCacheCommand, GetApiAssociationCommand, GetApiCacheCommand, GetApiCommand, GetChannelNamespaceCommand, GetDataSourceCommand, GetDataSourceIntrospectionCommand, GetDomainNameCommand, GetFunctionCommand, GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand, GetResolverCommand, GetSchemaCreationStatusCommand, GetSourceApiAssociationCommand, GetTypeCommand, ListApiKeysCommand, ListApisCommand, ListChannelNamespacesCommand, ListDataSourcesCommand, ListDomainNamesCommand, ListFunctionsCommand, ListGraphqlApisCommand, ListResolversByFunctionCommand, ListResolversCommand, ListSourceApiAssociationsCommand, ListTagsForResourceCommand, ListTypesByAssociationCommand, ListTypesCommand, PutGraphqlApiEnvironmentVariablesCommand, StartDataSourceIntrospectionCommand, StartSchemaCreationCommand, StartSchemaMergeCommand, TagResourceCommand, UntagResourceCommand, UpdateApiCacheCommand, UpdateApiCommand, UpdateApiKeyCommand, UpdateChannelNamespaceCommand, UpdateDataSourceCommand, UpdateDomainNameCommand, UpdateFunctionCommand, UpdateGraphqlApiCommand, UpdateResolverCommand, UpdateSourceApiAssociationCommand, UpdateTypeCommand, paginateListApiKeys, paginateListApis, paginateListChannelNamespaces, paginateListDataSources, paginateListDomainNames, paginateListFunctions, paginateListGraphqlApis, paginateListResolversByFunction, paginateListResolvers, paginateListSourceApiAssociations, paginateListTypesByAssociation, paginateListTypes, AccessDeniedException, AuthenticationType, EventLogLevel, AssociationStatus, ApiCachingBehavior, CacheHealthMetricsConfig, ApiCacheStatus, ApiCacheType, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, ApiLimitExceededException, RuntimeName, BadRequestReason, BadRequestException, InternalFailureException, NotFoundException, MergeType, SourceApiAssociationStatus, ConcurrentModificationException, LimitExceededException, UnauthorizedException, AuthorizationType, ServiceQuotaExceededException, ConflictException, HandlerBehavior, InvokeType, DataSourceLevelMetricsConfig, RelationalDatabaseSourceType, DataSourceType, ConflictDetectionType, ConflictHandlerType, GraphQLApiType, DataSourceLevelMetricsBehavior, OperationLevelMetricsConfig, ResolverLevelMetricsBehavior, GraphQLApiIntrospectionConfig, FieldLogLevel, DefaultAction, GraphQLApiVisibility, ResolverKind, ResolverLevelMetricsConfig, TypeDefinitionFormat, DataSourceIntrospectionStatus, OutputType, GraphQLSchemaException, SchemaStatus, Ownership});