File Explorer

/proc/2/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.js60.6 KB · 1694 lines
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultIoTThingsGraphHttpAuthSchemeParametersProvider = async (config, context, input) => {    return {        operation: getSmithyContext(context).operation,        region: await normalizeProvider(config.region)() || (() => {            throw new Error("expected `region` to be configured for `aws.auth#sigv4`");        })(),    };};function createAwsAuthSigv4HttpAuthOption(authParameters) {    return {        schemeId: "aws.auth#sigv4",        signingProperties: {            name: "iotthingsgraph",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultIoTThingsGraphHttpAuthSchemeProvider = (authParameters) => {    const options = [];    switch (authParameters.operation) {        default: {            options.push(createAwsAuthSigv4HttpAuthOption(authParameters));        }    }    return options;};const resolveHttpAuthSchemeConfig = (config) => {    const config_0 = resolveAwsSdkSigV4Config(config);    return Object.assign(config_0, {        authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),    });}; 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" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = {    conditions: [        [c, [g]],        [c, j],        ["aws.partition", j, d],        [e, [{ [k]: "UseFIPS" }, b]],        [e, [{ [k]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],        ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws"]]    ],    results: [        [a],        [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],        [g, i],        ["https://iotthingsgraph-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://iotthingsgraph-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://iotthingsgraph.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://iotthingsgraph.{Region}.amazonaws.com", i],        ["https://iotthingsgraph.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 13, 3,    1, 4, r + 12,    2, 5, r + 12,    3, 9, 6,    4, 8, 7,    7, r + 10, r + 11,    5, r + 8, r + 9,    4, 11, 10,    6, r + 6, r + 7,    5, 12, r + 5,    6, r + 4, r + 5,    3, r + 1, 14,    4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => decideEndpoint(bdd, {        endpointParams: endpointParams,        logger: context.logger,    }));};customEndpointFunctions.aws = awsEndpointFunctions; class IoTThingsGraphServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, IoTThingsGraphServiceException.prototype);    }} class InternalFailureException extends IoTThingsGraphServiceException {    name = "InternalFailureException";    $fault = "server";    constructor(opts) {        super({            name: "InternalFailureException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalFailureException.prototype);    }}class InvalidRequestException extends IoTThingsGraphServiceException {    name = "InvalidRequestException";    $fault = "client";    constructor(opts) {        super({            name: "InvalidRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidRequestException.prototype);    }}class ResourceNotFoundException extends IoTThingsGraphServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}class ThrottlingException extends IoTThingsGraphServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}class LimitExceededException extends IoTThingsGraphServiceException {    name = "LimitExceededException";    $fault = "client";    constructor(opts) {        super({            name: "LimitExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, LimitExceededException.prototype);    }}class ResourceAlreadyExistsException extends IoTThingsGraphServiceException {    name = "ResourceAlreadyExistsException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceAlreadyExistsException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);    }}class ResourceInUseException extends IoTThingsGraphServiceException {    name = "ResourceInUseException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceInUseException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceInUseException.prototype);    }} const _AETT = "AssociateEntityToThing";const _AETTR = "AssociateEntityToThingRequest";const _AETTRs = "AssociateEntityToThingResponse";const _CFT = "CreateFlowTemplate";const _CFTR = "CreateFlowTemplateRequest";const _CFTRr = "CreateFlowTemplateResponse";const _CSI = "CreateSystemInstance";const _CSIR = "CreateSystemInstanceRequest";const _CSIRr = "CreateSystemInstanceResponse";const _CST = "CreateSystemTemplate";const _CSTR = "CreateSystemTemplateRequest";const _CSTRr = "CreateSystemTemplateResponse";const _DD = "DefinitionDocument";const _DEFT = "DissociateEntityFromThing";const _DEFTR = "DissociateEntityFromThingRequest";const _DEFTRi = "DissociateEntityFromThingResponse";const _DFT = "DeleteFlowTemplate";const _DFTR = "DeleteFlowTemplateRequest";const _DFTRe = "DeleteFlowTemplateResponse";const _DFTRep = "DeprecateFlowTemplateRequest";const _DFTRepr = "DeprecateFlowTemplateResponse";const _DFTe = "DeprecateFlowTemplate";const _DN = "DeleteNamespace";const _DNR = "DeleteNamespaceRequest";const _DNRe = "DeleteNamespaceResponse";const _DNRes = "DescribeNamespaceRequest";const _DNResc = "DescribeNamespaceResponse";const _DNe = "DescribeNamespace";const _DR = "DependencyRevision";const _DRe = "DependencyRevisions";const _DSI = "DeleteSystemInstance";const _DSIR = "DeleteSystemInstanceRequest";const _DSIRe = "DeleteSystemInstanceResponse";const _DSIRep = "DeploySystemInstanceRequest";const _DSIRepl = "DeploySystemInstanceResponse";const _DSIe = "DeploySystemInstance";const _DST = "DeleteSystemTemplate";const _DSTR = "DeleteSystemTemplateRequest";const _DSTRe = "DeleteSystemTemplateResponse";const _DSTRep = "DeprecateSystemTemplateRequest";const _DSTRepr = "DeprecateSystemTemplateResponse";const _DSTe = "DeprecateSystemTemplate";const _ED = "EntityDescription";const _EDn = "EntityDescriptions";const _EF = "EntityFilter";const _EFn = "EntityFilters";const _FEM = "FlowExecutionMessage";const _FEMl = "FlowExecutionMessages";const _FES = "FlowExecutionSummary";const _FESl = "FlowExecutionSummaries";const _FTD = "FlowTemplateDescription";const _FTF = "FlowTemplateFilter";const _FTFl = "FlowTemplateFilters";const _FTS = "FlowTemplateSummary";const _FTSl = "FlowTemplateSummaries";const _GE = "GetEntities";const _GER = "GetEntitiesRequest";const _GERe = "GetEntitiesResponse";const _GFT = "GetFlowTemplate";const _GFTR = "GetFlowTemplateRequest";const _GFTRR = "GetFlowTemplateRevisionsRequest";const _GFTRRe = "GetFlowTemplateRevisionsResponse";const _GFTRe = "GetFlowTemplateResponse";const _GFTRet = "GetFlowTemplateRevisions";const _GNDS = "GetNamespaceDeletionStatus";const _GNDSR = "GetNamespaceDeletionStatusRequest";const _GNDSRe = "GetNamespaceDeletionStatusResponse";const _GSI = "GetSystemInstance";const _GSIR = "GetSystemInstanceRequest";const _GSIRe = "GetSystemInstanceResponse";const _GST = "GetSystemTemplate";const _GSTR = "GetSystemTemplateRequest";const _GSTRR = "GetSystemTemplateRevisionsRequest";const _GSTRRe = "GetSystemTemplateRevisionsResponse";const _GSTRe = "GetSystemTemplateResponse";const _GSTRet = "GetSystemTemplateRevisions";const _GUS = "GetUploadStatus";const _GUSR = "GetUploadStatusRequest";const _GUSRe = "GetUploadStatusResponse";const _IFE = "InternalFailureException";const _IRE = "InvalidRequestException";const _LEE = "LimitExceededException";const _LFEM = "ListFlowExecutionMessages";const _LFEMR = "ListFlowExecutionMessagesRequest";const _LFEMRi = "ListFlowExecutionMessagesResponse";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _MC = "MetricsConfiguration";const _RAEE = "ResourceAlreadyExistsException";const _RIUE = "ResourceInUseException";const _RNFE = "ResourceNotFoundException";const _SE = "SearchEntities";const _SER = "SearchEntitiesRequest";const _SERe = "SearchEntitiesResponse";const _SFE = "SearchFlowExecutions";const _SFER = "SearchFlowExecutionsRequest";const _SFERe = "SearchFlowExecutionsResponse";const _SFT = "SearchFlowTemplates";const _SFTR = "SearchFlowTemplatesRequest";const _SFTRe = "SearchFlowTemplatesResponse";const _SID = "SystemInstanceDescription";const _SIF = "SystemInstanceFilter";const _SIFy = "SystemInstanceFilters";const _SIS = "SystemInstanceSummary";const _SISy = "SystemInstanceSummaries";const _SSI = "SearchSystemInstances";const _SSIR = "SearchSystemInstancesRequest";const _SSIRe = "SearchSystemInstancesResponse";const _SST = "SearchSystemTemplates";const _SSTR = "SearchSystemTemplatesRequest";const _SSTRe = "SearchSystemTemplatesResponse";const _ST = "SearchThings";const _STD = "SystemTemplateDescription";const _STF = "SystemTemplateFilter";const _STFy = "SystemTemplateFilters";const _STR = "SearchThingsRequest";const _STRe = "SearchThingsResponse";const _STS = "SystemTemplateSummary";const _STSy = "SystemTemplateSummaries";const _T = "Tag";const _TE = "ThrottlingException";const _TL = "TagList";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _Th = "Thing";const _Thi = "Things";const _UED = "UploadEntityDefinitions";const _UEDR = "UploadEntityDefinitionsRequest";const _UEDRp = "UploadEntityDefinitionsResponse";const _UFT = "UpdateFlowTemplate";const _UFTR = "UpdateFlowTemplateRequest";const _UFTRp = "UpdateFlowTemplateResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _USI = "UndeploySystemInstance";const _USIR = "UndeploySystemInstanceRequest";const _USIRn = "UndeploySystemInstanceResponse";const _UST = "UpdateSystemTemplate";const _USTR = "UpdateSystemTemplateRequest";const _USTRp = "UpdateSystemTemplateResponse";const _a = "arn";const _c = "client";const _cA = "createdAt";const _cD = "createdDate";const _cME = "cloudMetricEnabled";const _cNV = "compatibleNamespaceVersion";const _d = "definition";const _dEE = "deprecateExistingEntities";const _de = "descriptions";const _des = "description";const _do = "document";const _e = "error";const _eC = "errorCode";const _eI = "entityId";const _eM = "errorMessage";const _eT = "entityType";const _eTn = "entityTypes";const _eTnd = "endTime";const _eTv = "eventType";const _f = "filters";const _fARA = "flowActionsRoleArn";const _fEI = "flowExecutionId";const _fR = "failureReason";const _fTI = "flowTemplateId";const _gDI = "greengrassDeploymentId";const _gGI = "greengrassGroupId";const _gGN = "greengrassGroupName";const _gGVI = "greengrassGroupVersionId";const _hE = "httpError";const _i = "id";const _id = "ids";const _k = "key";const _l = "language";const _m = "message";const _mC = "metricsConfiguration";const _mI = "messageId";const _mR = "maxResults";const _mRRA = "metricRuleRoleArn";const _me = "messages";const _n = "name";const _nA = "namespaceArn";const _nN = "namespaceName";const _nT = "nextToken";const _nV = "namespaceVersion";const _p = "payload";const _rA = "resourceArn";const _rN = "revisionNumber";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotthingsgraph";const _sBN = "s3BucketName";const _sII = "systemInstanceId";const _sT = "startTime";const _sWPN = "syncWithPublicNamespace";const _se = "server";const _st = "status";const _su = "summary";const _sum = "summaries";const _t = "target";const _tA = "thingArn";const _tK = "tagKeys";const _tN = "thingName";const _tNN = "trackingNamespaceName";const _tNV = "trackingNamespaceVersion";const _ta = "tags";const _te = "text";const _th = "things";const _ti = "timestamp";const _ty = "type";const _uA = "updatedAt";const _uI = "uploadId";const _uS = "uploadStatus";const _v = "value";const _vDR = "validatedDependencyRevisions";const _vNV = "validatedNamespaceVersion";const n0 = "com.amazonaws.iotthingsgraph";const _s_registry = TypeRegistry.for(_s);var IoTThingsGraphServiceException$ = [-3, _s, "IoTThingsGraphServiceException", 0, [], []];_s_registry.registerError(IoTThingsGraphServiceException$, IoTThingsGraphServiceException);const n0_registry = TypeRegistry.for(n0);var InternalFailureException$ = [-3, n0, _IFE,    { [_e]: _se, [_hE]: 500 },    [_m],    [0]];n0_registry.registerError(InternalFailureException$, InternalFailureException);var InvalidRequestException$ = [-3, n0, _IRE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidRequestException$, InvalidRequestException);var LimitExceededException$ = [-3, n0, _LEE,    { [_e]: _c, [_hE]: 410 },    [_m],    [0]];n0_registry.registerError(LimitExceededException$, LimitExceededException);var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,    { [_e]: _c, [_hE]: 409 },    [_m],    [0]];n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);var ResourceInUseException$ = [-3, n0, _RIUE,    { [_e]: _c, [_hE]: 412 },    [_m],    [0]];n0_registry.registerError(ResourceInUseException$, ResourceInUseException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ThrottlingException$ = [-3, n0, _TE,    { [_e]: _c, [_hE]: 429 },    [_m],    [0]];n0_registry.registerError(ThrottlingException$, ThrottlingException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var AssociateEntityToThingRequest$ = [3, n0, _AETTR,    0,    [_tN, _eI, _nV],    [0, 0, 1], 2];var AssociateEntityToThingResponse$ = [3, n0, _AETTRs,    0,    [],    []];var CreateFlowTemplateRequest$ = [3, n0, _CFTR,    0,    [_d, _cNV],    [() => DefinitionDocument$, 1], 1];var CreateFlowTemplateResponse$ = [3, n0, _CFTRr,    0,    [_su],    [() => FlowTemplateSummary$]];var CreateSystemInstanceRequest$ = [3, n0, _CSIR,    0,    [_d, _t, _ta, _gGN, _sBN, _mC, _fARA],    [() => DefinitionDocument$, 0, () => TagList, 0, 0, () => MetricsConfiguration$, 0], 2];var CreateSystemInstanceResponse$ = [3, n0, _CSIRr,    0,    [_su],    [() => SystemInstanceSummary$]];var CreateSystemTemplateRequest$ = [3, n0, _CSTR,    0,    [_d, _cNV],    [() => DefinitionDocument$, 1], 1];var CreateSystemTemplateResponse$ = [3, n0, _CSTRr,    0,    [_su],    [() => SystemTemplateSummary$]];var DefinitionDocument$ = [3, n0, _DD,    0,    [_l, _te],    [0, 0], 2];var DeleteFlowTemplateRequest$ = [3, n0, _DFTR,    0,    [_i],    [0], 1];var DeleteFlowTemplateResponse$ = [3, n0, _DFTRe,    0,    [],    []];var DeleteNamespaceRequest$ = [3, n0, _DNR,    0,    [],    []];var DeleteNamespaceResponse$ = [3, n0, _DNRe,    0,    [_nA, _nN],    [0, 0]];var DeleteSystemInstanceRequest$ = [3, n0, _DSIR,    0,    [_i],    [0]];var DeleteSystemInstanceResponse$ = [3, n0, _DSIRe,    0,    [],    []];var DeleteSystemTemplateRequest$ = [3, n0, _DSTR,    0,    [_i],    [0], 1];var DeleteSystemTemplateResponse$ = [3, n0, _DSTRe,    0,    [],    []];var DependencyRevision$ = [3, n0, _DR,    0,    [_i, _rN],    [0, 1]];var DeploySystemInstanceRequest$ = [3, n0, _DSIRep,    0,    [_i],    [0]];var DeploySystemInstanceResponse$ = [3, n0, _DSIRepl,    0,    [_su, _gDI],    [() => SystemInstanceSummary$, 0], 1];var DeprecateFlowTemplateRequest$ = [3, n0, _DFTRep,    0,    [_i],    [0], 1];var DeprecateFlowTemplateResponse$ = [3, n0, _DFTRepr,    0,    [],    []];var DeprecateSystemTemplateRequest$ = [3, n0, _DSTRep,    0,    [_i],    [0], 1];var DeprecateSystemTemplateResponse$ = [3, n0, _DSTRepr,    0,    [],    []];var DescribeNamespaceRequest$ = [3, n0, _DNRes,    0,    [_nN],    [0]];var DescribeNamespaceResponse$ = [3, n0, _DNResc,    0,    [_nA, _nN, _tNN, _tNV, _nV],    [0, 0, 0, 1, 1]];var DissociateEntityFromThingRequest$ = [3, n0, _DEFTR,    0,    [_tN, _eT],    [0, 0], 2];var DissociateEntityFromThingResponse$ = [3, n0, _DEFTRi,    0,    [],    []];var EntityDescription$ = [3, n0, _ED,    0,    [_i, _a, _ty, _cA, _d],    [0, 0, 0, 4, () => DefinitionDocument$]];var EntityFilter$ = [3, n0, _EF,    0,    [_n, _v],    [0, 64 | 0]];var FlowExecutionMessage$ = [3, n0, _FEM,    0,    [_mI, _eTv, _ti, _p],    [0, 0, 4, 0]];var FlowExecutionSummary$ = [3, n0, _FES,    0,    [_fEI, _st, _sII, _fTI, _cA, _uA],    [0, 0, 0, 0, 4, 4]];var FlowTemplateDescription$ = [3, n0, _FTD,    0,    [_su, _d, _vNV],    [() => FlowTemplateSummary$, () => DefinitionDocument$, 1]];var FlowTemplateFilter$ = [3, n0, _FTF,    0,    [_n, _v],    [0, 64 | 0], 2];var FlowTemplateSummary$ = [3, n0, _FTS,    0,    [_i, _a, _rN, _cA],    [0, 0, 1, 4]];var GetEntitiesRequest$ = [3, n0, _GER,    0,    [_id, _nV],    [64 | 0, 1], 1];var GetEntitiesResponse$ = [3, n0, _GERe,    0,    [_de],    [() => EntityDescriptions]];var GetFlowTemplateRequest$ = [3, n0, _GFTR,    0,    [_i, _rN],    [0, 1], 1];var GetFlowTemplateResponse$ = [3, n0, _GFTRe,    0,    [_des],    [() => FlowTemplateDescription$]];var GetFlowTemplateRevisionsRequest$ = [3, n0, _GFTRR,    0,    [_i, _nT, _mR],    [0, 0, 1], 1];var GetFlowTemplateRevisionsResponse$ = [3, n0, _GFTRRe,    0,    [_sum, _nT],    [() => FlowTemplateSummaries, 0]];var GetNamespaceDeletionStatusRequest$ = [3, n0, _GNDSR,    0,    [],    []];var GetNamespaceDeletionStatusResponse$ = [3, n0, _GNDSRe,    0,    [_nA, _nN, _st, _eC, _eM],    [0, 0, 0, 0, 0]];var GetSystemInstanceRequest$ = [3, n0, _GSIR,    0,    [_i],    [0], 1];var GetSystemInstanceResponse$ = [3, n0, _GSIRe,    0,    [_des],    [() => SystemInstanceDescription$]];var GetSystemTemplateRequest$ = [3, n0, _GSTR,    0,    [_i, _rN],    [0, 1], 1];var GetSystemTemplateResponse$ = [3, n0, _GSTRe,    0,    [_des],    [() => SystemTemplateDescription$]];var GetSystemTemplateRevisionsRequest$ = [3, n0, _GSTRR,    0,    [_i, _nT, _mR],    [0, 0, 1], 1];var GetSystemTemplateRevisionsResponse$ = [3, n0, _GSTRRe,    0,    [_sum, _nT],    [() => SystemTemplateSummaries, 0]];var GetUploadStatusRequest$ = [3, n0, _GUSR,    0,    [_uI],    [0], 1];var GetUploadStatusResponse$ = [3, n0, _GUSRe,    0,    [_uI, _uS, _cD, _nA, _nN, _nV, _fR],    [0, 0, 4, 0, 0, 1, 64 | 0], 3];var ListFlowExecutionMessagesRequest$ = [3, n0, _LFEMR,    0,    [_fEI, _nT, _mR],    [0, 0, 1], 1];var ListFlowExecutionMessagesResponse$ = [3, n0, _LFEMRi,    0,    [_me, _nT],    [() => FlowExecutionMessages, 0]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_rA, _mR, _nT],    [0, 1, 0], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_ta, _nT],    [() => TagList, 0]];var MetricsConfiguration$ = [3, n0, _MC,    0,    [_cME, _mRRA],    [2, 0]];var SearchEntitiesRequest$ = [3, n0, _SER,    0,    [_eTn, _f, _nT, _mR, _nV],    [64 | 0, () => EntityFilters, 0, 1, 1], 1];var SearchEntitiesResponse$ = [3, n0, _SERe,    0,    [_de, _nT],    [() => EntityDescriptions, 0]];var SearchFlowExecutionsRequest$ = [3, n0, _SFER,    0,    [_sII, _fEI, _sT, _eTnd, _nT, _mR],    [0, 0, 4, 4, 0, 1], 1];var SearchFlowExecutionsResponse$ = [3, n0, _SFERe,    0,    [_sum, _nT],    [() => FlowExecutionSummaries, 0]];var SearchFlowTemplatesRequest$ = [3, n0, _SFTR,    0,    [_f, _nT, _mR],    [() => FlowTemplateFilters, 0, 1]];var SearchFlowTemplatesResponse$ = [3, n0, _SFTRe,    0,    [_sum, _nT],    [() => FlowTemplateSummaries, 0]];var SearchSystemInstancesRequest$ = [3, n0, _SSIR,    0,    [_f, _nT, _mR],    [() => SystemInstanceFilters, 0, 1]];var SearchSystemInstancesResponse$ = [3, n0, _SSIRe,    0,    [_sum, _nT],    [() => SystemInstanceSummaries, 0]];var SearchSystemTemplatesRequest$ = [3, n0, _SSTR,    0,    [_f, _nT, _mR],    [() => SystemTemplateFilters, 0, 1]];var SearchSystemTemplatesResponse$ = [3, n0, _SSTRe,    0,    [_sum, _nT],    [() => SystemTemplateSummaries, 0]];var SearchThingsRequest$ = [3, n0, _STR,    0,    [_eI, _nT, _mR, _nV],    [0, 0, 1, 1], 1];var SearchThingsResponse$ = [3, n0, _STRe,    0,    [_th, _nT],    [() => Things, 0]];var SystemInstanceDescription$ = [3, n0, _SID,    0,    [_su, _d, _sBN, _mC, _vNV, _vDR, _fARA],    [() => SystemInstanceSummary$, () => DefinitionDocument$, 0, () => MetricsConfiguration$, 1, () => DependencyRevisions, 0]];var SystemInstanceFilter$ = [3, n0, _SIF,    0,    [_n, _v],    [0, 64 | 0]];var SystemInstanceSummary$ = [3, n0, _SIS,    0,    [_i, _a, _st, _t, _gGN, _cA, _uA, _gGI, _gGVI],    [0, 0, 0, 0, 0, 4, 4, 0, 0]];var SystemTemplateDescription$ = [3, n0, _STD,    0,    [_su, _d, _vNV],    [() => SystemTemplateSummary$, () => DefinitionDocument$, 1]];var SystemTemplateFilter$ = [3, n0, _STF,    0,    [_n, _v],    [0, 64 | 0], 2];var SystemTemplateSummary$ = [3, n0, _STS,    0,    [_i, _a, _rN, _cA],    [0, 0, 1, 4]];var Tag$ = [3, n0, _T,    0,    [_k, _v],    [0, 0], 2];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_rA, _ta],    [0, () => TagList], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [],    []];var Thing$ = [3, n0, _Th,    0,    [_tA, _tN],    [0, 0]];var UndeploySystemInstanceRequest$ = [3, n0, _USIR,    0,    [_i],    [0]];var UndeploySystemInstanceResponse$ = [3, n0, _USIRn,    0,    [_su],    [() => SystemInstanceSummary$]];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_rA, _tK],    [0, 64 | 0], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [],    []];var UpdateFlowTemplateRequest$ = [3, n0, _UFTR,    0,    [_i, _d, _cNV],    [0, () => DefinitionDocument$, 1], 2];var UpdateFlowTemplateResponse$ = [3, n0, _UFTRp,    0,    [_su],    [() => FlowTemplateSummary$]];var UpdateSystemTemplateRequest$ = [3, n0, _USTR,    0,    [_i, _d, _cNV],    [0, () => DefinitionDocument$, 1], 2];var UpdateSystemTemplateResponse$ = [3, n0, _USTRp,    0,    [_su],    [() => SystemTemplateSummary$]];var UploadEntityDefinitionsRequest$ = [3, n0, _UEDR,    0,    [_do, _sWPN, _dEE],    [() => DefinitionDocument$, 2, 2]];var UploadEntityDefinitionsResponse$ = [3, n0, _UEDRp,    0,    [_uI],    [0], 1];var DependencyRevisions = [1, n0, _DRe,    0, () => DependencyRevision$];var EntityDescriptions = [1, n0, _EDn,    0, () => EntityDescription$];var EntityFilters = [1, n0, _EFn,    0, () => EntityFilter$];var FlowExecutionMessages = [1, n0, _FEMl,    0, () => FlowExecutionMessage$];var FlowExecutionSummaries = [1, n0, _FESl,    0, () => FlowExecutionSummary$];var FlowTemplateFilters = [1, n0, _FTFl,    0, () => FlowTemplateFilter$];var FlowTemplateSummaries = [1, n0, _FTSl,    0, () => FlowTemplateSummary$];var SystemInstanceFilters = [1, n0, _SIFy,    0, () => SystemInstanceFilter$];var SystemInstanceSummaries = [1, n0, _SISy,    0, () => SystemInstanceSummary$];var SystemTemplateFilters = [1, n0, _STFy,    0, () => SystemTemplateFilter$];var SystemTemplateSummaries = [1, n0, _STSy,    0, () => SystemTemplateSummary$];var TagList = [1, n0, _TL,    0, () => Tag$];var Things = [1, n0, _Thi,    0, () => Thing$];var AssociateEntityToThing$ = [9, n0, _AETT,    0, () => AssociateEntityToThingRequest$, () => AssociateEntityToThingResponse$];var CreateFlowTemplate$ = [9, n0, _CFT,    0, () => CreateFlowTemplateRequest$, () => CreateFlowTemplateResponse$];var CreateSystemInstance$ = [9, n0, _CSI,    0, () => CreateSystemInstanceRequest$, () => CreateSystemInstanceResponse$];var CreateSystemTemplate$ = [9, n0, _CST,    0, () => CreateSystemTemplateRequest$, () => CreateSystemTemplateResponse$];var DeleteFlowTemplate$ = [9, n0, _DFT,    0, () => DeleteFlowTemplateRequest$, () => DeleteFlowTemplateResponse$];var DeleteNamespace$ = [9, n0, _DN,    0, () => DeleteNamespaceRequest$, () => DeleteNamespaceResponse$];var DeleteSystemInstance$ = [9, n0, _DSI,    0, () => DeleteSystemInstanceRequest$, () => DeleteSystemInstanceResponse$];var DeleteSystemTemplate$ = [9, n0, _DST,    0, () => DeleteSystemTemplateRequest$, () => DeleteSystemTemplateResponse$];var DeploySystemInstance$ = [9, n0, _DSIe,    0, () => DeploySystemInstanceRequest$, () => DeploySystemInstanceResponse$];var DeprecateFlowTemplate$ = [9, n0, _DFTe,    0, () => DeprecateFlowTemplateRequest$, () => DeprecateFlowTemplateResponse$];var DeprecateSystemTemplate$ = [9, n0, _DSTe,    0, () => DeprecateSystemTemplateRequest$, () => DeprecateSystemTemplateResponse$];var DescribeNamespace$ = [9, n0, _DNe,    0, () => DescribeNamespaceRequest$, () => DescribeNamespaceResponse$];var DissociateEntityFromThing$ = [9, n0, _DEFT,    0, () => DissociateEntityFromThingRequest$, () => DissociateEntityFromThingResponse$];var GetEntities$ = [9, n0, _GE,    0, () => GetEntitiesRequest$, () => GetEntitiesResponse$];var GetFlowTemplate$ = [9, n0, _GFT,    0, () => GetFlowTemplateRequest$, () => GetFlowTemplateResponse$];var GetFlowTemplateRevisions$ = [9, n0, _GFTRet,    0, () => GetFlowTemplateRevisionsRequest$, () => GetFlowTemplateRevisionsResponse$];var GetNamespaceDeletionStatus$ = [9, n0, _GNDS,    0, () => GetNamespaceDeletionStatusRequest$, () => GetNamespaceDeletionStatusResponse$];var GetSystemInstance$ = [9, n0, _GSI,    0, () => GetSystemInstanceRequest$, () => GetSystemInstanceResponse$];var GetSystemTemplate$ = [9, n0, _GST,    0, () => GetSystemTemplateRequest$, () => GetSystemTemplateResponse$];var GetSystemTemplateRevisions$ = [9, n0, _GSTRet,    0, () => GetSystemTemplateRevisionsRequest$, () => GetSystemTemplateRevisionsResponse$];var GetUploadStatus$ = [9, n0, _GUS,    0, () => GetUploadStatusRequest$, () => GetUploadStatusResponse$];var ListFlowExecutionMessages$ = [9, n0, _LFEM,    0, () => ListFlowExecutionMessagesRequest$, () => ListFlowExecutionMessagesResponse$];var ListTagsForResource$ = [9, n0, _LTFR,    0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var SearchEntities$ = [9, n0, _SE,    0, () => SearchEntitiesRequest$, () => SearchEntitiesResponse$];var SearchFlowExecutions$ = [9, n0, _SFE,    0, () => SearchFlowExecutionsRequest$, () => SearchFlowExecutionsResponse$];var SearchFlowTemplates$ = [9, n0, _SFT,    0, () => SearchFlowTemplatesRequest$, () => SearchFlowTemplatesResponse$];var SearchSystemInstances$ = [9, n0, _SSI,    0, () => SearchSystemInstancesRequest$, () => SearchSystemInstancesResponse$];var SearchSystemTemplates$ = [9, n0, _SST,    0, () => SearchSystemTemplatesRequest$, () => SearchSystemTemplatesResponse$];var SearchThings$ = [9, n0, _ST,    0, () => SearchThingsRequest$, () => SearchThingsResponse$];var TagResource$ = [9, n0, _TR,    0, () => TagResourceRequest$, () => TagResourceResponse$];var UndeploySystemInstance$ = [9, n0, _USI,    0, () => UndeploySystemInstanceRequest$, () => UndeploySystemInstanceResponse$];var UntagResource$ = [9, n0, _UR,    0, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateFlowTemplate$ = [9, n0, _UFT,    0, () => UpdateFlowTemplateRequest$, () => UpdateFlowTemplateResponse$];var UpdateSystemTemplate$ = [9, n0, _UST,    0, () => UpdateSystemTemplateRequest$, () => UpdateSystemTemplateResponse$];var UploadEntityDefinitions$ = [9, n0, _UED,    0, () => UploadEntityDefinitionsRequest$, () => UploadEntityDefinitionsResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2018-09-06",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultIoTThingsGraphHttpAuthSchemeProvider,        httpAuthSchemes: config?.httpAuthSchemes ?? [            {                schemeId: "aws.auth#sigv4",                identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),                signer: new AwsSdkSigV4Signer(),            },        ],        logger: config?.logger ?? new NoOpLogger(),        protocol: config?.protocol ?? AwsJson1_1Protocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.iotthingsgraph",            errorTypeRegistries,            version: "2018-09-06",            serviceTarget: "IotThingsGraphFrontEndService",        },        serviceId: config?.serviceId ?? "IoTThingsGraph",        sha256: config?.sha256 ?? Sha256,        urlParser: config?.urlParser ?? parseUrl,        utf8Decoder: config?.utf8Decoder ?? fromUtf8,        utf8Encoder: config?.utf8Encoder ?? toUtf8,    };}; const getRuntimeConfig = (config) => {    emitWarningIfUnsupportedVersion(process.version);    const defaultsMode = resolveDefaultsModeConfig(config);    const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);    const clientSharedValues = getRuntimeConfig$1(config);    emitWarningIfUnsupportedVersion$1(process.version);    const loaderConfig = {        profile: config?.profile,        logger: clientSharedValues.logger,    };    return {        ...clientSharedValues,        ...config,        runtime: "node",        defaultsMode,        authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),        bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,        credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,        defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),        maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),        region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),        requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),        retryMode: config?.retryMode ??            loadConfig({                ...NODE_RETRY_MODE_CONFIG_OPTIONS,                default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,            }, config),        streamCollector: config?.streamCollector ?? streamCollector,        useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),    };}; 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(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class IoTThingsGraphClient extends Client {    config;    constructor(...[configuration]) {        const _config_0 = getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = resolveUserAgentConfig(_config_1);        const _config_3 = resolveRetryConfig(_config_2);        const _config_4 = resolveRegionConfig(_config_3);        const _config_5 = resolveHostHeaderConfig(_config_4);        const _config_6 = resolveEndpointConfig(_config_5);        const _config_7 = resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(getSchemaSerdePlugin(this.config));        this.middlewareStack.use(getUserAgentPlugin(this.config));        this.middlewareStack.use(getRetryPlugin(this.config));        this.middlewareStack.use(getContentLengthPlugin(this.config));        this.middlewareStack.use(getHostHeaderPlugin(this.config));        this.middlewareStack.use(getLoggerPlugin(this.config));        this.middlewareStack.use(getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: defaultIoTThingsGraphHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "IotThingsGraphFrontEndService", "IoTThingsGraphClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class AssociateEntityToThingCommand extends command(_ep0, _mw0, "AssociateEntityToThing", AssociateEntityToThing$) {} class CreateFlowTemplateCommand extends command(_ep0, _mw0, "CreateFlowTemplate", CreateFlowTemplate$) {} class CreateSystemInstanceCommand extends command(_ep0, _mw0, "CreateSystemInstance", CreateSystemInstance$) {} class CreateSystemTemplateCommand extends command(_ep0, _mw0, "CreateSystemTemplate", CreateSystemTemplate$) {} class DeleteFlowTemplateCommand extends command(_ep0, _mw0, "DeleteFlowTemplate", DeleteFlowTemplate$) {} class DeleteNamespaceCommand extends command(_ep0, _mw0, "DeleteNamespace", DeleteNamespace$) {} class DeleteSystemInstanceCommand extends command(_ep0, _mw0, "DeleteSystemInstance", DeleteSystemInstance$) {} class DeleteSystemTemplateCommand extends command(_ep0, _mw0, "DeleteSystemTemplate", DeleteSystemTemplate$) {} class DeploySystemInstanceCommand extends command(_ep0, _mw0, "DeploySystemInstance", DeploySystemInstance$) {} class DeprecateFlowTemplateCommand extends command(_ep0, _mw0, "DeprecateFlowTemplate", DeprecateFlowTemplate$) {} class DeprecateSystemTemplateCommand extends command(_ep0, _mw0, "DeprecateSystemTemplate", DeprecateSystemTemplate$) {} class DescribeNamespaceCommand extends command(_ep0, _mw0, "DescribeNamespace", DescribeNamespace$) {} class DissociateEntityFromThingCommand extends command(_ep0, _mw0, "DissociateEntityFromThing", DissociateEntityFromThing$) {} class GetEntitiesCommand extends command(_ep0, _mw0, "GetEntities", GetEntities$) {} class GetFlowTemplateCommand extends command(_ep0, _mw0, "GetFlowTemplate", GetFlowTemplate$) {} class GetFlowTemplateRevisionsCommand extends command(_ep0, _mw0, "GetFlowTemplateRevisions", GetFlowTemplateRevisions$) {} class GetNamespaceDeletionStatusCommand extends command(_ep0, _mw0, "GetNamespaceDeletionStatus", GetNamespaceDeletionStatus$) {} class GetSystemInstanceCommand extends command(_ep0, _mw0, "GetSystemInstance", GetSystemInstance$) {} class GetSystemTemplateCommand extends command(_ep0, _mw0, "GetSystemTemplate", GetSystemTemplate$) {} class GetSystemTemplateRevisionsCommand extends command(_ep0, _mw0, "GetSystemTemplateRevisions", GetSystemTemplateRevisions$) {} class GetUploadStatusCommand extends command(_ep0, _mw0, "GetUploadStatus", GetUploadStatus$) {} class ListFlowExecutionMessagesCommand extends command(_ep0, _mw0, "ListFlowExecutionMessages", ListFlowExecutionMessages$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class SearchEntitiesCommand extends command(_ep0, _mw0, "SearchEntities", SearchEntities$) {} class SearchFlowExecutionsCommand extends command(_ep0, _mw0, "SearchFlowExecutions", SearchFlowExecutions$) {} class SearchFlowTemplatesCommand extends command(_ep0, _mw0, "SearchFlowTemplates", SearchFlowTemplates$) {} class SearchSystemInstancesCommand extends command(_ep0, _mw0, "SearchSystemInstances", SearchSystemInstances$) {} class SearchSystemTemplatesCommand extends command(_ep0, _mw0, "SearchSystemTemplates", SearchSystemTemplates$) {} class SearchThingsCommand extends command(_ep0, _mw0, "SearchThings", SearchThings$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UndeploySystemInstanceCommand extends command(_ep0, _mw0, "UndeploySystemInstance", UndeploySystemInstance$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateFlowTemplateCommand extends command(_ep0, _mw0, "UpdateFlowTemplate", UpdateFlowTemplate$) {} class UpdateSystemTemplateCommand extends command(_ep0, _mw0, "UpdateSystemTemplate", UpdateSystemTemplate$) {} class UploadEntityDefinitionsCommand extends command(_ep0, _mw0, "UploadEntityDefinitions", UploadEntityDefinitions$) {} const paginateGetFlowTemplateRevisions = createPaginator(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); const paginateGetSystemTemplateRevisions = createPaginator(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFlowExecutionMessages = createPaginator(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults"); const paginateListTagsForResource = createPaginator(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchEntities = createPaginator(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchFlowExecutions = createPaginator(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchFlowTemplates = createPaginator(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSystemInstances = createPaginator(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSystemTemplates = createPaginator(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchThings = 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 {}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.AssociateEntityToThing$ = AssociateEntityToThing$;exports.AssociateEntityToThingCommand = AssociateEntityToThingCommand;exports.AssociateEntityToThingRequest$ = AssociateEntityToThingRequest$;exports.AssociateEntityToThingResponse$ = AssociateEntityToThingResponse$;exports.CreateFlowTemplate$ = CreateFlowTemplate$;exports.CreateFlowTemplateCommand = CreateFlowTemplateCommand;exports.CreateFlowTemplateRequest$ = CreateFlowTemplateRequest$;exports.CreateFlowTemplateResponse$ = CreateFlowTemplateResponse$;exports.CreateSystemInstance$ = CreateSystemInstance$;exports.CreateSystemInstanceCommand = CreateSystemInstanceCommand;exports.CreateSystemInstanceRequest$ = CreateSystemInstanceRequest$;exports.CreateSystemInstanceResponse$ = CreateSystemInstanceResponse$;exports.CreateSystemTemplate$ = CreateSystemTemplate$;exports.CreateSystemTemplateCommand = CreateSystemTemplateCommand;exports.CreateSystemTemplateRequest$ = CreateSystemTemplateRequest$;exports.CreateSystemTemplateResponse$ = CreateSystemTemplateResponse$;exports.DefinitionDocument$ = DefinitionDocument$;exports.DefinitionLanguage = DefinitionLanguage;exports.DeleteFlowTemplate$ = DeleteFlowTemplate$;exports.DeleteFlowTemplateCommand = DeleteFlowTemplateCommand;exports.DeleteFlowTemplateRequest$ = DeleteFlowTemplateRequest$;exports.DeleteFlowTemplateResponse$ = DeleteFlowTemplateResponse$;exports.DeleteNamespace$ = DeleteNamespace$;exports.DeleteNamespaceCommand = DeleteNamespaceCommand;exports.DeleteNamespaceRequest$ = DeleteNamespaceRequest$;exports.DeleteNamespaceResponse$ = DeleteNamespaceResponse$;exports.DeleteSystemInstance$ = DeleteSystemInstance$;exports.DeleteSystemInstanceCommand = DeleteSystemInstanceCommand;exports.DeleteSystemInstanceRequest$ = DeleteSystemInstanceRequest$;exports.DeleteSystemInstanceResponse$ = DeleteSystemInstanceResponse$;exports.DeleteSystemTemplate$ = DeleteSystemTemplate$;exports.DeleteSystemTemplateCommand = DeleteSystemTemplateCommand;exports.DeleteSystemTemplateRequest$ = DeleteSystemTemplateRequest$;exports.DeleteSystemTemplateResponse$ = DeleteSystemTemplateResponse$;exports.DependencyRevision$ = DependencyRevision$;exports.DeploySystemInstance$ = DeploySystemInstance$;exports.DeploySystemInstanceCommand = DeploySystemInstanceCommand;exports.DeploySystemInstanceRequest$ = DeploySystemInstanceRequest$;exports.DeploySystemInstanceResponse$ = DeploySystemInstanceResponse$;exports.DeploymentTarget = DeploymentTarget;exports.DeprecateFlowTemplate$ = DeprecateFlowTemplate$;exports.DeprecateFlowTemplateCommand = DeprecateFlowTemplateCommand;exports.DeprecateFlowTemplateRequest$ = DeprecateFlowTemplateRequest$;exports.DeprecateFlowTemplateResponse$ = DeprecateFlowTemplateResponse$;exports.DeprecateSystemTemplate$ = DeprecateSystemTemplate$;exports.DeprecateSystemTemplateCommand = DeprecateSystemTemplateCommand;exports.DeprecateSystemTemplateRequest$ = DeprecateSystemTemplateRequest$;exports.DeprecateSystemTemplateResponse$ = DeprecateSystemTemplateResponse$;exports.DescribeNamespace$ = DescribeNamespace$;exports.DescribeNamespaceCommand = DescribeNamespaceCommand;exports.DescribeNamespaceRequest$ = DescribeNamespaceRequest$;exports.DescribeNamespaceResponse$ = DescribeNamespaceResponse$;exports.DissociateEntityFromThing$ = DissociateEntityFromThing$;exports.DissociateEntityFromThingCommand = DissociateEntityFromThingCommand;exports.DissociateEntityFromThingRequest$ = DissociateEntityFromThingRequest$;exports.DissociateEntityFromThingResponse$ = DissociateEntityFromThingResponse$;exports.EntityDescription$ = EntityDescription$;exports.EntityFilter$ = EntityFilter$;exports.EntityFilterName = EntityFilterName;exports.EntityType = EntityType;exports.FlowExecutionEventType = FlowExecutionEventType;exports.FlowExecutionMessage$ = FlowExecutionMessage$;exports.FlowExecutionStatus = FlowExecutionStatus;exports.FlowExecutionSummary$ = FlowExecutionSummary$;exports.FlowTemplateDescription$ = FlowTemplateDescription$;exports.FlowTemplateFilter$ = FlowTemplateFilter$;exports.FlowTemplateFilterName = FlowTemplateFilterName;exports.FlowTemplateSummary$ = FlowTemplateSummary$;exports.GetEntities$ = GetEntities$;exports.GetEntitiesCommand = GetEntitiesCommand;exports.GetEntitiesRequest$ = GetEntitiesRequest$;exports.GetEntitiesResponse$ = GetEntitiesResponse$;exports.GetFlowTemplate$ = GetFlowTemplate$;exports.GetFlowTemplateCommand = GetFlowTemplateCommand;exports.GetFlowTemplateRequest$ = GetFlowTemplateRequest$;exports.GetFlowTemplateResponse$ = GetFlowTemplateResponse$;exports.GetFlowTemplateRevisions$ = GetFlowTemplateRevisions$;exports.GetFlowTemplateRevisionsCommand = GetFlowTemplateRevisionsCommand;exports.GetFlowTemplateRevisionsRequest$ = GetFlowTemplateRevisionsRequest$;exports.GetFlowTemplateRevisionsResponse$ = GetFlowTemplateRevisionsResponse$;exports.GetNamespaceDeletionStatus$ = GetNamespaceDeletionStatus$;exports.GetNamespaceDeletionStatusCommand = GetNamespaceDeletionStatusCommand;exports.GetNamespaceDeletionStatusRequest$ = GetNamespaceDeletionStatusRequest$;exports.GetNamespaceDeletionStatusResponse$ = GetNamespaceDeletionStatusResponse$;exports.GetSystemInstance$ = GetSystemInstance$;exports.GetSystemInstanceCommand = GetSystemInstanceCommand;exports.GetSystemInstanceRequest$ = GetSystemInstanceRequest$;exports.GetSystemInstanceResponse$ = GetSystemInstanceResponse$;exports.GetSystemTemplate$ = GetSystemTemplate$;exports.GetSystemTemplateCommand = GetSystemTemplateCommand;exports.GetSystemTemplateRequest$ = GetSystemTemplateRequest$;exports.GetSystemTemplateResponse$ = GetSystemTemplateResponse$;exports.GetSystemTemplateRevisions$ = GetSystemTemplateRevisions$;exports.GetSystemTemplateRevisionsCommand = GetSystemTemplateRevisionsCommand;exports.GetSystemTemplateRevisionsRequest$ = GetSystemTemplateRevisionsRequest$;exports.GetSystemTemplateRevisionsResponse$ = GetSystemTemplateRevisionsResponse$;exports.GetUploadStatus$ = GetUploadStatus$;exports.GetUploadStatusCommand = GetUploadStatusCommand;exports.GetUploadStatusRequest$ = GetUploadStatusRequest$;exports.GetUploadStatusResponse$ = GetUploadStatusResponse$;exports.InternalFailureException = InternalFailureException;exports.InternalFailureException$ = InternalFailureException$;exports.InvalidRequestException = InvalidRequestException;exports.InvalidRequestException$ = InvalidRequestException$;exports.IoTThingsGraph = IoTThingsGraph;exports.IoTThingsGraphClient = IoTThingsGraphClient;exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException;exports.IoTThingsGraphServiceException$ = IoTThingsGraphServiceException$;exports.LimitExceededException = LimitExceededException;exports.LimitExceededException$ = LimitExceededException$;exports.ListFlowExecutionMessages$ = ListFlowExecutionMessages$;exports.ListFlowExecutionMessagesCommand = ListFlowExecutionMessagesCommand;exports.ListFlowExecutionMessagesRequest$ = ListFlowExecutionMessagesRequest$;exports.ListFlowExecutionMessagesResponse$ = ListFlowExecutionMessagesResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.MetricsConfiguration$ = MetricsConfiguration$;exports.NamespaceDeletionStatus = NamespaceDeletionStatus;exports.NamespaceDeletionStatusErrorCodes = NamespaceDeletionStatusErrorCodes;exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;exports.ResourceInUseException = ResourceInUseException;exports.ResourceInUseException$ = ResourceInUseException$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.SearchEntities$ = SearchEntities$;exports.SearchEntitiesCommand = SearchEntitiesCommand;exports.SearchEntitiesRequest$ = SearchEntitiesRequest$;exports.SearchEntitiesResponse$ = SearchEntitiesResponse$;exports.SearchFlowExecutions$ = SearchFlowExecutions$;exports.SearchFlowExecutionsCommand = SearchFlowExecutionsCommand;exports.SearchFlowExecutionsRequest$ = SearchFlowExecutionsRequest$;exports.SearchFlowExecutionsResponse$ = SearchFlowExecutionsResponse$;exports.SearchFlowTemplates$ = SearchFlowTemplates$;exports.SearchFlowTemplatesCommand = SearchFlowTemplatesCommand;exports.SearchFlowTemplatesRequest$ = SearchFlowTemplatesRequest$;exports.SearchFlowTemplatesResponse$ = SearchFlowTemplatesResponse$;exports.SearchSystemInstances$ = SearchSystemInstances$;exports.SearchSystemInstancesCommand = SearchSystemInstancesCommand;exports.SearchSystemInstancesRequest$ = SearchSystemInstancesRequest$;exports.SearchSystemInstancesResponse$ = SearchSystemInstancesResponse$;exports.SearchSystemTemplates$ = SearchSystemTemplates$;exports.SearchSystemTemplatesCommand = SearchSystemTemplatesCommand;exports.SearchSystemTemplatesRequest$ = SearchSystemTemplatesRequest$;exports.SearchSystemTemplatesResponse$ = SearchSystemTemplatesResponse$;exports.SearchThings$ = SearchThings$;exports.SearchThingsCommand = SearchThingsCommand;exports.SearchThingsRequest$ = SearchThingsRequest$;exports.SearchThingsResponse$ = SearchThingsResponse$;exports.SystemInstanceDeploymentStatus = SystemInstanceDeploymentStatus;exports.SystemInstanceDescription$ = SystemInstanceDescription$;exports.SystemInstanceFilter$ = SystemInstanceFilter$;exports.SystemInstanceFilterName = SystemInstanceFilterName;exports.SystemInstanceSummary$ = SystemInstanceSummary$;exports.SystemTemplateDescription$ = SystemTemplateDescription$;exports.SystemTemplateFilter$ = SystemTemplateFilter$;exports.SystemTemplateFilterName = SystemTemplateFilterName;exports.SystemTemplateSummary$ = SystemTemplateSummary$;exports.Tag$ = Tag$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.Thing$ = Thing$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.UndeploySystemInstance$ = UndeploySystemInstance$;exports.UndeploySystemInstanceCommand = UndeploySystemInstanceCommand;exports.UndeploySystemInstanceRequest$ = UndeploySystemInstanceRequest$;exports.UndeploySystemInstanceResponse$ = UndeploySystemInstanceResponse$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateFlowTemplate$ = UpdateFlowTemplate$;exports.UpdateFlowTemplateCommand = UpdateFlowTemplateCommand;exports.UpdateFlowTemplateRequest$ = UpdateFlowTemplateRequest$;exports.UpdateFlowTemplateResponse$ = UpdateFlowTemplateResponse$;exports.UpdateSystemTemplate$ = UpdateSystemTemplate$;exports.UpdateSystemTemplateCommand = UpdateSystemTemplateCommand;exports.UpdateSystemTemplateRequest$ = UpdateSystemTemplateRequest$;exports.UpdateSystemTemplateResponse$ = UpdateSystemTemplateResponse$;exports.UploadEntityDefinitions$ = UploadEntityDefinitions$;exports.UploadEntityDefinitionsCommand = UploadEntityDefinitionsCommand;exports.UploadEntityDefinitionsRequest$ = UploadEntityDefinitionsRequest$;exports.UploadEntityDefinitionsResponse$ = UploadEntityDefinitionsResponse$;exports.UploadStatus = UploadStatus;exports.errorTypeRegistries = errorTypeRegistries;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;