File Explorer

/proc/self/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 /.

index.js29.8 KB · 772 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var IoTThingsGraphServiceException = require('./models/IoTThingsGraphServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "iotthingsgraph",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (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;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class IoTThingsGraphClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultIoTThingsGraphHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociateEntityToThingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "AssociateEntityToThing", {})    .n("IoTThingsGraphClient", "AssociateEntityToThingCommand")    .sc(schemas_0.AssociateEntityToThing$)    .build() {} class CreateFlowTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "CreateFlowTemplate", {})    .n("IoTThingsGraphClient", "CreateFlowTemplateCommand")    .sc(schemas_0.CreateFlowTemplate$)    .build() {} class CreateSystemInstanceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "CreateSystemInstance", {})    .n("IoTThingsGraphClient", "CreateSystemInstanceCommand")    .sc(schemas_0.CreateSystemInstance$)    .build() {} class CreateSystemTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "CreateSystemTemplate", {})    .n("IoTThingsGraphClient", "CreateSystemTemplateCommand")    .sc(schemas_0.CreateSystemTemplate$)    .build() {} class DeleteFlowTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {})    .n("IoTThingsGraphClient", "DeleteFlowTemplateCommand")    .sc(schemas_0.DeleteFlowTemplate$)    .build() {} class DeleteNamespaceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeleteNamespace", {})    .n("IoTThingsGraphClient", "DeleteNamespaceCommand")    .sc(schemas_0.DeleteNamespace$)    .build() {} class DeleteSystemInstanceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeleteSystemInstance", {})    .n("IoTThingsGraphClient", "DeleteSystemInstanceCommand")    .sc(schemas_0.DeleteSystemInstance$)    .build() {} class DeleteSystemTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {})    .n("IoTThingsGraphClient", "DeleteSystemTemplateCommand")    .sc(schemas_0.DeleteSystemTemplate$)    .build() {} class DeploySystemInstanceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeploySystemInstance", {})    .n("IoTThingsGraphClient", "DeploySystemInstanceCommand")    .sc(schemas_0.DeploySystemInstance$)    .build() {} class DeprecateFlowTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {})    .n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand")    .sc(schemas_0.DeprecateFlowTemplate$)    .build() {} class DeprecateSystemTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {})    .n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand")    .sc(schemas_0.DeprecateSystemTemplate$)    .build() {} class DescribeNamespaceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DescribeNamespace", {})    .n("IoTThingsGraphClient", "DescribeNamespaceCommand")    .sc(schemas_0.DescribeNamespace$)    .build() {} class DissociateEntityFromThingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {})    .n("IoTThingsGraphClient", "DissociateEntityFromThingCommand")    .sc(schemas_0.DissociateEntityFromThing$)    .build() {} class GetEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetEntities", {})    .n("IoTThingsGraphClient", "GetEntitiesCommand")    .sc(schemas_0.GetEntities$)    .build() {} class GetFlowTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetFlowTemplate", {})    .n("IoTThingsGraphClient", "GetFlowTemplateCommand")    .sc(schemas_0.GetFlowTemplate$)    .build() {} class GetFlowTemplateRevisionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {})    .n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand")    .sc(schemas_0.GetFlowTemplateRevisions$)    .build() {} class GetNamespaceDeletionStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {})    .n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand")    .sc(schemas_0.GetNamespaceDeletionStatus$)    .build() {} class GetSystemInstanceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetSystemInstance", {})    .n("IoTThingsGraphClient", "GetSystemInstanceCommand")    .sc(schemas_0.GetSystemInstance$)    .build() {} class GetSystemTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetSystemTemplate", {})    .n("IoTThingsGraphClient", "GetSystemTemplateCommand")    .sc(schemas_0.GetSystemTemplate$)    .build() {} class GetSystemTemplateRevisionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {})    .n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand")    .sc(schemas_0.GetSystemTemplateRevisions$)    .build() {} class GetUploadStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "GetUploadStatus", {})    .n("IoTThingsGraphClient", "GetUploadStatusCommand")    .sc(schemas_0.GetUploadStatus$)    .build() {} class ListFlowExecutionMessagesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {})    .n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand")    .sc(schemas_0.ListFlowExecutionMessages$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "ListTagsForResource", {})    .n("IoTThingsGraphClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class SearchEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchEntities", {})    .n("IoTThingsGraphClient", "SearchEntitiesCommand")    .sc(schemas_0.SearchEntities$)    .build() {} class SearchFlowExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {})    .n("IoTThingsGraphClient", "SearchFlowExecutionsCommand")    .sc(schemas_0.SearchFlowExecutions$)    .build() {} class SearchFlowTemplatesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {})    .n("IoTThingsGraphClient", "SearchFlowTemplatesCommand")    .sc(schemas_0.SearchFlowTemplates$)    .build() {} class SearchSystemInstancesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchSystemInstances", {})    .n("IoTThingsGraphClient", "SearchSystemInstancesCommand")    .sc(schemas_0.SearchSystemInstances$)    .build() {} class SearchSystemTemplatesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {})    .n("IoTThingsGraphClient", "SearchSystemTemplatesCommand")    .sc(schemas_0.SearchSystemTemplates$)    .build() {} class SearchThingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "SearchThings", {})    .n("IoTThingsGraphClient", "SearchThingsCommand")    .sc(schemas_0.SearchThings$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "TagResource", {})    .n("IoTThingsGraphClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UndeploySystemInstanceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {})    .n("IoTThingsGraphClient", "UndeploySystemInstanceCommand")    .sc(schemas_0.UndeploySystemInstance$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "UntagResource", {})    .n("IoTThingsGraphClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateFlowTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {})    .n("IoTThingsGraphClient", "UpdateFlowTemplateCommand")    .sc(schemas_0.UpdateFlowTemplate$)    .build() {} class UpdateSystemTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {})    .n("IoTThingsGraphClient", "UpdateSystemTemplateCommand")    .sc(schemas_0.UpdateSystemTemplate$)    .build() {} class UploadEntityDefinitionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {})    .n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand")    .sc(schemas_0.UploadEntityDefinitions$)    .build() {} const paginateGetFlowTemplateRevisions = core.createPaginator(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); const paginateGetSystemTemplateRevisions = core.createPaginator(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFlowExecutionMessages = core.createPaginator(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults"); const paginateListTagsForResource = core.createPaginator(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchEntities = core.createPaginator(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchFlowExecutions = core.createPaginator(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchFlowTemplates = core.createPaginator(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSystemInstances = core.createPaginator(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSystemTemplates = core.createPaginator(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchThings = core.createPaginator(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults"); const 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,};const paginators = {    paginateGetFlowTemplateRevisions,    paginateGetSystemTemplateRevisions,    paginateListFlowExecutionMessages,    paginateListTagsForResource,    paginateSearchEntities,    paginateSearchFlowExecutions,    paginateSearchFlowTemplates,    paginateSearchSystemInstances,    paginateSearchSystemTemplates,    paginateSearchThings,};class IoTThingsGraph extends IoTThingsGraphClient {}client.createAggregatedClient(commands, IoTThingsGraph, { paginators }); const DefinitionLanguage = {    GRAPHQL: "GRAPHQL",};const DeploymentTarget = {    CLOUD: "CLOUD",    GREENGRASS: "GREENGRASS",};const 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",};const EntityType = {    ACTION: "ACTION",    CAPABILITY: "CAPABILITY",    DEVICE: "DEVICE",    DEVICE_MODEL: "DEVICE_MODEL",    ENUM: "ENUM",    EVENT: "EVENT",    MAPPING: "MAPPING",    PROPERTY: "PROPERTY",    SERVICE: "SERVICE",    STATE: "STATE",};const EntityFilterName = {    NAME: "NAME",    NAMESPACE: "NAMESPACE",    REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",    SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH",};const 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",};const FlowExecutionStatus = {    ABORTED: "ABORTED",    FAILED: "FAILED",    RUNNING: "RUNNING",    SUCCEEDED: "SUCCEEDED",};const FlowTemplateFilterName = {    DEVICE_MODEL_ID: "DEVICE_MODEL_ID",};const NamespaceDeletionStatusErrorCodes = {    VALIDATION_FAILED: "VALIDATION_FAILED",};const NamespaceDeletionStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCEEDED: "SUCCEEDED",};const UploadStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCEEDED: "SUCCEEDED",};const SystemInstanceFilterName = {    GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",    STATUS: "STATUS",    SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID",};const SystemTemplateFilterName = {    FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException.IoTThingsGraphServiceException;exports.AssociateEntityToThingCommand = AssociateEntityToThingCommand;exports.CreateFlowTemplateCommand = CreateFlowTemplateCommand;exports.CreateSystemInstanceCommand = CreateSystemInstanceCommand;exports.CreateSystemTemplateCommand = CreateSystemTemplateCommand;exports.DefinitionLanguage = DefinitionLanguage;exports.DeleteFlowTemplateCommand = DeleteFlowTemplateCommand;exports.DeleteNamespaceCommand = DeleteNamespaceCommand;exports.DeleteSystemInstanceCommand = DeleteSystemInstanceCommand;exports.DeleteSystemTemplateCommand = DeleteSystemTemplateCommand;exports.DeploySystemInstanceCommand = DeploySystemInstanceCommand;exports.DeploymentTarget = DeploymentTarget;exports.DeprecateFlowTemplateCommand = DeprecateFlowTemplateCommand;exports.DeprecateSystemTemplateCommand = DeprecateSystemTemplateCommand;exports.DescribeNamespaceCommand = DescribeNamespaceCommand;exports.DissociateEntityFromThingCommand = DissociateEntityFromThingCommand;exports.EntityFilterName = EntityFilterName;exports.EntityType = EntityType;exports.FlowExecutionEventType = FlowExecutionEventType;exports.FlowExecutionStatus = FlowExecutionStatus;exports.FlowTemplateFilterName = FlowTemplateFilterName;exports.GetEntitiesCommand = GetEntitiesCommand;exports.GetFlowTemplateCommand = GetFlowTemplateCommand;exports.GetFlowTemplateRevisionsCommand = GetFlowTemplateRevisionsCommand;exports.GetNamespaceDeletionStatusCommand = GetNamespaceDeletionStatusCommand;exports.GetSystemInstanceCommand = GetSystemInstanceCommand;exports.GetSystemTemplateCommand = GetSystemTemplateCommand;exports.GetSystemTemplateRevisionsCommand = GetSystemTemplateRevisionsCommand;exports.GetUploadStatusCommand = GetUploadStatusCommand;exports.IoTThingsGraph = IoTThingsGraph;exports.IoTThingsGraphClient = IoTThingsGraphClient;exports.ListFlowExecutionMessagesCommand = ListFlowExecutionMessagesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.NamespaceDeletionStatus = NamespaceDeletionStatus;exports.NamespaceDeletionStatusErrorCodes = NamespaceDeletionStatusErrorCodes;exports.SearchEntitiesCommand = SearchEntitiesCommand;exports.SearchFlowExecutionsCommand = SearchFlowExecutionsCommand;exports.SearchFlowTemplatesCommand = SearchFlowTemplatesCommand;exports.SearchSystemInstancesCommand = SearchSystemInstancesCommand;exports.SearchSystemTemplatesCommand = SearchSystemTemplatesCommand;exports.SearchThingsCommand = SearchThingsCommand;exports.SystemInstanceDeploymentStatus = SystemInstanceDeploymentStatus;exports.SystemInstanceFilterName = SystemInstanceFilterName;exports.SystemTemplateFilterName = SystemTemplateFilterName;exports.TagResourceCommand = TagResourceCommand;exports.UndeploySystemInstanceCommand = UndeploySystemInstanceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateFlowTemplateCommand = UpdateFlowTemplateCommand;exports.UpdateSystemTemplateCommand = UpdateSystemTemplateCommand;exports.UploadEntityDefinitionsCommand = UploadEntityDefinitionsCommand;exports.UploadStatus = UploadStatus;exports.paginateGetFlowTemplateRevisions = paginateGetFlowTemplateRevisions;exports.paginateGetSystemTemplateRevisions = paginateGetSystemTemplateRevisions;exports.paginateListFlowExecutionMessages = paginateListFlowExecutionMessages;exports.paginateListTagsForResource = paginateListTagsForResource;exports.paginateSearchEntities = paginateSearchEntities;exports.paginateSearchFlowExecutions = paginateSearchFlowExecutions;exports.paginateSearchFlowTemplates = paginateSearchFlowTemplates;exports.paginateSearchSystemInstances = paginateSearchSystemInstances;exports.paginateSearchSystemTemplates = paginateSearchSystemTemplates;exports.paginateSearchThings = paginateSearchThings;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});