File Explorer

/var/runtime/node_modules/@aws-sdk/client-migrationhuborchestrator/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.js58.1 KB · 1559 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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultMigrationHubOrchestratorHttpAuthSchemeParametersProvider = 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: "migrationhub-orchestrator",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultMigrationHubOrchestratorHttpAuthSchemeProvider = (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: "migrationhub-orchestrator",    });};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]]    ],    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://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://migrationhub-orchestrator.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://migrationhub-orchestrator.{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, 12, 3,    1, 4, r + 11,    2, 5, r + 11,    3, 8, 6,    4, 7, r + 10,    5, r + 8, r + 9,    4, 10, 9,    6, r + 6, r + 7,    5, 11, r + 5,    6, r + 4, r + 5,    3, r + 1, 13,    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 MigrationHubOrchestratorServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, MigrationHubOrchestratorServiceException.prototype);    }} class AccessDeniedException extends MigrationHubOrchestratorServiceException {    name = "AccessDeniedException";    $fault = "client";    $retryable = {};    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}class ResourceNotFoundException extends MigrationHubOrchestratorServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}class ValidationException extends MigrationHubOrchestratorServiceException {    name = "ValidationException";    $fault = "client";    $retryable = {};    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);    }}class InternalServerException extends MigrationHubOrchestratorServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}class ThrottlingException extends MigrationHubOrchestratorServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}class ConflictException extends MigrationHubOrchestratorServiceException {    name = "ConflictException";    $fault = "client";    $retryable = {};    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);    }} const _ADE = "AccessDeniedException";const _CE = "ConflictException";const _CMWR = "CreateMigrationWorkflowRequest";const _CMWRr = "CreateMigrationWorkflowResponse";const _CT = "CreateTemplate";const _CTR = "CreateTemplateRequest";const _CTRr = "CreateTemplateResponse";const _CW = "CreateWorkflow";const _CWS = "CreateWorkflowStep";const _CWSG = "CreateWorkflowStepGroup";const _CWSGR = "CreateWorkflowStepGroupRequest";const _CWSGRr = "CreateWorkflowStepGroupResponse";const _CWSR = "CreateWorkflowStepRequest";const _CWSRr = "CreateWorkflowStepResponse";const _DMWR = "DeleteMigrationWorkflowRequest";const _DMWRe = "DeleteMigrationWorkflowResponse";const _DT = "DeleteTemplate";const _DTR = "DeleteTemplateRequest";const _DTRe = "DeleteTemplateResponse";const _DW = "DeleteWorkflow";const _DWS = "DeleteWorkflowStep";const _DWSG = "DeleteWorkflowStepGroup";const _DWSGR = "DeleteWorkflowStepGroupRequest";const _DWSGRe = "DeleteWorkflowStepGroupResponse";const _DWSR = "DeleteWorkflowStepRequest";const _DWSRe = "DeleteWorkflowStepResponse";const _GMWR = "GetMigrationWorkflowRequest";const _GMWRe = "GetMigrationWorkflowResponse";const _GMWTR = "GetMigrationWorkflowTemplateRequest";const _GMWTRe = "GetMigrationWorkflowTemplateResponse";const _GT = "GetTemplate";const _GTS = "GetTemplateStep";const _GTSG = "GetTemplateStepGroup";const _GTSGR = "GetTemplateStepGroupRequest";const _GTSGRe = "GetTemplateStepGroupResponse";const _GTSR = "GetTemplateStepRequest";const _GTSRe = "GetTemplateStepResponse";const _GW = "GetWorkflow";const _GWS = "GetWorkflowStep";const _GWSG = "GetWorkflowStepGroup";const _GWSGR = "GetWorkflowStepGroupRequest";const _GWSGRe = "GetWorkflowStepGroupResponse";const _GWSR = "GetWorkflowStepRequest";const _GWSRe = "GetWorkflowStepResponse";const _ISE = "InternalServerException";const _LMWR = "ListMigrationWorkflowsRequest";const _LMWRi = "ListMigrationWorkflowsResponse";const _LMWTR = "ListMigrationWorkflowTemplatesRequest";const _LMWTRi = "ListMigrationWorkflowTemplatesResponse";const _LP = "ListPlugins";const _LPR = "ListPluginsRequest";const _LPRi = "ListPluginsResponse";const _LT = "ListTemplates";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _LTS = "ListTemplateSteps";const _LTSG = "ListTemplateStepGroups";const _LTSGR = "ListTemplateStepGroupsRequest";const _LTSGRi = "ListTemplateStepGroupsResponse";const _LTSR = "ListTemplateStepsRequest";const _LTSRi = "ListTemplateStepsResponse";const _LW = "ListWorkflows";const _LWS = "ListWorkflowSteps";const _LWSG = "ListWorkflowStepGroups";const _LWSGR = "ListWorkflowStepGroupsRequest";const _LWSGRi = "ListWorkflowStepGroupsResponse";const _LWSR = "ListWorkflowStepsRequest";const _LWSRi = "ListWorkflowStepsResponse";const _MWS = "MigrationWorkflowSummary";const _MWSL = "MigrationWorkflowSummaryList";const _PC = "PlatformCommand";const _PS = "PluginSummary";const _PSK = "PlatformScriptKey";const _PSl = "PluginSummaries";const _RNFE = "ResourceNotFoundException";const _RWS = "RetryWorkflowStep";const _RWSR = "RetryWorkflowStepRequest";const _RWSRe = "RetryWorkflowStepResponse";const _SAC = "StepAutomationConfiguration";const _SI = "StepInput";const _SIP = "StepInputParameters";const _SMWR = "StartMigrationWorkflowRequest";const _SMWRt = "StartMigrationWorkflowResponse";const _SMWRto = "StopMigrationWorkflowRequest";const _SMWRtop = "StopMigrationWorkflowResponse";const _SO = "StepOutput";const _SOL = "StepOutputList";const _SW = "StartWorkflow";const _SWt = "StopWorkflow";const _T = "Tool";const _TE = "ThrottlingException";const _TI = "TemplateInput";const _TIL = "TemplateInputList";const _TL = "ToolsList";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _TS = "TemplateSummary";const _TSGS = "TemplateStepGroupSummary";const _TSGSL = "TemplateStepGroupSummaryList";const _TSL = "TemplateSummaryList";const _TSS = "TemplateStepSummary";const _TSSL = "TemplateStepSummaryList";const _TSe = "TemplateSource";const _UMWR = "UpdateMigrationWorkflowRequest";const _UMWRp = "UpdateMigrationWorkflowResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _UT = "UpdateTemplate";const _UTR = "UpdateTemplateRequest";const _UTRp = "UpdateTemplateResponse";const _UW = "UpdateWorkflow";const _UWS = "UpdateWorkflowStep";const _UWSG = "UpdateWorkflowStepGroup";const _UWSGR = "UpdateWorkflowStepGroupRequest";const _UWSGRp = "UpdateWorkflowStepGroupResponse";const _UWSR = "UpdateWorkflowStepRequest";const _UWSRp = "UpdateWorkflowStepResponse";const _VE = "ValidationException";const _WSAC = "WorkflowStepAutomationConfiguration";const _WSGS = "WorkflowStepGroupSummary";const _WSGSL = "WorkflowStepGroupsSummaryList";const _WSO = "WorkflowStepOutput";const _WSOL = "WorkflowStepOutputList";const _WSOU = "WorkflowStepOutputUnion";const _WSS = "WorkflowStepSummary";const _WSSL = "WorkflowStepsSummaryList";const _a = "arn";const _aACI = "adsApplicationConfigurationId";const _aACN = "adsApplicationConfigurationName";const _aAN = "adsApplicationName";const _aCI = "applicationConfigurationId";const _c = "client";const _cS = "completedSteps";const _cT = "creationTime";const _cTl = "clientToken";const _co = "command";const _d = "description";const _dT = "dataType";const _e = "error";const _eT = "endTime";const _h = "hostname";const _hE = "httpError";const _hQ = "httpQuery";const _ht = "http";const _i = "id";const _iA = "ipAddress";const _iN = "inputName";const _iP = "inputParameters";const _iV = "integerValue";const _in = "inputs";const _l = "linux";const _lMT = "lastModifiedTime";const _lOSV = "listOfStringsValue";const _lOSVi = "listOfStringValue";const _lST = "lastStartTime";const _lSTa = "lastStopTime";const _m = "message";const _mOSV = "mapOfStringValue";const _mR = "maxResults";const _mWS = "migrationWorkflowSummary";const _n = "name";const _nOSC = "noOfSrvCompleted";const _nOSF = "noOfSrvFailed";const _nT = "nextToken";const _ne = "next";const _o = "outputs";const _ow = "owner";const _p = "previous";const _pI = "pluginId";const _pl = "plugins";const _r = "required";const _rA = "resourceArn";const _rE = "runEnvironment";const _rT = "registeredTime";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhuborchestrator";const _sAC = "stepAutomationConfiguration";const _sAT = "stepActionType";const _sGI = "stepGroupId";const _sI = "stepId";const _sL = "scriptLocation";const _sLSB = "scriptLocationS3Bucket";const _sLSK = "scriptLocationS3Key";const _sM = "statusMessage";const _sOL = "scriptOutputLocation";const _sT = "stepTargets";const _sTt = "stepTarget";const _sV = "stringValue";const _se = "server";const _st = "status";const _t = "tags";const _tA = "templateArn";const _tC = "templateClass";const _tD = "templateDescription";const _tI = "templateId";const _tK = "tagKeys";const _tN = "templateName";const _tNOS = "totalNoOfSrv";const _tS = "templateSource";const _tSGS = "templateStepGroupSummary";const _tSSL = "templateStepSummaryList";const _tSe = "templateSummary";const _tSo = "totalSteps";const _tT = "targetType";const _to = "tools";const _u = "url";const _v = "version";const _va = "value";const _w = "windows";const _wB = "workflowBucket";const _wI = "workflowInputs";const _wIo = "workflowId";const _wSAC = "workflowStepAutomationConfiguration";const _wSGS = "workflowStepGroupsSummary";const _wSS = "workflowStepsSummary";const n0 = "com.amazonaws.migrationhuborchestrator";const _s_registry = TypeRegistry.for(_s);var MigrationHubOrchestratorServiceException$ = [-3, _s, "MigrationHubOrchestratorServiceException", 0, [], []];_s_registry.registerError(MigrationHubOrchestratorServiceException$, MigrationHubOrchestratorServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE,    { [_e]: _c, [_hE]: 403 },    [_m],    [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var ConflictException$ = [-3, n0, _CE,    { [_e]: _c, [_hE]: 409 },    [_m],    [0], 1];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE,    { [_e]: _se, [_hE]: 500 },    [_m],    [0], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_m],    [0], 1];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ThrottlingException$ = [-3, n0, _TE,    { [_e]: _c, [_hE]: 429 },    [_m],    [0], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0], 1];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var CreateMigrationWorkflowRequest$ = [3, n0, _CMWR,    0,    [_n, _tI, _iP, _d, _aCI, _sT, _t],    [0, 0, [() => StepInputParameters, 0], 0, 0, 64 | 0, 128 | 0], 3];var CreateMigrationWorkflowResponse$ = [3, n0, _CMWRr,    0,    [_i, _a, _n, _d, _tI, _aACI, _wI, _sT, _st, _cT, _t],    [0, 0, 0, 0, 0, 0, [() => StepInputParameters, 0], 64 | 0, 0, 4, 128 | 0]];var CreateTemplateRequest$ = [3, n0, _CTR,    0,    [_tN, _tS, _tD, _cTl, _t],    [0, () => TemplateSource$, 0, [0, 4], 128 | 0], 2];var CreateTemplateResponse$ = [3, n0, _CTRr,    0,    [_tI, _tA, _t],    [0, 0, 128 | 0]];var CreateWorkflowStepGroupRequest$ = [3, n0, _CWSGR,    0,    [_wIo, _n, _d, _ne, _p],    [0, 0, 0, 64 | 0, 64 | 0], 2];var CreateWorkflowStepGroupResponse$ = [3, n0, _CWSGRr,    0,    [_wIo, _n, _i, _d, _to, _ne, _p, _cT],    [0, 0, 0, 0, () => ToolsList, 64 | 0, 64 | 0, 4]];var CreateWorkflowStepRequest$ = [3, n0, _CWSR,    0,    [_n, _sGI, _wIo, _sAT, _d, _wSAC, _sTt, _o, _p, _ne],    [0, 0, 0, 0, 0, () => WorkflowStepAutomationConfiguration$, 64 | 0, () => WorkflowStepOutputList, 64 | 0, 64 | 0], 4];var CreateWorkflowStepResponse$ = [3, n0, _CWSRr,    0,    [_i, _sGI, _wIo, _n],    [0, 0, 0, 0]];var DeleteMigrationWorkflowRequest$ = [3, n0, _DMWR,    0,    [_i],    [[0, 1]], 1];var DeleteMigrationWorkflowResponse$ = [3, n0, _DMWRe,    0,    [_i, _a, _st],    [0, 0, 0]];var DeleteTemplateRequest$ = [3, n0, _DTR,    0,    [_i],    [[0, 1]], 1];var DeleteTemplateResponse$ = [3, n0, _DTRe,    0,    [],    []];var DeleteWorkflowStepGroupRequest$ = [3, n0, _DWSGR,    0,    [_wIo, _i],    [[0, { [_hQ]: _wIo }], [0, 1]], 2];var DeleteWorkflowStepGroupResponse$ = [3, n0, _DWSGRe,    0,    [],    []];var DeleteWorkflowStepRequest$ = [3, n0, _DWSR,    0,    [_i, _sGI, _wIo],    [[0, 1], [0, { [_hQ]: _sGI }], [0, { [_hQ]: _wIo }]], 3];var DeleteWorkflowStepResponse$ = [3, n0, _DWSRe,    0,    [],    []];var GetMigrationWorkflowRequest$ = [3, n0, _GMWR,    0,    [_i],    [[0, 1]], 1];var GetMigrationWorkflowResponse$ = [3, n0, _GMWRe,    0,    [_i, _a, _n, _d, _tI, _aACI, _aAN, _st, _sM, _cT, _lST, _lSTa, _lMT, _eT, _to, _tSo, _cS, _wI, _t, _wB],    [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, () => ToolsList, 1, 1, [() => StepInputParameters, 0], 128 | 0, 0]];var GetMigrationWorkflowTemplateRequest$ = [3, n0, _GMWTR,    0,    [_i],    [[0, 1]], 1];var GetMigrationWorkflowTemplateResponse$ = [3, n0, _GMWTRe,    0,    [_i, _tA, _n, _d, _in, _to, _cT, _ow, _st, _sM, _tC, _t],    [0, 0, 0, 0, () => TemplateInputList, () => ToolsList, 4, 0, 0, 0, 0, 128 | 0]];var GetTemplateStepGroupRequest$ = [3, n0, _GTSGR,    0,    [_tI, _i],    [[0, 1], [0, 1]], 2];var GetTemplateStepGroupResponse$ = [3, n0, _GTSGRe,    0,    [_tI, _i, _n, _d, _st, _cT, _lMT, _to, _p, _ne],    [0, 0, 0, 0, 0, 4, 4, () => ToolsList, 64 | 0, 64 | 0]];var GetTemplateStepRequest$ = [3, n0, _GTSR,    0,    [_i, _tI, _sGI],    [[0, 1], [0, { [_hQ]: _tI }], [0, { [_hQ]: _sGI }]], 3];var GetTemplateStepResponse$ = [3, n0, _GTSRe,    0,    [_i, _sGI, _tI, _n, _d, _sAT, _cT, _p, _ne, _o, _sAC],    [0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => StepOutputList, () => StepAutomationConfiguration$]];var GetWorkflowStepGroupRequest$ = [3, n0, _GWSGR,    0,    [_i, _wIo],    [[0, 1], [0, { [_hQ]: _wIo }]], 2];var GetWorkflowStepGroupResponse$ = [3, n0, _GWSGRe,    0,    [_i, _wIo, _n, _d, _st, _ow, _cT, _lMT, _eT, _to, _p, _ne],    [0, 0, 0, 0, 0, 0, 4, 4, 4, () => ToolsList, 64 | 0, 64 | 0]];var GetWorkflowStepRequest$ = [3, n0, _GWSR,    0,    [_wIo, _sGI, _i],    [[0, { [_hQ]: _wIo }], [0, { [_hQ]: _sGI }], [0, 1]], 3];var GetWorkflowStepResponse$ = [3, n0, _GWSRe,    0,    [_n, _sGI, _wIo, _sI, _d, _sAT, _ow, _wSAC, _sTt, _o, _p, _ne, _st, _sM, _sOL, _cT, _lST, _eT, _nOSC, _nOSF, _tNOS],    [0, 0, 0, 0, 0, 0, 0, () => WorkflowStepAutomationConfiguration$, 64 | 0, () => WorkflowStepOutputList, 64 | 0, 64 | 0, 0, 0, 0, 4, 4, 4, 1, 1, 1]];var ListMigrationWorkflowsRequest$ = [3, n0, _LMWR,    0,    [_mR, _nT, _tI, _aACN, _st, _n],    [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _tI }], [0, { [_hQ]: _aACN }], [0, { [_hQ]: _st }], [0, { [_hQ]: _n }]]];var ListMigrationWorkflowsResponse$ = [3, n0, _LMWRi,    0,    [_mWS, _nT],    [() => MigrationWorkflowSummaryList, 0], 1];var ListMigrationWorkflowTemplatesRequest$ = [3, n0, _LMWTR,    0,    [_mR, _nT, _n],    [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _n }]]];var ListMigrationWorkflowTemplatesResponse$ = [3, n0, _LMWTRi,    0,    [_tSe, _nT],    [() => TemplateSummaryList, 0], 1];var ListPluginsRequest$ = [3, n0, _LPR,    0,    [_mR, _nT],    [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]];var ListPluginsResponse$ = [3, n0, _LPRi,    0,    [_nT, _pl],    [0, () => PluginSummaries]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_rA],    [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_t],    [128 | 0]];var ListTemplateStepGroupsRequest$ = [3, n0, _LTSGR,    0,    [_tI, _mR, _nT],    [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListTemplateStepGroupsResponse$ = [3, n0, _LTSGRi,    0,    [_tSGS, _nT],    [() => TemplateStepGroupSummaryList, 0], 1];var ListTemplateStepsRequest$ = [3, n0, _LTSR,    0,    [_tI, _sGI, _mR, _nT],    [[0, { [_hQ]: _tI }], [0, { [_hQ]: _sGI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2];var ListTemplateStepsResponse$ = [3, n0, _LTSRi,    0,    [_nT, _tSSL],    [0, () => TemplateStepSummaryList]];var ListWorkflowStepGroupsRequest$ = [3, n0, _LWSGR,    0,    [_wIo, _nT, _mR],    [[0, { [_hQ]: _wIo }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1];var ListWorkflowStepGroupsResponse$ = [3, n0, _LWSGRi,    0,    [_wSGS, _nT],    [() => WorkflowStepGroupsSummaryList, 0], 1];var ListWorkflowStepsRequest$ = [3, n0, _LWSR,    0,    [_wIo, _sGI, _nT, _mR],    [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2];var ListWorkflowStepsResponse$ = [3, n0, _LWSRi,    0,    [_wSS, _nT],    [() => WorkflowStepsSummaryList, 0], 1];var MigrationWorkflowSummary$ = [3, n0, _MWS,    0,    [_i, _n, _tI, _aACN, _st, _cT, _eT, _sM, _cS, _tSo],    [0, 0, 0, 0, 0, 4, 4, 0, 1, 1]];var PlatformCommand$ = [3, n0, _PC,    0,    [_l, _w],    [0, 0]];var PlatformScriptKey$ = [3, n0, _PSK,    0,    [_l, _w],    [0, 0]];var PluginSummary$ = [3, n0, _PS,    0,    [_pI, _h, _st, _iA, _v, _rT],    [0, 0, 0, 0, 0, 0]];var RetryWorkflowStepRequest$ = [3, n0, _RWSR,    0,    [_wIo, _sGI, _i],    [[0, { [_hQ]: _wIo }], [0, { [_hQ]: _sGI }], [0, 1]], 3];var RetryWorkflowStepResponse$ = [3, n0, _RWSRe,    0,    [_sGI, _wIo, _i, _st],    [0, 0, 0, 0]];var StartMigrationWorkflowRequest$ = [3, n0, _SMWR,    0,    [_i],    [[0, 1]], 1];var StartMigrationWorkflowResponse$ = [3, n0, _SMWRt,    0,    [_i, _a, _st, _sM, _lST],    [0, 0, 0, 0, 4]];var StepAutomationConfiguration$ = [3, n0, _SAC,    0,    [_sLSB, _sLSK, _co, _rE, _tT],    [0, () => PlatformScriptKey$, () => PlatformCommand$, 0, 0]];var StepOutput$ = [3, n0, _SO,    0,    [_n, _dT, _r],    [0, 0, 2]];var StopMigrationWorkflowRequest$ = [3, n0, _SMWRto,    0,    [_i],    [[0, 1]], 1];var StopMigrationWorkflowResponse$ = [3, n0, _SMWRtop,    0,    [_i, _a, _st, _sM, _lSTa],    [0, 0, 0, 0, 4]];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_rA, _t],    [[0, 1], 128 | 0], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [],    []];var TemplateInput$ = [3, n0, _TI,    0,    [_iN, _dT, _r],    [0, 0, 2]];var TemplateStepGroupSummary$ = [3, n0, _TSGS,    0,    [_i, _n, _p, _ne],    [0, 0, 64 | 0, 64 | 0]];var TemplateStepSummary$ = [3, n0, _TSS,    0,    [_i, _sGI, _tI, _n, _sAT, _tT, _ow, _p, _ne],    [0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0]];var TemplateSummary$ = [3, n0, _TS,    0,    [_i, _n, _a, _d],    [0, 0, 0, 0]];var Tool$ = [3, n0, _T,    0,    [_n, _u],    [0, 0]];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_rA, _tK],    [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [],    []];var UpdateMigrationWorkflowRequest$ = [3, n0, _UMWR,    0,    [_i, _n, _d, _iP, _sT],    [[0, 1], 0, 0, [() => StepInputParameters, 0], 64 | 0], 1];var UpdateMigrationWorkflowResponse$ = [3, n0, _UMWRp,    0,    [_i, _a, _n, _d, _tI, _aACI, _wI, _sT, _st, _cT, _lMT, _t],    [0, 0, 0, 0, 0, 0, [() => StepInputParameters, 0], 64 | 0, 0, 4, 4, 128 | 0]];var UpdateTemplateRequest$ = [3, n0, _UTR,    0,    [_i, _tN, _tD, _cTl],    [[0, 1], 0, 0, [0, 4]], 1];var UpdateTemplateResponse$ = [3, n0, _UTRp,    0,    [_tI, _tA, _t],    [0, 0, 128 | 0]];var UpdateWorkflowStepGroupRequest$ = [3, n0, _UWSGR,    0,    [_wIo, _i, _n, _d, _ne, _p],    [[0, { [_hQ]: _wIo }], [0, 1], 0, 0, 64 | 0, 64 | 0], 2];var UpdateWorkflowStepGroupResponse$ = [3, n0, _UWSGRp,    0,    [_wIo, _n, _i, _d, _to, _ne, _p, _lMT],    [0, 0, 0, 0, () => ToolsList, 64 | 0, 64 | 0, 4]];var UpdateWorkflowStepRequest$ = [3, n0, _UWSR,    0,    [_i, _sGI, _wIo, _n, _d, _sAT, _wSAC, _sTt, _o, _p, _ne, _st],    [[0, 1], 0, 0, 0, 0, 0, () => WorkflowStepAutomationConfiguration$, 64 | 0, () => WorkflowStepOutputList, 64 | 0, 64 | 0, 0], 3];var UpdateWorkflowStepResponse$ = [3, n0, _UWSRp,    0,    [_i, _sGI, _wIo, _n],    [0, 0, 0, 0]];var WorkflowStepAutomationConfiguration$ = [3, n0, _WSAC,    0,    [_sLSB, _sLSK, _co, _rE, _tT],    [0, () => PlatformScriptKey$, () => PlatformCommand$, 0, 0]];var WorkflowStepGroupSummary$ = [3, n0, _WSGS,    0,    [_i, _n, _ow, _st, _p, _ne],    [0, 0, 0, 0, 64 | 0, 64 | 0]];var WorkflowStepOutput$ = [3, n0, _WSO,    0,    [_n, _dT, _r, _va],    [0, 0, 2, () => WorkflowStepOutputUnion$]];var WorkflowStepSummary$ = [3, n0, _WSS,    0,    [_sI, _n, _sAT, _ow, _p, _ne, _st, _sM, _nOSC, _nOSF, _tNOS, _d, _sL],    [0, 0, 0, 0, 64 | 0, 64 | 0, 0, 0, 1, 1, 1, 0, 0]];var MigrationWorkflowSummaryList = [1, n0, _MWSL,    0, () => MigrationWorkflowSummary$];var PluginSummaries = [1, n0, _PSl,    0, () => PluginSummary$];var StepOutputList = [1, n0, _SOL,    0, () => StepOutput$];var TemplateInputList = [1, n0, _TIL,    0, () => TemplateInput$];var TemplateStepGroupSummaryList = [1, n0, _TSGSL,    0, () => TemplateStepGroupSummary$];var TemplateStepSummaryList = [1, n0, _TSSL,    0, () => TemplateStepSummary$];var TemplateSummaryList = [1, n0, _TSL,    0, () => TemplateSummary$];var ToolsList = [1, n0, _TL,    0, () => Tool$];var WorkflowStepGroupsSummaryList = [1, n0, _WSGSL,    0, () => WorkflowStepGroupSummary$];var WorkflowStepOutputList = [1, n0, _WSOL,    0, () => WorkflowStepOutput$];var WorkflowStepsSummaryList = [1, n0, _WSSL,    0, () => WorkflowStepSummary$];var StepInputParameters = [2, n0, _SIP,    8, 0, () => StepInput$];var StepInput$ = [4, n0, _SI,    0,    [_iV, _sV, _lOSV, _mOSV],    [1, 0, 64 | 0, 128 | 0]];var TemplateSource$ = [4, n0, _TSe,    0,    [_wIo],    [0]];var WorkflowStepOutputUnion$ = [4, n0, _WSOU,    0,    [_iV, _sV, _lOSVi],    [1, 0, 64 | 0]];var CreateTemplate$ = [9, n0, _CT,    { [_ht]: ["POST", "/template", 200] }, () => CreateTemplateRequest$, () => CreateTemplateResponse$];var CreateWorkflow$ = [9, n0, _CW,    { [_ht]: ["POST", "/migrationworkflow/", 200] }, () => CreateMigrationWorkflowRequest$, () => CreateMigrationWorkflowResponse$];var CreateWorkflowStep$ = [9, n0, _CWS,    { [_ht]: ["POST", "/workflowstep", 200] }, () => CreateWorkflowStepRequest$, () => CreateWorkflowStepResponse$];var CreateWorkflowStepGroup$ = [9, n0, _CWSG,    { [_ht]: ["POST", "/workflowstepgroups", 200] }, () => CreateWorkflowStepGroupRequest$, () => CreateWorkflowStepGroupResponse$];var DeleteTemplate$ = [9, n0, _DT,    { [_ht]: ["DELETE", "/template/{id}", 200] }, () => DeleteTemplateRequest$, () => DeleteTemplateResponse$];var DeleteWorkflow$ = [9, n0, _DW,    { [_ht]: ["DELETE", "/migrationworkflow/{id}", 202] }, () => DeleteMigrationWorkflowRequest$, () => DeleteMigrationWorkflowResponse$];var DeleteWorkflowStep$ = [9, n0, _DWS,    { [_ht]: ["DELETE", "/workflowstep/{id}", 200] }, () => DeleteWorkflowStepRequest$, () => DeleteWorkflowStepResponse$];var DeleteWorkflowStepGroup$ = [9, n0, _DWSG,    { [_ht]: ["DELETE", "/workflowstepgroup/{id}", 202] }, () => DeleteWorkflowStepGroupRequest$, () => DeleteWorkflowStepGroupResponse$];var GetTemplate$ = [9, n0, _GT,    { [_ht]: ["GET", "/migrationworkflowtemplate/{id}", 200] }, () => GetMigrationWorkflowTemplateRequest$, () => GetMigrationWorkflowTemplateResponse$];var GetTemplateStep$ = [9, n0, _GTS,    { [_ht]: ["GET", "/templatestep/{id}", 200] }, () => GetTemplateStepRequest$, () => GetTemplateStepResponse$];var GetTemplateStepGroup$ = [9, n0, _GTSG,    { [_ht]: ["GET", "/templates/{templateId}/stepgroups/{id}", 200] }, () => GetTemplateStepGroupRequest$, () => GetTemplateStepGroupResponse$];var GetWorkflow$ = [9, n0, _GW,    { [_ht]: ["GET", "/migrationworkflow/{id}", 200] }, () => GetMigrationWorkflowRequest$, () => GetMigrationWorkflowResponse$];var GetWorkflowStep$ = [9, n0, _GWS,    { [_ht]: ["GET", "/workflowstep/{id}", 200] }, () => GetWorkflowStepRequest$, () => GetWorkflowStepResponse$];var GetWorkflowStepGroup$ = [9, n0, _GWSG,    { [_ht]: ["GET", "/workflowstepgroup/{id}", 200] }, () => GetWorkflowStepGroupRequest$, () => GetWorkflowStepGroupResponse$];var ListPlugins$ = [9, n0, _LP,    { [_ht]: ["GET", "/plugins", 200] }, () => ListPluginsRequest$, () => ListPluginsResponse$];var ListTagsForResource$ = [9, n0, _LTFR,    { [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var ListTemplates$ = [9, n0, _LT,    { [_ht]: ["GET", "/migrationworkflowtemplates", 200] }, () => ListMigrationWorkflowTemplatesRequest$, () => ListMigrationWorkflowTemplatesResponse$];var ListTemplateStepGroups$ = [9, n0, _LTSG,    { [_ht]: ["GET", "/templatestepgroups/{templateId}", 200] }, () => ListTemplateStepGroupsRequest$, () => ListTemplateStepGroupsResponse$];var ListTemplateSteps$ = [9, n0, _LTS,    { [_ht]: ["GET", "/templatesteps", 200] }, () => ListTemplateStepsRequest$, () => ListTemplateStepsResponse$];var ListWorkflows$ = [9, n0, _LW,    { [_ht]: ["GET", "/migrationworkflows", 200] }, () => ListMigrationWorkflowsRequest$, () => ListMigrationWorkflowsResponse$];var ListWorkflowStepGroups$ = [9, n0, _LWSG,    { [_ht]: ["GET", "/workflowstepgroups", 200] }, () => ListWorkflowStepGroupsRequest$, () => ListWorkflowStepGroupsResponse$];var ListWorkflowSteps$ = [9, n0, _LWS,    { [_ht]: ["GET", "/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps", 200] }, () => ListWorkflowStepsRequest$, () => ListWorkflowStepsResponse$];var RetryWorkflowStep$ = [9, n0, _RWS,    { [_ht]: ["POST", "/retryworkflowstep/{id}", 200] }, () => RetryWorkflowStepRequest$, () => RetryWorkflowStepResponse$];var StartWorkflow$ = [9, n0, _SW,    { [_ht]: ["POST", "/migrationworkflow/{id}/start", 200] }, () => StartMigrationWorkflowRequest$, () => StartMigrationWorkflowResponse$];var StopWorkflow$ = [9, n0, _SWt,    { [_ht]: ["POST", "/migrationworkflow/{id}/stop", 200] }, () => StopMigrationWorkflowRequest$, () => StopMigrationWorkflowResponse$];var TagResource$ = [9, n0, _TR,    { [_ht]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    { [_ht]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateTemplate$ = [9, n0, _UT,    { [_ht]: ["POST", "/template/{id}", 200] }, () => UpdateTemplateRequest$, () => UpdateTemplateResponse$];var UpdateWorkflow$ = [9, n0, _UW,    { [_ht]: ["POST", "/migrationworkflow/{id}", 200] }, () => UpdateMigrationWorkflowRequest$, () => UpdateMigrationWorkflowResponse$];var UpdateWorkflowStep$ = [9, n0, _UWS,    { [_ht]: ["POST", "/workflowstep/{id}", 200] }, () => UpdateWorkflowStepRequest$, () => UpdateWorkflowStepResponse$];var UpdateWorkflowStepGroup$ = [9, n0, _UWSG,    { [_ht]: ["POST", "/workflowstepgroup/{id}", 202] }, () => UpdateWorkflowStepGroupRequest$, () => UpdateWorkflowStepGroupResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2021-08-28",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMigrationHubOrchestratorHttpAuthSchemeProvider,        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 ?? AwsRestJsonProtocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.migrationhuborchestrator",            errorTypeRegistries,            version: "2021-08-28",            serviceTarget: "AWSMigrationHubOrchestrator",        },        serviceId: config?.serviceId ?? "MigrationHubOrchestrator",        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 MigrationHubOrchestratorClient 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: defaultMigrationHubOrchestratorHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "AWSMigrationHubOrchestrator", "MigrationHubOrchestratorClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class CreateTemplateCommand extends command(_ep0, _mw0, "CreateTemplate", CreateTemplate$) {} class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {} class CreateWorkflowStepCommand extends command(_ep0, _mw0, "CreateWorkflowStep", CreateWorkflowStep$) {} class CreateWorkflowStepGroupCommand extends command(_ep0, _mw0, "CreateWorkflowStepGroup", CreateWorkflowStepGroup$) {} class DeleteTemplateCommand extends command(_ep0, _mw0, "DeleteTemplate", DeleteTemplate$) {} class DeleteWorkflowCommand extends command(_ep0, _mw0, "DeleteWorkflow", DeleteWorkflow$) {} class DeleteWorkflowStepCommand extends command(_ep0, _mw0, "DeleteWorkflowStep", DeleteWorkflowStep$) {} class DeleteWorkflowStepGroupCommand extends command(_ep0, _mw0, "DeleteWorkflowStepGroup", DeleteWorkflowStepGroup$) {} class GetTemplateCommand extends command(_ep0, _mw0, "GetTemplate", GetTemplate$) {} class GetTemplateStepCommand extends command(_ep0, _mw0, "GetTemplateStep", GetTemplateStep$) {} class GetTemplateStepGroupCommand extends command(_ep0, _mw0, "GetTemplateStepGroup", GetTemplateStepGroup$) {} class GetWorkflowCommand extends command(_ep0, _mw0, "GetWorkflow", GetWorkflow$) {} class GetWorkflowStepCommand extends command(_ep0, _mw0, "GetWorkflowStep", GetWorkflowStep$) {} class GetWorkflowStepGroupCommand extends command(_ep0, _mw0, "GetWorkflowStepGroup", GetWorkflowStepGroup$) {} class ListPluginsCommand extends command(_ep0, _mw0, "ListPlugins", ListPlugins$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class ListTemplatesCommand extends command(_ep0, _mw0, "ListTemplates", ListTemplates$) {} class ListTemplateStepGroupsCommand extends command(_ep0, _mw0, "ListTemplateStepGroups", ListTemplateStepGroups$) {} class ListTemplateStepsCommand extends command(_ep0, _mw0, "ListTemplateSteps", ListTemplateSteps$) {} class ListWorkflowsCommand extends command(_ep0, _mw0, "ListWorkflows", ListWorkflows$) {} class ListWorkflowStepGroupsCommand extends command(_ep0, _mw0, "ListWorkflowStepGroups", ListWorkflowStepGroups$) {} class ListWorkflowStepsCommand extends command(_ep0, _mw0, "ListWorkflowSteps", ListWorkflowSteps$) {} class RetryWorkflowStepCommand extends command(_ep0, _mw0, "RetryWorkflowStep", RetryWorkflowStep$) {} class StartWorkflowCommand extends command(_ep0, _mw0, "StartWorkflow", StartWorkflow$) {} class StopWorkflowCommand extends command(_ep0, _mw0, "StopWorkflow", StopWorkflow$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateTemplateCommand extends command(_ep0, _mw0, "UpdateTemplate", UpdateTemplate$) {} class UpdateWorkflowCommand extends command(_ep0, _mw0, "UpdateWorkflow", UpdateWorkflow$) {} class UpdateWorkflowStepCommand extends command(_ep0, _mw0, "UpdateWorkflowStep", UpdateWorkflowStep$) {} class UpdateWorkflowStepGroupCommand extends command(_ep0, _mw0, "UpdateWorkflowStepGroup", UpdateWorkflowStepGroup$) {} const paginateListPlugins = createPaginator(MigrationHubOrchestratorClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTemplates = createPaginator(MigrationHubOrchestratorClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateListTemplateStepGroups = createPaginator(MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTemplateSteps = createPaginator(MigrationHubOrchestratorClient, ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkflows = createPaginator(MigrationHubOrchestratorClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkflowStepGroups = createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkflowSteps = createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    CreateTemplateCommand,    CreateWorkflowCommand,    CreateWorkflowStepCommand,    CreateWorkflowStepGroupCommand,    DeleteTemplateCommand,    DeleteWorkflowCommand,    DeleteWorkflowStepCommand,    DeleteWorkflowStepGroupCommand,    GetTemplateCommand,    GetTemplateStepCommand,    GetTemplateStepGroupCommand,    GetWorkflowCommand,    GetWorkflowStepCommand,    GetWorkflowStepGroupCommand,    ListPluginsCommand,    ListTagsForResourceCommand,    ListTemplatesCommand,    ListTemplateStepGroupsCommand,    ListTemplateStepsCommand,    ListWorkflowsCommand,    ListWorkflowStepGroupsCommand,    ListWorkflowStepsCommand,    RetryWorkflowStepCommand,    StartWorkflowCommand,    StopWorkflowCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateTemplateCommand,    UpdateWorkflowCommand,    UpdateWorkflowStepCommand,    UpdateWorkflowStepGroupCommand,};const paginators = {    paginateListPlugins,    paginateListTemplates,    paginateListTemplateStepGroups,    paginateListTemplateSteps,    paginateListWorkflows,    paginateListWorkflowStepGroups,    paginateListWorkflowSteps,};class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {}createAggregatedClient(commands, MigrationHubOrchestrator, { paginators }); const MigrationWorkflowStatusEnum = {    COMPLETED: "COMPLETED",    CREATING: "CREATING",    CREATION_FAILED: "CREATION_FAILED",    DELETED: "DELETED",    DELETING: "DELETING",    DELETION_FAILED: "DELETION_FAILED",    IN_PROGRESS: "IN_PROGRESS",    NOT_STARTED: "NOT_STARTED",    PAUSED: "PAUSED",    PAUSING: "PAUSING",    PAUSING_FAILED: "PAUSING_FAILED",    STARTING: "STARTING",    USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",    WORKFLOW_FAILED: "WORKFLOW_FAILED",};const DataType = {    INTEGER: "INTEGER",    STRING: "STRING",    STRINGLIST: "STRINGLIST",    STRINGMAP: "STRINGMAP",};const TemplateStatus = {    CREATED: "CREATED",    CREATING: "CREATING",    CREATION_FAILED: "CREATION_FAILED",    PENDING_CREATION: "PENDING_CREATION",    READY: "READY",};const PluginHealth = {    PLUGIN_HEALTHY: "HEALTHY",    PLUGIN_UNHEALTHY: "UNHEALTHY",};const StepActionType = {    AUTOMATED: "AUTOMATED",    MANUAL: "MANUAL",};const RunEnvironment = {    AWS: "AWS",    ONPREMISE: "ONPREMISE",};const TargetType = {    ALL: "ALL",    NONE: "NONE",    SINGLE: "SINGLE",};const Owner = {    AWSManaged: "AWS_MANAGED",    CUSTOM: "CUSTOM",};const StepGroupStatus = {    AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",    COMPLETED: "COMPLETED",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    PAUSED: "PAUSED",    PAUSING: "PAUSING",    READY: "READY",    USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",};const StepStatus = {    AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",    COMPLETED: "COMPLETED",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    PAUSED: "PAUSED",    READY: "READY",    SKIPPED: "SKIPPED",    USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CreateMigrationWorkflowRequest$ = CreateMigrationWorkflowRequest$;exports.CreateMigrationWorkflowResponse$ = CreateMigrationWorkflowResponse$;exports.CreateTemplate$ = CreateTemplate$;exports.CreateTemplateCommand = CreateTemplateCommand;exports.CreateTemplateRequest$ = CreateTemplateRequest$;exports.CreateTemplateResponse$ = CreateTemplateResponse$;exports.CreateWorkflow$ = CreateWorkflow$;exports.CreateWorkflowCommand = CreateWorkflowCommand;exports.CreateWorkflowStep$ = CreateWorkflowStep$;exports.CreateWorkflowStepCommand = CreateWorkflowStepCommand;exports.CreateWorkflowStepGroup$ = CreateWorkflowStepGroup$;exports.CreateWorkflowStepGroupCommand = CreateWorkflowStepGroupCommand;exports.CreateWorkflowStepGroupRequest$ = CreateWorkflowStepGroupRequest$;exports.CreateWorkflowStepGroupResponse$ = CreateWorkflowStepGroupResponse$;exports.CreateWorkflowStepRequest$ = CreateWorkflowStepRequest$;exports.CreateWorkflowStepResponse$ = CreateWorkflowStepResponse$;exports.DataType = DataType;exports.DeleteMigrationWorkflowRequest$ = DeleteMigrationWorkflowRequest$;exports.DeleteMigrationWorkflowResponse$ = DeleteMigrationWorkflowResponse$;exports.DeleteTemplate$ = DeleteTemplate$;exports.DeleteTemplateCommand = DeleteTemplateCommand;exports.DeleteTemplateRequest$ = DeleteTemplateRequest$;exports.DeleteTemplateResponse$ = DeleteTemplateResponse$;exports.DeleteWorkflow$ = DeleteWorkflow$;exports.DeleteWorkflowCommand = DeleteWorkflowCommand;exports.DeleteWorkflowStep$ = DeleteWorkflowStep$;exports.DeleteWorkflowStepCommand = DeleteWorkflowStepCommand;exports.DeleteWorkflowStepGroup$ = DeleteWorkflowStepGroup$;exports.DeleteWorkflowStepGroupCommand = DeleteWorkflowStepGroupCommand;exports.DeleteWorkflowStepGroupRequest$ = DeleteWorkflowStepGroupRequest$;exports.DeleteWorkflowStepGroupResponse$ = DeleteWorkflowStepGroupResponse$;exports.DeleteWorkflowStepRequest$ = DeleteWorkflowStepRequest$;exports.DeleteWorkflowStepResponse$ = DeleteWorkflowStepResponse$;exports.GetMigrationWorkflowRequest$ = GetMigrationWorkflowRequest$;exports.GetMigrationWorkflowResponse$ = GetMigrationWorkflowResponse$;exports.GetMigrationWorkflowTemplateRequest$ = GetMigrationWorkflowTemplateRequest$;exports.GetMigrationWorkflowTemplateResponse$ = GetMigrationWorkflowTemplateResponse$;exports.GetTemplate$ = GetTemplate$;exports.GetTemplateCommand = GetTemplateCommand;exports.GetTemplateStep$ = GetTemplateStep$;exports.GetTemplateStepCommand = GetTemplateStepCommand;exports.GetTemplateStepGroup$ = GetTemplateStepGroup$;exports.GetTemplateStepGroupCommand = GetTemplateStepGroupCommand;exports.GetTemplateStepGroupRequest$ = GetTemplateStepGroupRequest$;exports.GetTemplateStepGroupResponse$ = GetTemplateStepGroupResponse$;exports.GetTemplateStepRequest$ = GetTemplateStepRequest$;exports.GetTemplateStepResponse$ = GetTemplateStepResponse$;exports.GetWorkflow$ = GetWorkflow$;exports.GetWorkflowCommand = GetWorkflowCommand;exports.GetWorkflowStep$ = GetWorkflowStep$;exports.GetWorkflowStepCommand = GetWorkflowStepCommand;exports.GetWorkflowStepGroup$ = GetWorkflowStepGroup$;exports.GetWorkflowStepGroupCommand = GetWorkflowStepGroupCommand;exports.GetWorkflowStepGroupRequest$ = GetWorkflowStepGroupRequest$;exports.GetWorkflowStepGroupResponse$ = GetWorkflowStepGroupResponse$;exports.GetWorkflowStepRequest$ = GetWorkflowStepRequest$;exports.GetWorkflowStepResponse$ = GetWorkflowStepResponse$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.ListMigrationWorkflowTemplatesRequest$ = ListMigrationWorkflowTemplatesRequest$;exports.ListMigrationWorkflowTemplatesResponse$ = ListMigrationWorkflowTemplatesResponse$;exports.ListMigrationWorkflowsRequest$ = ListMigrationWorkflowsRequest$;exports.ListMigrationWorkflowsResponse$ = ListMigrationWorkflowsResponse$;exports.ListPlugins$ = ListPlugins$;exports.ListPluginsCommand = ListPluginsCommand;exports.ListPluginsRequest$ = ListPluginsRequest$;exports.ListPluginsResponse$ = ListPluginsResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.ListTemplateStepGroups$ = ListTemplateStepGroups$;exports.ListTemplateStepGroupsCommand = ListTemplateStepGroupsCommand;exports.ListTemplateStepGroupsRequest$ = ListTemplateStepGroupsRequest$;exports.ListTemplateStepGroupsResponse$ = ListTemplateStepGroupsResponse$;exports.ListTemplateSteps$ = ListTemplateSteps$;exports.ListTemplateStepsCommand = ListTemplateStepsCommand;exports.ListTemplateStepsRequest$ = ListTemplateStepsRequest$;exports.ListTemplateStepsResponse$ = ListTemplateStepsResponse$;exports.ListTemplates$ = ListTemplates$;exports.ListTemplatesCommand = ListTemplatesCommand;exports.ListWorkflowStepGroups$ = ListWorkflowStepGroups$;exports.ListWorkflowStepGroupsCommand = ListWorkflowStepGroupsCommand;exports.ListWorkflowStepGroupsRequest$ = ListWorkflowStepGroupsRequest$;exports.ListWorkflowStepGroupsResponse$ = ListWorkflowStepGroupsResponse$;exports.ListWorkflowSteps$ = ListWorkflowSteps$;exports.ListWorkflowStepsCommand = ListWorkflowStepsCommand;exports.ListWorkflowStepsRequest$ = ListWorkflowStepsRequest$;exports.ListWorkflowStepsResponse$ = ListWorkflowStepsResponse$;exports.ListWorkflows$ = ListWorkflows$;exports.ListWorkflowsCommand = ListWorkflowsCommand;exports.MigrationHubOrchestrator = MigrationHubOrchestrator;exports.MigrationHubOrchestratorClient = MigrationHubOrchestratorClient;exports.MigrationHubOrchestratorServiceException = MigrationHubOrchestratorServiceException;exports.MigrationHubOrchestratorServiceException$ = MigrationHubOrchestratorServiceException$;exports.MigrationWorkflowStatusEnum = MigrationWorkflowStatusEnum;exports.MigrationWorkflowSummary$ = MigrationWorkflowSummary$;exports.Owner = Owner;exports.PlatformCommand$ = PlatformCommand$;exports.PlatformScriptKey$ = PlatformScriptKey$;exports.PluginHealth = PluginHealth;exports.PluginSummary$ = PluginSummary$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.RetryWorkflowStep$ = RetryWorkflowStep$;exports.RetryWorkflowStepCommand = RetryWorkflowStepCommand;exports.RetryWorkflowStepRequest$ = RetryWorkflowStepRequest$;exports.RetryWorkflowStepResponse$ = RetryWorkflowStepResponse$;exports.RunEnvironment = RunEnvironment;exports.StartMigrationWorkflowRequest$ = StartMigrationWorkflowRequest$;exports.StartMigrationWorkflowResponse$ = StartMigrationWorkflowResponse$;exports.StartWorkflow$ = StartWorkflow$;exports.StartWorkflowCommand = StartWorkflowCommand;exports.StepActionType = StepActionType;exports.StepAutomationConfiguration$ = StepAutomationConfiguration$;exports.StepGroupStatus = StepGroupStatus;exports.StepInput$ = StepInput$;exports.StepOutput$ = StepOutput$;exports.StepStatus = StepStatus;exports.StopMigrationWorkflowRequest$ = StopMigrationWorkflowRequest$;exports.StopMigrationWorkflowResponse$ = StopMigrationWorkflowResponse$;exports.StopWorkflow$ = StopWorkflow$;exports.StopWorkflowCommand = StopWorkflowCommand;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.TargetType = TargetType;exports.TemplateInput$ = TemplateInput$;exports.TemplateSource$ = TemplateSource$;exports.TemplateStatus = TemplateStatus;exports.TemplateStepGroupSummary$ = TemplateStepGroupSummary$;exports.TemplateStepSummary$ = TemplateStepSummary$;exports.TemplateSummary$ = TemplateSummary$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.Tool$ = Tool$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateMigrationWorkflowRequest$ = UpdateMigrationWorkflowRequest$;exports.UpdateMigrationWorkflowResponse$ = UpdateMigrationWorkflowResponse$;exports.UpdateTemplate$ = UpdateTemplate$;exports.UpdateTemplateCommand = UpdateTemplateCommand;exports.UpdateTemplateRequest$ = UpdateTemplateRequest$;exports.UpdateTemplateResponse$ = UpdateTemplateResponse$;exports.UpdateWorkflow$ = UpdateWorkflow$;exports.UpdateWorkflowCommand = UpdateWorkflowCommand;exports.UpdateWorkflowStep$ = UpdateWorkflowStep$;exports.UpdateWorkflowStepCommand = UpdateWorkflowStepCommand;exports.UpdateWorkflowStepGroup$ = UpdateWorkflowStepGroup$;exports.UpdateWorkflowStepGroupCommand = UpdateWorkflowStepGroupCommand;exports.UpdateWorkflowStepGroupRequest$ = UpdateWorkflowStepGroupRequest$;exports.UpdateWorkflowStepGroupResponse$ = UpdateWorkflowStepGroupResponse$;exports.UpdateWorkflowStepRequest$ = UpdateWorkflowStepRequest$;exports.UpdateWorkflowStepResponse$ = UpdateWorkflowStepResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.WorkflowStepAutomationConfiguration$ = WorkflowStepAutomationConfiguration$;exports.WorkflowStepGroupSummary$ = WorkflowStepGroupSummary$;exports.WorkflowStepOutput$ = WorkflowStepOutput$;exports.WorkflowStepOutputUnion$ = WorkflowStepOutputUnion$;exports.WorkflowStepSummary$ = WorkflowStepSummary$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListPlugins = paginateListPlugins;exports.paginateListTemplateStepGroups = paginateListTemplateStepGroups;exports.paginateListTemplateSteps = paginateListTemplateSteps;exports.paginateListTemplates = paginateListTemplates;exports.paginateListWorkflowStepGroups = paginateListWorkflowStepGroups;exports.paginateListWorkflowSteps = paginateListWorkflowSteps;exports.paginateListWorkflows = paginateListWorkflows;