/proc/4/root/var/runtime/node_modules/@aws-sdk/client-iotthingsgraph/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, { AssociateEntityToThingCommand: () => AssociateEntityToThingCommand, CreateFlowTemplateCommand: () => CreateFlowTemplateCommand, CreateSystemInstanceCommand: () => CreateSystemInstanceCommand, CreateSystemTemplateCommand: () => CreateSystemTemplateCommand, DefinitionLanguage: () => DefinitionLanguage, DeleteFlowTemplateCommand: () => DeleteFlowTemplateCommand, DeleteNamespaceCommand: () => DeleteNamespaceCommand, DeleteSystemInstanceCommand: () => DeleteSystemInstanceCommand, DeleteSystemTemplateCommand: () => DeleteSystemTemplateCommand, DeploySystemInstanceCommand: () => DeploySystemInstanceCommand, DeploymentTarget: () => DeploymentTarget, DeprecateFlowTemplateCommand: () => DeprecateFlowTemplateCommand, DeprecateSystemTemplateCommand: () => DeprecateSystemTemplateCommand, DescribeNamespaceCommand: () => DescribeNamespaceCommand, DissociateEntityFromThingCommand: () => DissociateEntityFromThingCommand, EntityFilterName: () => EntityFilterName, EntityType: () => EntityType, FlowExecutionEventType: () => FlowExecutionEventType, FlowExecutionStatus: () => FlowExecutionStatus, FlowTemplateFilterName: () => FlowTemplateFilterName, GetEntitiesCommand: () => GetEntitiesCommand, GetFlowTemplateCommand: () => GetFlowTemplateCommand, GetFlowTemplateRevisionsCommand: () => GetFlowTemplateRevisionsCommand, GetNamespaceDeletionStatusCommand: () => GetNamespaceDeletionStatusCommand, GetSystemInstanceCommand: () => GetSystemInstanceCommand, GetSystemTemplateCommand: () => GetSystemTemplateCommand, GetSystemTemplateRevisionsCommand: () => GetSystemTemplateRevisionsCommand, GetUploadStatusCommand: () => GetUploadStatusCommand, InternalFailureException: () => InternalFailureException, InvalidRequestException: () => InvalidRequestException, IoTThingsGraph: () => IoTThingsGraph, IoTThingsGraphClient: () => IoTThingsGraphClient, IoTThingsGraphServiceException: () => IoTThingsGraphServiceException, LimitExceededException: () => LimitExceededException, ListFlowExecutionMessagesCommand: () => ListFlowExecutionMessagesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, NamespaceDeletionStatus: () => NamespaceDeletionStatus, NamespaceDeletionStatusErrorCodes: () => NamespaceDeletionStatusErrorCodes, ResourceAlreadyExistsException: () => ResourceAlreadyExistsException, ResourceInUseException: () => ResourceInUseException, ResourceNotFoundException: () => ResourceNotFoundException, SearchEntitiesCommand: () => SearchEntitiesCommand, SearchFlowExecutionsCommand: () => SearchFlowExecutionsCommand, SearchFlowTemplatesCommand: () => SearchFlowTemplatesCommand, SearchSystemInstancesCommand: () => SearchSystemInstancesCommand, SearchSystemTemplatesCommand: () => SearchSystemTemplatesCommand, SearchThingsCommand: () => SearchThingsCommand, SystemInstanceDeploymentStatus: () => SystemInstanceDeploymentStatus, SystemInstanceFilterName: () => SystemInstanceFilterName, SystemTemplateFilterName: () => SystemTemplateFilterName, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, UndeploySystemInstanceCommand: () => UndeploySystemInstanceCommand, UntagResourceCommand: () => UntagResourceCommand, UpdateFlowTemplateCommand: () => UpdateFlowTemplateCommand, UpdateSystemTemplateCommand: () => UpdateSystemTemplateCommand, UploadEntityDefinitionsCommand: () => UploadEntityDefinitionsCommand, UploadStatus: () => UploadStatus, __Client: () => import_smithy_client.Client, paginateGetFlowTemplateRevisions: () => paginateGetFlowTemplateRevisions, paginateGetSystemTemplateRevisions: () => paginateGetSystemTemplateRevisions, paginateListFlowExecutionMessages: () => paginateListFlowExecutionMessages, paginateListTagsForResource: () => paginateListTagsForResource, paginateSearchEntities: () => paginateSearchEntities, paginateSearchFlowExecutions: () => paginateSearchFlowExecutions, paginateSearchFlowTemplates: () => paginateSearchFlowTemplates, paginateSearchSystemInstances: () => paginateSearchSystemInstances, paginateSearchSystemTemplates: () => paginateSearchSystemTemplates, paginateSearchThings: () => paginateSearchThings});module.exports = __toCommonJS(index_exports); // src/IoTThingsGraphClient.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: "iotthingsgraph" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/IoTThingsGraphClient.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/IoTThingsGraphClient.tsvar IoTThingsGraphClient = class extends import_smithy_client.Client { static { __name(this, "IoTThingsGraphClient"); } /** * The resolved configuration of IoTThingsGraphClient class. This is resolved and normalized from the {@link IoTThingsGraphClientConfig | 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.defaultIoTThingsGraphHttpAuthSchemeParametersProvider, 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/IoTThingsGraph.ts // src/commands/AssociateEntityToThingCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/IoTThingsGraphServiceException.ts var IoTThingsGraphServiceException = class _IoTThingsGraphServiceException extends import_smithy_client.ServiceException { static { __name(this, "IoTThingsGraphServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _IoTThingsGraphServiceException.prototype); }}; // src/models/models_0.tsvar InternalFailureException = class _InternalFailureException extends IoTThingsGraphServiceException { static { __name(this, "InternalFailureException"); } name = "InternalFailureException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalFailureException.prototype); }};var InvalidRequestException = class _InvalidRequestException extends IoTThingsGraphServiceException { static { __name(this, "InvalidRequestException"); } name = "InvalidRequestException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRequestException.prototype); }};var ResourceNotFoundException = class _ResourceNotFoundException extends IoTThingsGraphServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); }};var ThrottlingException = class _ThrottlingException extends IoTThingsGraphServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); }};var DefinitionLanguage = { GRAPHQL: "GRAPHQL"};var LimitExceededException = class _LimitExceededException extends IoTThingsGraphServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); }};var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTThingsGraphServiceException { static { __name(this, "ResourceAlreadyExistsException"); } name = "ResourceAlreadyExistsException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype); }};var DeploymentTarget = { CLOUD: "CLOUD", GREENGRASS: "GREENGRASS"};var SystemInstanceDeploymentStatus = { BOOTSTRAP: "BOOTSTRAP", DELETED_IN_TARGET: "DELETED_IN_TARGET", DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET", DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS", FAILED: "FAILED", NOT_DEPLOYED: "NOT_DEPLOYED", PENDING_DELETE: "PENDING_DELETE", UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS"};var ResourceInUseException = class _ResourceInUseException extends IoTThingsGraphServiceException { static { __name(this, "ResourceInUseException"); } name = "ResourceInUseException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceInUseException.prototype); }};var EntityType = { ACTION: "ACTION", CAPABILITY: "CAPABILITY", DEVICE: "DEVICE", DEVICE_MODEL: "DEVICE_MODEL", ENUM: "ENUM", EVENT: "EVENT", MAPPING: "MAPPING", PROPERTY: "PROPERTY", SERVICE: "SERVICE", STATE: "STATE"};var EntityFilterName = { NAME: "NAME", NAMESPACE: "NAMESPACE", REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID", SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH"};var FlowExecutionEventType = { ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE", ACTIVITY_FAILED: "ACTIVITY_FAILED", ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED", ACTIVITY_STARTED: "ACTIVITY_STARTED", ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED", EXECUTION_ABORTED: "EXECUTION_ABORTED", EXECUTION_FAILED: "EXECUTION_FAILED", EXECUTION_STARTED: "EXECUTION_STARTED", EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED", SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK", START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK", STEP_FAILED: "STEP_FAILED", STEP_STARTED: "STEP_STARTED", STEP_SUCCEEDED: "STEP_SUCCEEDED", THING_ACTION_TASK: "THING_ACTION_TASK", THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED", THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED"};var FlowExecutionStatus = { ABORTED: "ABORTED", FAILED: "FAILED", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED"};var FlowTemplateFilterName = { DEVICE_MODEL_ID: "DEVICE_MODEL_ID"};var NamespaceDeletionStatusErrorCodes = { VALIDATION_FAILED: "VALIDATION_FAILED"};var NamespaceDeletionStatus = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", SUCCEEDED: "SUCCEEDED"};var UploadStatus = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", SUCCEEDED: "SUCCEEDED"};var SystemInstanceFilterName = { GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME", STATUS: "STATUS", SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID"};var SystemTemplateFilterName = { FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID"}; // src/protocols/Aws_json1_1.tsvar se_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("AssociateEntityToThing"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AssociateEntityToThingCommand");var se_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateFlowTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateFlowTemplateCommand");var se_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateSystemInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateSystemInstanceCommand");var se_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateSystemTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateSystemTemplateCommand");var se_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteFlowTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteFlowTemplateCommand");var se_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteNamespace"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteNamespaceCommand");var se_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteSystemInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteSystemInstanceCommand");var se_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteSystemTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteSystemTemplateCommand");var se_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeploySystemInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeploySystemInstanceCommand");var se_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeprecateFlowTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeprecateFlowTemplateCommand");var se_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeprecateSystemTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeprecateSystemTemplateCommand");var se_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeNamespace"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeNamespaceCommand");var se_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DissociateEntityFromThing"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DissociateEntityFromThingCommand");var se_GetEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetEntities"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetEntitiesCommand");var se_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetFlowTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetFlowTemplateCommand");var se_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetFlowTemplateRevisions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetFlowTemplateRevisionsCommand");var se_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetNamespaceDeletionStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetNamespaceDeletionStatusCommand");var se_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetSystemInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSystemInstanceCommand");var se_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetSystemTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSystemTemplateCommand");var se_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetSystemTemplateRevisions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSystemTemplateRevisionsCommand");var se_GetUploadStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetUploadStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetUploadStatusCommand");var se_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListFlowExecutionMessages"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListFlowExecutionMessagesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTagsForResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsForResourceCommand");var se_SearchEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchEntities"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchEntitiesCommand");var se_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchFlowExecutions"); let body; body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchFlowExecutionsCommand");var se_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchFlowTemplates"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchFlowTemplatesCommand");var se_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchSystemInstances"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchSystemInstancesCommand");var se_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchSystemTemplates"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchSystemTemplatesCommand");var se_SearchThingsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchThings"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchThingsCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("TagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TagResourceCommand");var se_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UndeploySystemInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UndeploySystemInstanceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UntagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UntagResourceCommand");var se_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateFlowTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateFlowTemplateCommand");var se_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateSystemTemplate"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateSystemTemplateCommand");var se_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UploadEntityDefinitions"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UploadEntityDefinitionsCommand");var de_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_AssociateEntityToThingCommand");var de_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateFlowTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateFlowTemplateCommand");var de_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateSystemInstanceResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateSystemInstanceCommand");var de_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateSystemTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateSystemTemplateCommand");var de_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteFlowTemplateCommand");var de_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteNamespaceCommand");var de_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteSystemInstanceCommand");var de_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteSystemTemplateCommand");var de_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DeploySystemInstanceResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeploySystemInstanceCommand");var de_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeprecateFlowTemplateCommand");var de_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeprecateSystemTemplateCommand");var de_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeNamespaceCommand");var de_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DissociateEntityFromThingCommand");var de_GetEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetEntitiesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetEntitiesCommand");var de_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetFlowTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetFlowTemplateCommand");var de_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetFlowTemplateRevisionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetFlowTemplateRevisionsCommand");var de_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetNamespaceDeletionStatusCommand");var de_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetSystemInstanceResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetSystemInstanceCommand");var de_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetSystemTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetSystemTemplateCommand");var de_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetSystemTemplateRevisionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetSystemTemplateRevisionsCommand");var de_GetUploadStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetUploadStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetUploadStatusCommand");var de_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListFlowExecutionMessagesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListFlowExecutionMessagesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTagsForResourceCommand");var de_SearchEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchEntitiesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchEntitiesCommand");var de_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchFlowExecutionsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchFlowExecutionsCommand");var de_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchFlowTemplatesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchFlowTemplatesCommand");var de_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchSystemInstancesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchSystemInstancesCommand");var de_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchSystemTemplatesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchSystemTemplatesCommand");var de_SearchThingsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchThingsCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_TagResourceCommand");var de_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UndeploySystemInstanceResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UndeploySystemInstanceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UntagResourceCommand");var de_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateFlowTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateFlowTemplateCommand");var de_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateSystemTemplateResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateSystemTemplateCommand");var de_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UploadEntityDefinitionsCommand");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 "InternalFailureException": case "com.amazonaws.iotthingsgraph#InternalFailureException": throw await de_InternalFailureExceptionRes(parsedOutput, context); case "InvalidRequestException": case "com.amazonaws.iotthingsgraph#InvalidRequestException": throw await de_InvalidRequestExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.iotthingsgraph#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.iotthingsgraph#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "LimitExceededException": case "com.amazonaws.iotthingsgraph#LimitExceededException": throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceAlreadyExistsException": case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException": throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context); case "ResourceInUseException": case "com.amazonaws.iotthingsgraph#ResourceInUseException": throw await de_ResourceInUseExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InternalFailureException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalFailureExceptionRes");var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidRequestException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidRequestExceptionRes");var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new LimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_LimitExceededExceptionRes");var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceAlreadyExistsExceptionRes");var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceInUseException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceInUseExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var se_SearchFlowExecutionsRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"), flowExecutionId: [], maxResults: [], nextToken: [], startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"), systemInstanceId: [] });}, "se_SearchFlowExecutionsRequest");var de_CreateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary") });}, "de_CreateFlowTemplateResponse");var de_CreateSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary") });}, "de_CreateSystemInstanceResponse");var de_CreateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary") });}, "de_CreateSystemTemplateResponse");var de_DeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { greengrassDeploymentId: import_smithy_client.expectString, summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary") });}, "de_DeploySystemInstanceResponse");var de_EntityDescription = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"), definition: import_smithy_client._json, id: import_smithy_client.expectString, type: import_smithy_client.expectString });}, "de_EntityDescription");var de_EntityDescriptions = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_EntityDescription(entry, context); }); return retVal;}, "de_EntityDescriptions");var de_FlowExecutionMessage = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { eventType: import_smithy_client.expectString, messageId: import_smithy_client.expectString, payload: import_smithy_client.expectString, timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "timestamp") });}, "de_FlowExecutionMessage");var de_FlowExecutionMessages = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_FlowExecutionMessage(entry, context); }); return retVal;}, "de_FlowExecutionMessages");var de_FlowExecutionSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_FlowExecutionSummary(entry, context); }); return retVal;}, "de_FlowExecutionSummaries");var de_FlowExecutionSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"), flowExecutionId: import_smithy_client.expectString, flowTemplateId: import_smithy_client.expectString, status: import_smithy_client.expectString, systemInstanceId: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updatedAt") });}, "de_FlowExecutionSummary");var de_FlowTemplateDescription = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { definition: import_smithy_client._json, summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary"), validatedNamespaceVersion: import_smithy_client.expectLong });}, "de_FlowTemplateDescription");var de_FlowTemplateSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_FlowTemplateSummary(entry, context); }); return retVal;}, "de_FlowTemplateSummaries");var de_FlowTemplateSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"), id: import_smithy_client.expectString, revisionNumber: import_smithy_client.expectLong });}, "de_FlowTemplateSummary");var de_GetEntitiesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { descriptions: /* @__PURE__ */ __name((_) => de_EntityDescriptions(_, context), "descriptions") });}, "de_GetEntitiesResponse");var de_GetFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { description: /* @__PURE__ */ __name((_) => de_FlowTemplateDescription(_, context), "description") });}, "de_GetFlowTemplateResponse");var de_GetFlowTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_FlowTemplateSummaries(_, context), "summaries") });}, "de_GetFlowTemplateRevisionsResponse");var de_GetSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { description: /* @__PURE__ */ __name((_) => de_SystemInstanceDescription(_, context), "description") });}, "de_GetSystemInstanceResponse");var de_GetSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { description: /* @__PURE__ */ __name((_) => de_SystemTemplateDescription(_, context), "description") });}, "de_GetSystemTemplateResponse");var de_GetSystemTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_SystemTemplateSummaries(_, context), "summaries") });}, "de_GetSystemTemplateRevisionsResponse");var de_GetUploadStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"), failureReason: import_smithy_client._json, namespaceArn: import_smithy_client.expectString, namespaceName: import_smithy_client.expectString, namespaceVersion: import_smithy_client.expectLong, uploadId: import_smithy_client.expectString, uploadStatus: import_smithy_client.expectString });}, "de_GetUploadStatusResponse");var de_ListFlowExecutionMessagesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { messages: /* @__PURE__ */ __name((_) => de_FlowExecutionMessages(_, context), "messages"), nextToken: import_smithy_client.expectString });}, "de_ListFlowExecutionMessagesResponse");var de_SearchEntitiesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { descriptions: /* @__PURE__ */ __name((_) => de_EntityDescriptions(_, context), "descriptions"), nextToken: import_smithy_client.expectString });}, "de_SearchEntitiesResponse");var de_SearchFlowExecutionsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_FlowExecutionSummaries(_, context), "summaries") });}, "de_SearchFlowExecutionsResponse");var de_SearchFlowTemplatesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_FlowTemplateSummaries(_, context), "summaries") });}, "de_SearchFlowTemplatesResponse");var de_SearchSystemInstancesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_SystemInstanceSummaries(_, context), "summaries") });}, "de_SearchSystemInstancesResponse");var de_SearchSystemTemplatesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, summaries: /* @__PURE__ */ __name((_) => de_SystemTemplateSummaries(_, context), "summaries") });}, "de_SearchSystemTemplatesResponse");var de_SystemInstanceDescription = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { definition: import_smithy_client._json, flowActionsRoleArn: import_smithy_client.expectString, metricsConfiguration: import_smithy_client._json, s3BucketName: import_smithy_client.expectString, summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary"), validatedDependencyRevisions: import_smithy_client._json, validatedNamespaceVersion: import_smithy_client.expectLong });}, "de_SystemInstanceDescription");var de_SystemInstanceSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SystemInstanceSummary(entry, context); }); return retVal;}, "de_SystemInstanceSummaries");var de_SystemInstanceSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"), greengrassGroupId: import_smithy_client.expectString, greengrassGroupName: import_smithy_client.expectString, greengrassGroupVersionId: import_smithy_client.expectString, id: import_smithy_client.expectString, status: import_smithy_client.expectString, target: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updatedAt") });}, "de_SystemInstanceSummary");var de_SystemTemplateDescription = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { definition: import_smithy_client._json, summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary"), validatedNamespaceVersion: import_smithy_client.expectLong });}, "de_SystemTemplateDescription");var de_SystemTemplateSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SystemTemplateSummary(entry, context); }); return retVal;}, "de_SystemTemplateSummaries");var de_SystemTemplateSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"), id: import_smithy_client.expectString, revisionNumber: import_smithy_client.expectLong });}, "de_SystemTemplateSummary");var de_UndeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary") });}, "de_UndeploySystemInstanceResponse");var de_UpdateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary") });}, "de_UpdateFlowTemplateResponse");var de_UpdateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary") });}, "de_UpdateSystemTemplateResponse");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var throwDefaultError = (0, import_smithy_client.withBaseException)(IoTThingsGraphServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); const contents = { protocol, hostname, port, method: "POST", path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, headers }; if (resolvedHostname !== void 0) { contents.hostname = resolvedHostname; } if (body !== void 0) { contents.body = body; } return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) { return { "content-type": "application/x-amz-json-1.1", "x-amz-target": `IotThingsGraphFrontEndService.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/AssociateEntityToThingCommand.tsvar AssociateEntityToThingCommand = 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("IotThingsGraphFrontEndService", "AssociateEntityToThing", {}).n("IoTThingsGraphClient", "AssociateEntityToThingCommand").f(void 0, void 0).ser(se_AssociateEntityToThingCommand).de(de_AssociateEntityToThingCommand).build() { static { __name(this, "AssociateEntityToThingCommand"); }}; // src/commands/CreateFlowTemplateCommand.ts var CreateFlowTemplateCommand = 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("IotThingsGraphFrontEndService", "CreateFlowTemplate", {}).n("IoTThingsGraphClient", "CreateFlowTemplateCommand").f(void 0, void 0).ser(se_CreateFlowTemplateCommand).de(de_CreateFlowTemplateCommand).build() { static { __name(this, "CreateFlowTemplateCommand"); }}; // src/commands/CreateSystemInstanceCommand.ts var CreateSystemInstanceCommand = 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("IotThingsGraphFrontEndService", "CreateSystemInstance", {}).n("IoTThingsGraphClient", "CreateSystemInstanceCommand").f(void 0, void 0).ser(se_CreateSystemInstanceCommand).de(de_CreateSystemInstanceCommand).build() { static { __name(this, "CreateSystemInstanceCommand"); }}; // src/commands/CreateSystemTemplateCommand.ts var CreateSystemTemplateCommand = 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("IotThingsGraphFrontEndService", "CreateSystemTemplate", {}).n("IoTThingsGraphClient", "CreateSystemTemplateCommand").f(void 0, void 0).ser(se_CreateSystemTemplateCommand).de(de_CreateSystemTemplateCommand).build() { static { __name(this, "CreateSystemTemplateCommand"); }}; // src/commands/DeleteFlowTemplateCommand.ts var DeleteFlowTemplateCommand = 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("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {}).n("IoTThingsGraphClient", "DeleteFlowTemplateCommand").f(void 0, void 0).ser(se_DeleteFlowTemplateCommand).de(de_DeleteFlowTemplateCommand).build() { static { __name(this, "DeleteFlowTemplateCommand"); }}; // src/commands/DeleteNamespaceCommand.ts var DeleteNamespaceCommand = 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("IotThingsGraphFrontEndService", "DeleteNamespace", {}).n("IoTThingsGraphClient", "DeleteNamespaceCommand").f(void 0, void 0).ser(se_DeleteNamespaceCommand).de(de_DeleteNamespaceCommand).build() { static { __name(this, "DeleteNamespaceCommand"); }}; // src/commands/DeleteSystemInstanceCommand.ts var DeleteSystemInstanceCommand = 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("IotThingsGraphFrontEndService", "DeleteSystemInstance", {}).n("IoTThingsGraphClient", "DeleteSystemInstanceCommand").f(void 0, void 0).ser(se_DeleteSystemInstanceCommand).de(de_DeleteSystemInstanceCommand).build() { static { __name(this, "DeleteSystemInstanceCommand"); }}; // src/commands/DeleteSystemTemplateCommand.ts var DeleteSystemTemplateCommand = 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("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {}).n("IoTThingsGraphClient", "DeleteSystemTemplateCommand").f(void 0, void 0).ser(se_DeleteSystemTemplateCommand).de(de_DeleteSystemTemplateCommand).build() { static { __name(this, "DeleteSystemTemplateCommand"); }}; // src/commands/DeploySystemInstanceCommand.ts var DeploySystemInstanceCommand = 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("IotThingsGraphFrontEndService", "DeploySystemInstance", {}).n("IoTThingsGraphClient", "DeploySystemInstanceCommand").f(void 0, void 0).ser(se_DeploySystemInstanceCommand).de(de_DeploySystemInstanceCommand).build() { static { __name(this, "DeploySystemInstanceCommand"); }}; // src/commands/DeprecateFlowTemplateCommand.ts var DeprecateFlowTemplateCommand = 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("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {}).n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand").f(void 0, void 0).ser(se_DeprecateFlowTemplateCommand).de(de_DeprecateFlowTemplateCommand).build() { static { __name(this, "DeprecateFlowTemplateCommand"); }}; // src/commands/DeprecateSystemTemplateCommand.ts var DeprecateSystemTemplateCommand = 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("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {}).n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand").f(void 0, void 0).ser(se_DeprecateSystemTemplateCommand).de(de_DeprecateSystemTemplateCommand).build() { static { __name(this, "DeprecateSystemTemplateCommand"); }}; // src/commands/DescribeNamespaceCommand.ts var DescribeNamespaceCommand = 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("IotThingsGraphFrontEndService", "DescribeNamespace", {}).n("IoTThingsGraphClient", "DescribeNamespaceCommand").f(void 0, void 0).ser(se_DescribeNamespaceCommand).de(de_DescribeNamespaceCommand).build() { static { __name(this, "DescribeNamespaceCommand"); }}; // src/commands/DissociateEntityFromThingCommand.ts var DissociateEntityFromThingCommand = 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("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {}).n("IoTThingsGraphClient", "DissociateEntityFromThingCommand").f(void 0, void 0).ser(se_DissociateEntityFromThingCommand).de(de_DissociateEntityFromThingCommand).build() { static { __name(this, "DissociateEntityFromThingCommand"); }}; // src/commands/GetEntitiesCommand.ts var GetEntitiesCommand = 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("IotThingsGraphFrontEndService", "GetEntities", {}).n("IoTThingsGraphClient", "GetEntitiesCommand").f(void 0, void 0).ser(se_GetEntitiesCommand).de(de_GetEntitiesCommand).build() { static { __name(this, "GetEntitiesCommand"); }}; // src/commands/GetFlowTemplateCommand.ts var GetFlowTemplateCommand = 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("IotThingsGraphFrontEndService", "GetFlowTemplate", {}).n("IoTThingsGraphClient", "GetFlowTemplateCommand").f(void 0, void 0).ser(se_GetFlowTemplateCommand).de(de_GetFlowTemplateCommand).build() { static { __name(this, "GetFlowTemplateCommand"); }}; // src/commands/GetFlowTemplateRevisionsCommand.ts var GetFlowTemplateRevisionsCommand = 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("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {}).n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetFlowTemplateRevisionsCommand).de(de_GetFlowTemplateRevisionsCommand).build() { static { __name(this, "GetFlowTemplateRevisionsCommand"); }}; // src/commands/GetNamespaceDeletionStatusCommand.ts var GetNamespaceDeletionStatusCommand = 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("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {}).n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand").f(void 0, void 0).ser(se_GetNamespaceDeletionStatusCommand).de(de_GetNamespaceDeletionStatusCommand).build() { static { __name(this, "GetNamespaceDeletionStatusCommand"); }}; // src/commands/GetSystemInstanceCommand.ts var GetSystemInstanceCommand = 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("IotThingsGraphFrontEndService", "GetSystemInstance", {}).n("IoTThingsGraphClient", "GetSystemInstanceCommand").f(void 0, void 0).ser(se_GetSystemInstanceCommand).de(de_GetSystemInstanceCommand).build() { static { __name(this, "GetSystemInstanceCommand"); }}; // src/commands/GetSystemTemplateCommand.ts var GetSystemTemplateCommand = 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("IotThingsGraphFrontEndService", "GetSystemTemplate", {}).n("IoTThingsGraphClient", "GetSystemTemplateCommand").f(void 0, void 0).ser(se_GetSystemTemplateCommand).de(de_GetSystemTemplateCommand).build() { static { __name(this, "GetSystemTemplateCommand"); }}; // src/commands/GetSystemTemplateRevisionsCommand.ts var GetSystemTemplateRevisionsCommand = 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("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {}).n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetSystemTemplateRevisionsCommand).de(de_GetSystemTemplateRevisionsCommand).build() { static { __name(this, "GetSystemTemplateRevisionsCommand"); }}; // src/commands/GetUploadStatusCommand.ts var GetUploadStatusCommand = 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("IotThingsGraphFrontEndService", "GetUploadStatus", {}).n("IoTThingsGraphClient", "GetUploadStatusCommand").f(void 0, void 0).ser(se_GetUploadStatusCommand).de(de_GetUploadStatusCommand).build() { static { __name(this, "GetUploadStatusCommand"); }}; // src/commands/ListFlowExecutionMessagesCommand.ts var ListFlowExecutionMessagesCommand = 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("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {}).n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand").f(void 0, void 0).ser(se_ListFlowExecutionMessagesCommand).de(de_ListFlowExecutionMessagesCommand).build() { static { __name(this, "ListFlowExecutionMessagesCommand"); }}; // 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("IotThingsGraphFrontEndService", "ListTagsForResource", {}).n("IoTThingsGraphClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/SearchEntitiesCommand.ts var SearchEntitiesCommand = 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("IotThingsGraphFrontEndService", "SearchEntities", {}).n("IoTThingsGraphClient", "SearchEntitiesCommand").f(void 0, void 0).ser(se_SearchEntitiesCommand).de(de_SearchEntitiesCommand).build() { static { __name(this, "SearchEntitiesCommand"); }}; // src/commands/SearchFlowExecutionsCommand.ts var SearchFlowExecutionsCommand = 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("IotThingsGraphFrontEndService", "SearchFlowExecutions", {}).n("IoTThingsGraphClient", "SearchFlowExecutionsCommand").f(void 0, void 0).ser(se_SearchFlowExecutionsCommand).de(de_SearchFlowExecutionsCommand).build() { static { __name(this, "SearchFlowExecutionsCommand"); }}; // src/commands/SearchFlowTemplatesCommand.ts var SearchFlowTemplatesCommand = 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("IotThingsGraphFrontEndService", "SearchFlowTemplates", {}).n("IoTThingsGraphClient", "SearchFlowTemplatesCommand").f(void 0, void 0).ser(se_SearchFlowTemplatesCommand).de(de_SearchFlowTemplatesCommand).build() { static { __name(this, "SearchFlowTemplatesCommand"); }}; // src/commands/SearchSystemInstancesCommand.ts var SearchSystemInstancesCommand = 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("IotThingsGraphFrontEndService", "SearchSystemInstances", {}).n("IoTThingsGraphClient", "SearchSystemInstancesCommand").f(void 0, void 0).ser(se_SearchSystemInstancesCommand).de(de_SearchSystemInstancesCommand).build() { static { __name(this, "SearchSystemInstancesCommand"); }}; // src/commands/SearchSystemTemplatesCommand.ts var SearchSystemTemplatesCommand = 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("IotThingsGraphFrontEndService", "SearchSystemTemplates", {}).n("IoTThingsGraphClient", "SearchSystemTemplatesCommand").f(void 0, void 0).ser(se_SearchSystemTemplatesCommand).de(de_SearchSystemTemplatesCommand).build() { static { __name(this, "SearchSystemTemplatesCommand"); }}; // src/commands/SearchThingsCommand.ts var SearchThingsCommand = 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("IotThingsGraphFrontEndService", "SearchThings", {}).n("IoTThingsGraphClient", "SearchThingsCommand").f(void 0, void 0).ser(se_SearchThingsCommand).de(de_SearchThingsCommand).build() { static { __name(this, "SearchThingsCommand"); }}; // 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("IotThingsGraphFrontEndService", "TagResource", {}).n("IoTThingsGraphClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UndeploySystemInstanceCommand.ts var UndeploySystemInstanceCommand = 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("IotThingsGraphFrontEndService", "UndeploySystemInstance", {}).n("IoTThingsGraphClient", "UndeploySystemInstanceCommand").f(void 0, void 0).ser(se_UndeploySystemInstanceCommand).de(de_UndeploySystemInstanceCommand).build() { static { __name(this, "UndeploySystemInstanceCommand"); }}; // 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("IotThingsGraphFrontEndService", "UntagResource", {}).n("IoTThingsGraphClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateFlowTemplateCommand.ts var UpdateFlowTemplateCommand = 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("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {}).n("IoTThingsGraphClient", "UpdateFlowTemplateCommand").f(void 0, void 0).ser(se_UpdateFlowTemplateCommand).de(de_UpdateFlowTemplateCommand).build() { static { __name(this, "UpdateFlowTemplateCommand"); }}; // src/commands/UpdateSystemTemplateCommand.ts var UpdateSystemTemplateCommand = 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("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {}).n("IoTThingsGraphClient", "UpdateSystemTemplateCommand").f(void 0, void 0).ser(se_UpdateSystemTemplateCommand).de(de_UpdateSystemTemplateCommand).build() { static { __name(this, "UpdateSystemTemplateCommand"); }}; // src/commands/UploadEntityDefinitionsCommand.ts var UploadEntityDefinitionsCommand = 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("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {}).n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand").f(void 0, void 0).ser(se_UploadEntityDefinitionsCommand).de(de_UploadEntityDefinitionsCommand).build() { static { __name(this, "UploadEntityDefinitionsCommand"); }}; // src/IoTThingsGraph.tsvar commands = { AssociateEntityToThingCommand, CreateFlowTemplateCommand, CreateSystemInstanceCommand, CreateSystemTemplateCommand, DeleteFlowTemplateCommand, DeleteNamespaceCommand, DeleteSystemInstanceCommand, DeleteSystemTemplateCommand, DeploySystemInstanceCommand, DeprecateFlowTemplateCommand, DeprecateSystemTemplateCommand, DescribeNamespaceCommand, DissociateEntityFromThingCommand, GetEntitiesCommand, GetFlowTemplateCommand, GetFlowTemplateRevisionsCommand, GetNamespaceDeletionStatusCommand, GetSystemInstanceCommand, GetSystemTemplateCommand, GetSystemTemplateRevisionsCommand, GetUploadStatusCommand, ListFlowExecutionMessagesCommand, ListTagsForResourceCommand, SearchEntitiesCommand, SearchFlowExecutionsCommand, SearchFlowTemplatesCommand, SearchSystemInstancesCommand, SearchSystemTemplatesCommand, SearchThingsCommand, TagResourceCommand, UndeploySystemInstanceCommand, UntagResourceCommand, UpdateFlowTemplateCommand, UpdateSystemTemplateCommand, UploadEntityDefinitionsCommand};var IoTThingsGraph = class extends IoTThingsGraphClient { static { __name(this, "IoTThingsGraph"); }};(0, import_smithy_client.createAggregatedClient)(commands, IoTThingsGraph); // src/pagination/GetFlowTemplateRevisionsPaginator.ts var paginateGetFlowTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/GetSystemTemplateRevisionsPaginator.ts var paginateGetSystemTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListFlowExecutionMessagesPaginator.ts var paginateListFlowExecutionMessages = (0, import_core.createPaginator)(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchEntitiesPaginator.ts var paginateSearchEntities = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchFlowExecutionsPaginator.ts var paginateSearchFlowExecutions = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchFlowTemplatesPaginator.ts var paginateSearchFlowTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchSystemInstancesPaginator.ts var paginateSearchSystemInstances = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchSystemTemplatesPaginator.ts var paginateSearchSystemTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchThingsPaginator.ts var paginateSearchThings = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { IoTThingsGraphServiceException, __Client, IoTThingsGraphClient, IoTThingsGraph, $Command, AssociateEntityToThingCommand, CreateFlowTemplateCommand, CreateSystemInstanceCommand, CreateSystemTemplateCommand, DeleteFlowTemplateCommand, DeleteNamespaceCommand, DeleteSystemInstanceCommand, DeleteSystemTemplateCommand, DeploySystemInstanceCommand, DeprecateFlowTemplateCommand, DeprecateSystemTemplateCommand, DescribeNamespaceCommand, DissociateEntityFromThingCommand, GetEntitiesCommand, GetFlowTemplateCommand, GetFlowTemplateRevisionsCommand, GetNamespaceDeletionStatusCommand, GetSystemInstanceCommand, GetSystemTemplateCommand, GetSystemTemplateRevisionsCommand, GetUploadStatusCommand, ListFlowExecutionMessagesCommand, ListTagsForResourceCommand, SearchEntitiesCommand, SearchFlowExecutionsCommand, SearchFlowTemplatesCommand, SearchSystemInstancesCommand, SearchSystemTemplatesCommand, SearchThingsCommand, TagResourceCommand, UndeploySystemInstanceCommand, UntagResourceCommand, UpdateFlowTemplateCommand, UpdateSystemTemplateCommand, UploadEntityDefinitionsCommand, paginateGetFlowTemplateRevisions, paginateGetSystemTemplateRevisions, paginateListFlowExecutionMessages, paginateListTagsForResource, paginateSearchEntities, paginateSearchFlowExecutions, paginateSearchFlowTemplates, paginateSearchSystemInstances, paginateSearchSystemTemplates, paginateSearchThings, InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, DefinitionLanguage, LimitExceededException, ResourceAlreadyExistsException, DeploymentTarget, SystemInstanceDeploymentStatus, ResourceInUseException, EntityType, EntityFilterName, FlowExecutionEventType, FlowExecutionStatus, FlowTemplateFilterName, NamespaceDeletionStatusErrorCodes, NamespaceDeletionStatus, UploadStatus, SystemInstanceFilterName, SystemTemplateFilterName});