File Explorer

/proc/4/task/10/root/proc/2/root/var/runtime/node_modules/@aws-sdk/client-swf/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.js98.0 KB · 2415 lines
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getLongPollPlugin } = 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_0Protocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultSWFHttpAuthSchemeParametersProvider = 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: "swf",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultSWFHttpAuthSchemeProvider = (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: "swf",    });};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]],        ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, 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://swf.{Region}.{PartitionResult#dnsSuffix}", i],        ["https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 14, 3,    1, 4, r + 11,    2, 5, r + 11,    3, 9, 6,    4, 7, r + 4,    5, r + 5, 8,    7, r + 9, r + 10,    4, 12, 10,    5, r + 4, 11,    6, r + 7, r + 8,    6, 13, r + 6,    7, r + 5, r + 6,    3, r + 1, 15,    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 SWFServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, SWFServiceException.prototype);    }} class OperationNotPermittedFault extends SWFServiceException {    name = "OperationNotPermittedFault";    $fault = "client";    constructor(opts) {        super({            name: "OperationNotPermittedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, OperationNotPermittedFault.prototype);    }}class UnknownResourceFault extends SWFServiceException {    name = "UnknownResourceFault";    $fault = "client";    constructor(opts) {        super({            name: "UnknownResourceFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, UnknownResourceFault.prototype);    }}class DefaultUndefinedFault extends SWFServiceException {    name = "DefaultUndefinedFault";    $fault = "client";    constructor(opts) {        super({            name: "DefaultUndefinedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, DefaultUndefinedFault.prototype);    }}class TypeNotDeprecatedFault extends SWFServiceException {    name = "TypeNotDeprecatedFault";    $fault = "client";    constructor(opts) {        super({            name: "TypeNotDeprecatedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TypeNotDeprecatedFault.prototype);    }}class TypeDeprecatedFault extends SWFServiceException {    name = "TypeDeprecatedFault";    $fault = "client";    constructor(opts) {        super({            name: "TypeDeprecatedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TypeDeprecatedFault.prototype);    }}class DomainDeprecatedFault extends SWFServiceException {    name = "DomainDeprecatedFault";    $fault = "client";    constructor(opts) {        super({            name: "DomainDeprecatedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);    }}class DomainAlreadyExistsFault extends SWFServiceException {    name = "DomainAlreadyExistsFault";    $fault = "client";    constructor(opts) {        super({            name: "DomainAlreadyExistsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, DomainAlreadyExistsFault.prototype);    }}class LimitExceededFault extends SWFServiceException {    name = "LimitExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "LimitExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, LimitExceededFault.prototype);    }}class TypeAlreadyExistsFault extends SWFServiceException {    name = "TypeAlreadyExistsFault";    $fault = "client";    constructor(opts) {        super({            name: "TypeAlreadyExistsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TypeAlreadyExistsFault.prototype);    }}class TooManyTagsFault extends SWFServiceException {    name = "TooManyTagsFault";    $fault = "client";    constructor(opts) {        super({            name: "TooManyTagsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TooManyTagsFault.prototype);    }}class WorkflowExecutionAlreadyStartedFault extends SWFServiceException {    name = "WorkflowExecutionAlreadyStartedFault";    $fault = "client";    constructor(opts) {        super({            name: "WorkflowExecutionAlreadyStartedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, WorkflowExecutionAlreadyStartedFault.prototype);    }} const _AT = "ActivityTask";const _ATC = "ActivityTypeConfiguration";const _ATCEA = "ActivityTaskCanceledEventAttributes";const _ATCEAc = "ActivityTaskCompletedEventAttributes";const _ATCREA = "ActivityTaskCancelRequestedEventAttributes";const _ATD = "ActivityTypeDetail";const _ATFEA = "ActivityTaskFailedEventAttributes";const _ATI = "ActivityTypeInfo";const _ATIL = "ActivityTypeInfoList";const _ATIc = "ActivityTypeInfos";const _ATS = "ActivityTaskStatus";const _ATSEA = "ActivityTaskScheduledEventAttributes";const _ATSEAc = "ActivityTaskStartedEventAttributes";const _ATTOEA = "ActivityTaskTimedOutEventAttributes";const _ATc = "ActivityType";const _CANWEDA = "ContinueAsNewWorkflowExecutionDecisionAttributes";const _CANWEFEA = "ContinueAsNewWorkflowExecutionFailedEventAttributes";const _CCWE = "CountClosedWorkflowExecutions";const _CCWEI = "CountClosedWorkflowExecutionsInput";const _COWE = "CountOpenWorkflowExecutions";const _COWEI = "CountOpenWorkflowExecutionsInput";const _CPAT = "CountPendingActivityTasks";const _CPATI = "CountPendingActivityTasksInput";const _CPDT = "CountPendingDecisionTasks";const _CPDTI = "CountPendingDecisionTasksInput";const _CSF = "CloseStatusFilter";const _CTDA = "CancelTimerDecisionAttributes";const _CTFEA = "CancelTimerFailedEventAttributes";const _CWECEA = "ChildWorkflowExecutionCanceledEventAttributes";const _CWECEAh = "ChildWorkflowExecutionCompletedEventAttributes";const _CWEDA = "CancelWorkflowExecutionDecisionAttributes";const _CWEDAo = "CompleteWorkflowExecutionDecisionAttributes";const _CWEFEA = "CancelWorkflowExecutionFailedEventAttributes";const _CWEFEAh = "ChildWorkflowExecutionFailedEventAttributes";const _CWEFEAo = "CompleteWorkflowExecutionFailedEventAttributes";const _CWESEA = "ChildWorkflowExecutionStartedEventAttributes";const _CWETEA = "ChildWorkflowExecutionTerminatedEventAttributes";const _CWETOEA = "ChildWorkflowExecutionTimedOutEventAttributes";const _D = "Decision";const _DAEF = "DomainAlreadyExistsFault";const _DAT = "DeleteActivityType";const _DATI = "DeleteActivityTypeInput";const _DATIe = "DeprecateActivityTypeInput";const _DATIes = "DescribeActivityTypeInput";const _DATe = "DeprecateActivityType";const _DATes = "DescribeActivityType";const _DC = "DomainConfiguration";const _DD = "DomainDetail";const _DDF = "DomainDeprecatedFault";const _DDI = "DeprecateDomainInput";const _DDIe = "DescribeDomainInput";const _DDe = "DeprecateDomain";const _DDes = "DescribeDomain";const _DI = "DomainInfo";const _DIL = "DomainInfoList";const _DIo = "DomainInfos";const _DL = "DecisionList";const _DT = "DecisionTask";const _DTCEA = "DecisionTaskCompletedEventAttributes";const _DTSEA = "DecisionTaskScheduledEventAttributes";const _DTSEAe = "DecisionTaskStartedEventAttributes";const _DTTOEA = "DecisionTaskTimedOutEventAttributes";const _DUF = "DefaultUndefinedFault";const _DWE = "DescribeWorkflowExecution";const _DWEI = "DescribeWorkflowExecutionInput";const _DWT = "DeleteWorkflowType";const _DWTI = "DeleteWorkflowTypeInput";const _DWTIe = "DeprecateWorkflowTypeInput";const _DWTIes = "DescribeWorkflowTypeInput";const _DWTe = "DeprecateWorkflowType";const _DWTes = "DescribeWorkflowType";const _ETF = "ExecutionTimeFilter";const _EWECREA = "ExternalWorkflowExecutionCancelRequestedEventAttributes";const _EWESEA = "ExternalWorkflowExecutionSignaledEventAttributes";const _FWEDA = "FailWorkflowExecutionDecisionAttributes";const _FWEFEA = "FailWorkflowExecutionFailedEventAttributes";const _GWEH = "GetWorkflowExecutionHistory";const _GWEHI = "GetWorkflowExecutionHistoryInput";const _H = "History";const _HE = "HistoryEvent";const _HEL = "HistoryEventList";const _LAT = "ListActivityTypes";const _LATI = "ListActivityTypesInput";const _LCWE = "ListClosedWorkflowExecutions";const _LCWEI = "ListClosedWorkflowExecutionsInput";const _LD = "ListDomains";const _LDI = "ListDomainsInput";const _LEF = "LimitExceededFault";const _LFCEA = "LambdaFunctionCompletedEventAttributes";const _LFFEA = "LambdaFunctionFailedEventAttributes";const _LFSEA = "LambdaFunctionScheduledEventAttributes";const _LFSEAa = "LambdaFunctionStartedEventAttributes";const _LFTOEA = "LambdaFunctionTimedOutEventAttributes";const _LOWE = "ListOpenWorkflowExecutions";const _LOWEI = "ListOpenWorkflowExecutionsInput";const _LTFR = "ListTagsForResource";const _LTFRI = "ListTagsForResourceInput";const _LTFRO = "ListTagsForResourceOutput";const _LWT = "ListWorkflowTypes";const _LWTI = "ListWorkflowTypesInput";const _MREA = "MarkerRecordedEventAttributes";const _ONPF = "OperationNotPermittedFault";const _PFAT = "PollForActivityTask";const _PFATI = "PollForActivityTaskInput";const _PFDT = "PollForDecisionTask";const _PFDTI = "PollForDecisionTaskInput";const _PTC = "PendingTaskCount";const _R = "Run";const _RAT = "RegisterActivityType";const _RATC = "RespondActivityTaskCanceled";const _RATCI = "RespondActivityTaskCanceledInput";const _RATCIe = "RespondActivityTaskCompletedInput";const _RATCe = "RespondActivityTaskCompleted";const _RATF = "RespondActivityTaskFailed";const _RATFI = "RespondActivityTaskFailedInput";const _RATH = "RecordActivityTaskHeartbeat";const _RATHI = "RecordActivityTaskHeartbeatInput";const _RATI = "RegisterActivityTypeInput";const _RCATDA = "RequestCancelActivityTaskDecisionAttributes";const _RCATFEA = "RequestCancelActivityTaskFailedEventAttributes";const _RCEWEDA = "RequestCancelExternalWorkflowExecutionDecisionAttributes";const _RCEWEFEA = "RequestCancelExternalWorkflowExecutionFailedEventAttributes";const _RCEWEIEA = "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes";const _RCWE = "RequestCancelWorkflowExecution";const _RCWEI = "RequestCancelWorkflowExecutionInput";const _RD = "RegisterDomain";const _RDI = "RegisterDomainInput";const _RDTC = "RespondDecisionTaskCompleted";const _RDTCI = "RespondDecisionTaskCompletedInput";const _RMDA = "RecordMarkerDecisionAttributes";const _RMFEA = "RecordMarkerFailedEventAttributes";const _RT = "ResourceTag";const _RTL = "ResourceTagList";const _RWT = "RegisterWorkflowType";const _RWTI = "RegisterWorkflowTypeInput";const _SATDA = "ScheduleActivityTaskDecisionAttributes";const _SATFEA = "ScheduleActivityTaskFailedEventAttributes";const _SCWEDA = "StartChildWorkflowExecutionDecisionAttributes";const _SCWEFEA = "StartChildWorkflowExecutionFailedEventAttributes";const _SCWEIEA = "StartChildWorkflowExecutionInitiatedEventAttributes";const _SEWEDA = "SignalExternalWorkflowExecutionDecisionAttributes";const _SEWEFEA = "SignalExternalWorkflowExecutionFailedEventAttributes";const _SEWEIEA = "SignalExternalWorkflowExecutionInitiatedEventAttributes";const _SLFDA = "ScheduleLambdaFunctionDecisionAttributes";const _SLFFEA = "ScheduleLambdaFunctionFailedEventAttributes";const _SLFFEAt = "StartLambdaFunctionFailedEventAttributes";const _STDA = "StartTimerDecisionAttributes";const _STFEA = "StartTimerFailedEventAttributes";const _SWE = "SignalWorkflowExecution";const _SWEI = "SignalWorkflowExecutionInput";const _SWEIt = "StartWorkflowExecutionInput";const _SWEt = "StartWorkflowExecution";const _TAEF = "TypeAlreadyExistsFault";const _TCEA = "TimerCanceledEventAttributes";const _TDF = "TypeDeprecatedFault";const _TF = "TagFilter";const _TFEA = "TimerFiredEventAttributes";const _TL = "TaskList";const _TMTF = "TooManyTagsFault";const _TNDF = "TypeNotDeprecatedFault";const _TR = "TagResource";const _TRI = "TagResourceInput";const _TSEA = "TimerStartedEventAttributes";const _TWE = "TerminateWorkflowExecution";const _TWEI = "TerminateWorkflowExecutionInput";const _UAT = "UndeprecateActivityType";const _UATI = "UndeprecateActivityTypeInput";const _UD = "UndeprecateDomain";const _UDI = "UndeprecateDomainInput";const _UR = "UntagResource";const _URF = "UnknownResourceFault";const _URI = "UntagResourceInput";const _UWT = "UndeprecateWorkflowType";const _UWTI = "UndeprecateWorkflowTypeInput";const _WE = "WorkflowExecution";const _WEASF = "WorkflowExecutionAlreadyStartedFault";const _WEC = "WorkflowExecutionConfiguration";const _WECANEA = "WorkflowExecutionContinuedAsNewEventAttributes";const _WECEA = "WorkflowExecutionCanceledEventAttributes";const _WECEAo = "WorkflowExecutionCompletedEventAttributes";const _WECREA = "WorkflowExecutionCancelRequestedEventAttributes";const _WECo = "WorkflowExecutionCount";const _WED = "WorkflowExecutionDetail";const _WEF = "WorkflowExecutionFilter";const _WEFEA = "WorkflowExecutionFailedEventAttributes";const _WEI = "WorkflowExecutionInfo";const _WEIL = "WorkflowExecutionInfoList";const _WEIo = "WorkflowExecutionInfos";const _WEOC = "WorkflowExecutionOpenCounts";const _WESEA = "WorkflowExecutionSignaledEventAttributes";const _WESEAo = "WorkflowExecutionStartedEventAttributes";const _WETEA = "WorkflowExecutionTerminatedEventAttributes";const _WETOEA = "WorkflowExecutionTimedOutEventAttributes";const _WT = "WorkflowType";const _WTC = "WorkflowTypeConfiguration";const _WTD = "WorkflowTypeDetail";const _WTF = "WorkflowTypeFilter";const _WTI = "WorkflowTypeInfo";const _WTIL = "WorkflowTypeInfoList";const _WTIo = "WorkflowTypeInfos";const _a = "arn";const _aI = "activityId";const _aT = "activityType";const _aTCEA = "activityTaskCompletedEventAttributes";const _aTCEAc = "activityTaskCanceledEventAttributes";const _aTCREA = "activityTaskCancelRequestedEventAttributes";const _aTFEA = "activityTaskFailedEventAttributes";const _aTSEA = "activityTaskScheduledEventAttributes";const _aTSEAc = "activityTaskStartedEventAttributes";const _aTTOEA = "activityTaskTimedOutEventAttributes";const _c = "client";const _cANWEDA = "continueAsNewWorkflowExecutionDecisionAttributes";const _cANWEFEA = "continueAsNewWorkflowExecutionFailedEventAttributes";const _cD = "creationDate";const _cERI = "continuedExecutionRunId";const _cP = "childPolicy";const _cR = "cancelRequested";const _cS = "closeStatus";const _cSF = "closeStatusFilter";const _cT = "closeTimestamp";const _cTDA = "cancelTimerDecisionAttributes";const _cTF = "closeTimeFilter";const _cTFEA = "cancelTimerFailedEventAttributes";const _cWECEA = "childWorkflowExecutionCompletedEventAttributes";const _cWECEAh = "childWorkflowExecutionCanceledEventAttributes";const _cWEDA = "completeWorkflowExecutionDecisionAttributes";const _cWEDAa = "cancelWorkflowExecutionDecisionAttributes";const _cWEFEA = "completeWorkflowExecutionFailedEventAttributes";const _cWEFEAa = "cancelWorkflowExecutionFailedEventAttributes";const _cWEFEAh = "childWorkflowExecutionFailedEventAttributes";const _cWESEA = "childWorkflowExecutionStartedEventAttributes";const _cWETEA = "childWorkflowExecutionTerminatedEventAttributes";const _cWETOEA = "childWorkflowExecutionTimedOutEventAttributes";const _ca = "cause";const _co = "control";const _con = "configuration";const _cou = "count";const _d = "details";const _dCP = "defaultChildPolicy";const _dD = "deprecationDate";const _dESTCT = "defaultExecutionStartToCloseTimeout";const _dI = "domainInfo";const _dIo = "domainInfos";const _dLR = "defaultLambdaRole";const _dT = "decisionType";const _dTCEA = "decisionTaskCompletedEventAttributes";const _dTCEI = "decisionTaskCompletedEventId";const _dTHT = "defaultTaskHeartbeatTimeout";const _dTL = "defaultTaskList";const _dTP = "defaultTaskPriority";const _dTSEA = "decisionTaskScheduledEventAttributes";const _dTSEAe = "decisionTaskStartedEventAttributes";const _dTSTCT = "defaultTaskStartToCloseTimeout";const _dTSTCTe = "defaultTaskScheduleToCloseTimeout";const _dTSTST = "defaultTaskScheduleToStartTimeout";const _dTTOEA = "decisionTaskTimedOutEventAttributes";const _de = "description";const _dec = "decisions";const _do = "domain";const _e = "error";const _eC = "executionContext";const _eCx = "executionConfiguration";const _eF = "executionFilter";const _eI = "eventId";const _eIEI = "externalInitiatedEventId";const _eIx = "executionInfo";const _eIxe = "executionInfos";const _eS = "executionStatus";const _eSTCT = "executionStartToCloseTimeout";const _eT = "eventTimestamp";const _eTv = "eventType";const _eWE = "externalWorkflowExecution";const _eWECREA = "externalWorkflowExecutionCancelRequestedEventAttributes";const _eWESEA = "externalWorkflowExecutionSignaledEventAttributes";const _ev = "events";const _ex = "execution";const _fWEDA = "failWorkflowExecutionDecisionAttributes";const _fWEFEA = "failWorkflowExecutionFailedEventAttributes";const _hE = "httpError";const _hT = "heartbeatTimeout";const _i = "input";const _iEI = "initiatedEventId";const _id = "identity";const _id_ = "id";const _k = "key";const _lATT = "latestActivityTaskTimestamp";const _lCREI = "latestCancelRequestedEventId";const _lD = "latestDate";const _lEC = "latestExecutionContext";const _lFCEA = "lambdaFunctionCompletedEventAttributes";const _lFFEA = "lambdaFunctionFailedEventAttributes";const _lFSEA = "lambdaFunctionScheduledEventAttributes";const _lFSEAa = "lambdaFunctionStartedEventAttributes";const _lFTOEA = "lambdaFunctionTimedOutEventAttributes";const _lR = "lambdaRole";const _m = "message";const _mN = "markerName";const _mPS = "maximumPageSize";const _mREA = "markerRecordedEventAttributes";const _n = "name";const _nERI = "newExecutionRunId";const _nPT = "nextPageToken";const _oAT = "openActivityTasks";const _oC = "openCounts";const _oCWE = "openChildWorkflowExecutions";const _oD = "oldestDate";const _oDT = "openDecisionTasks";const _oLF = "openLambdaFunctions";const _oT = "openTimers";const _p = "parent";const _pIEI = "parentInitiatedEventId";const _pSEI = "previousStartedEventId";const _pWE = "parentWorkflowExecution";const _r = "result";const _rA = "resourceArn";const _rCATDA = "requestCancelActivityTaskDecisionAttributes";const _rCATFEA = "requestCancelActivityTaskFailedEventAttributes";const _rCEWEDA = "requestCancelExternalWorkflowExecutionDecisionAttributes";const _rCEWEFEA = "requestCancelExternalWorkflowExecutionFailedEventAttributes";const _rCEWEIEA = "requestCancelExternalWorkflowExecutionInitiatedEventAttributes";const _rI = "runId";const _rMDA = "recordMarkerDecisionAttributes";const _rMFEA = "recordMarkerFailedEventAttributes";const _rO = "reverseOrder";const _rS = "registrationStatus";const _re = "reason";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.swf";const _sAPSE = "startAtPreviousStartedEvent";const _sATDA = "scheduleActivityTaskDecisionAttributes";const _sATFEA = "scheduleActivityTaskFailedEventAttributes";const _sCWEDA = "startChildWorkflowExecutionDecisionAttributes";const _sCWEFEA = "startChildWorkflowExecutionFailedEventAttributes";const _sCWEIEA = "startChildWorkflowExecutionInitiatedEventAttributes";const _sEI = "startedEventId";const _sEIc = "scheduledEventId";const _sEWEDA = "signalExternalWorkflowExecutionDecisionAttributes";const _sEWEFEA = "signalExternalWorkflowExecutionFailedEventAttributes";const _sEWEIEA = "signalExternalWorkflowExecutionInitiatedEventAttributes";const _sLFDA = "scheduleLambdaFunctionDecisionAttributes";const _sLFFEA = "scheduleLambdaFunctionFailedEventAttributes";const _sLFFEAt = "startLambdaFunctionFailedEventAttributes";const _sN = "signalName";const _sT = "startTimestamp";const _sTCT = "scheduleToCloseTimeout";const _sTCTt = "startToCloseTimeout";const _sTDA = "startTimerDecisionAttributes";const _sTF = "startTimeFilter";const _sTFEA = "startTimerFailedEventAttributes";const _sTFT = "startToFireTimeout";const _sTST = "scheduleToStartTimeout";const _st = "status";const _t = "tags";const _tCEA = "timerCanceledEventAttributes";const _tF = "typeFilter";const _tFEA = "timerFiredEventAttributes";const _tFa = "tagFilter";const _tI = "typeInfo";const _tIi = "timerId";const _tIy = "typeInfos";const _tK = "tagKeys";const _tL = "taskList";const _tLSTST = "taskListScheduleToStartTimeout";const _tLa = "tagList";const _tP = "taskPriority";const _tSEA = "timerStartedEventAttributes";const _tSTCT = "taskStartToCloseTimeout";const _tT = "taskToken";const _tTi = "timeoutType";const _ta = "tag";const _tr = "truncated";const _v = "version";const _va = "value";const _wE = "workflowExecution";const _wECANEA = "workflowExecutionContinuedAsNewEventAttributes";const _wECEA = "workflowExecutionCompletedEventAttributes";const _wECEAo = "workflowExecutionCanceledEventAttributes";const _wECREA = "workflowExecutionCancelRequestedEventAttributes";const _wEFEA = "workflowExecutionFailedEventAttributes";const _wERPID = "workflowExecutionRetentionPeriodInDays";const _wESEA = "workflowExecutionStartedEventAttributes";const _wESEAo = "workflowExecutionSignaledEventAttributes";const _wETEA = "workflowExecutionTerminatedEventAttributes";const _wETOEA = "workflowExecutionTimedOutEventAttributes";const _wI = "workflowId";const _wT = "workflowType";const _wTV = "workflowTypeVersion";const n0 = "com.amazonaws.swf";const _s_registry = TypeRegistry.for(_s);var SWFServiceException$ = [-3, _s, "SWFServiceException", 0, [], []];_s_registry.registerError(SWFServiceException$, SWFServiceException);const n0_registry = TypeRegistry.for(n0);var DefaultUndefinedFault$ = [-3, n0, _DUF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(DefaultUndefinedFault$, DefaultUndefinedFault);var DomainAlreadyExistsFault$ = [-3, n0, _DAEF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(DomainAlreadyExistsFault$, DomainAlreadyExistsFault);var DomainDeprecatedFault$ = [-3, n0, _DDF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(DomainDeprecatedFault$, DomainDeprecatedFault);var LimitExceededFault$ = [-3, n0, _LEF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(LimitExceededFault$, LimitExceededFault);var OperationNotPermittedFault$ = [-3, n0, _ONPF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(OperationNotPermittedFault$, OperationNotPermittedFault);var TooManyTagsFault$ = [-3, n0, _TMTF,    { [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(TooManyTagsFault$, TooManyTagsFault);var TypeAlreadyExistsFault$ = [-3, n0, _TAEF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(TypeAlreadyExistsFault$, TypeAlreadyExistsFault);var TypeDeprecatedFault$ = [-3, n0, _TDF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(TypeDeprecatedFault$, TypeDeprecatedFault);var TypeNotDeprecatedFault$ = [-3, n0, _TNDF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(TypeNotDeprecatedFault$, TypeNotDeprecatedFault);var UnknownResourceFault$ = [-3, n0, _URF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(UnknownResourceFault$, UnknownResourceFault);var WorkflowExecutionAlreadyStartedFault$ = [-3, n0, _WEASF,    { [_e]: _c },    [_m],    [0]];n0_registry.registerError(WorkflowExecutionAlreadyStartedFault$, WorkflowExecutionAlreadyStartedFault);const errorTypeRegistries = [    _s_registry,    n0_registry,];var ActivityTask$ = [3, n0, _AT,    0,    [_tT, _aI, _sEI, _wE, _aT, _i],    [0, 0, 1, () => WorkflowExecution$, () => ActivityType$, 0], 5];var ActivityTaskCanceledEventAttributes$ = [3, n0, _ATCEA,    0,    [_sEIc, _sEI, _d, _lCREI],    [1, 1, 0, 1], 2];var ActivityTaskCancelRequestedEventAttributes$ = [3, n0, _ATCREA,    0,    [_dTCEI, _aI],    [1, 0], 2];var ActivityTaskCompletedEventAttributes$ = [3, n0, _ATCEAc,    0,    [_sEIc, _sEI, _r],    [1, 1, 0], 2];var ActivityTaskFailedEventAttributes$ = [3, n0, _ATFEA,    0,    [_sEIc, _sEI, _re, _d],    [1, 1, 0, 0], 2];var ActivityTaskScheduledEventAttributes$ = [3, n0, _ATSEA,    0,    [_aT, _aI, _tL, _dTCEI, _i, _co, _sTST, _sTCT, _sTCTt, _tP, _hT],    [() => ActivityType$, 0, () => TaskList$, 1, 0, 0, 0, 0, 0, 0, 0], 4];var ActivityTaskStartedEventAttributes$ = [3, n0, _ATSEAc,    0,    [_sEIc, _id],    [1, 0], 1];var ActivityTaskStatus$ = [3, n0, _ATS,    0,    [_cR],    [2], 1];var ActivityTaskTimedOutEventAttributes$ = [3, n0, _ATTOEA,    0,    [_tTi, _sEIc, _sEI, _d],    [0, 1, 1, 0], 3];var ActivityType$ = [3, n0, _ATc,    0,    [_n, _v],    [0, 0], 2];var ActivityTypeConfiguration$ = [3, n0, _ATC,    0,    [_dTSTCT, _dTHT, _dTL, _dTP, _dTSTST, _dTSTCTe],    [0, 0, () => TaskList$, 0, 0, 0]];var ActivityTypeDetail$ = [3, n0, _ATD,    0,    [_tI, _con],    [() => ActivityTypeInfo$, () => ActivityTypeConfiguration$], 2];var ActivityTypeInfo$ = [3, n0, _ATI,    0,    [_aT, _st, _cD, _de, _dD],    [() => ActivityType$, 0, 4, 0, 4], 3];var ActivityTypeInfos$ = [3, n0, _ATIc,    0,    [_tIy, _nPT],    [() => ActivityTypeInfoList, 0], 1];var CancelTimerDecisionAttributes$ = [3, n0, _CTDA,    0,    [_tIi],    [0], 1];var CancelTimerFailedEventAttributes$ = [3, n0, _CTFEA,    0,    [_tIi, _ca, _dTCEI],    [0, 0, 1], 3];var CancelWorkflowExecutionDecisionAttributes$ = [3, n0, _CWEDA,    0,    [_d],    [0]];var CancelWorkflowExecutionFailedEventAttributes$ = [3, n0, _CWEFEA,    0,    [_ca, _dTCEI],    [0, 1], 2];var ChildWorkflowExecutionCanceledEventAttributes$ = [3, n0, _CWECEA,    0,    [_wE, _wT, _iEI, _sEI, _d],    [() => WorkflowExecution$, () => WorkflowType$, 1, 1, 0], 4];var ChildWorkflowExecutionCompletedEventAttributes$ = [3, n0, _CWECEAh,    0,    [_wE, _wT, _iEI, _sEI, _r],    [() => WorkflowExecution$, () => WorkflowType$, 1, 1, 0], 4];var ChildWorkflowExecutionFailedEventAttributes$ = [3, n0, _CWEFEAh,    0,    [_wE, _wT, _iEI, _sEI, _re, _d],    [() => WorkflowExecution$, () => WorkflowType$, 1, 1, 0, 0], 4];var ChildWorkflowExecutionStartedEventAttributes$ = [3, n0, _CWESEA,    0,    [_wE, _wT, _iEI],    [() => WorkflowExecution$, () => WorkflowType$, 1], 3];var ChildWorkflowExecutionTerminatedEventAttributes$ = [3, n0, _CWETEA,    0,    [_wE, _wT, _iEI, _sEI],    [() => WorkflowExecution$, () => WorkflowType$, 1, 1], 4];var ChildWorkflowExecutionTimedOutEventAttributes$ = [3, n0, _CWETOEA,    0,    [_wE, _wT, _tTi, _iEI, _sEI],    [() => WorkflowExecution$, () => WorkflowType$, 0, 1, 1], 5];var CloseStatusFilter$ = [3, n0, _CSF,    0,    [_st],    [0], 1];var CompleteWorkflowExecutionDecisionAttributes$ = [3, n0, _CWEDAo,    0,    [_r],    [0]];var CompleteWorkflowExecutionFailedEventAttributes$ = [3, n0, _CWEFEAo,    0,    [_ca, _dTCEI],    [0, 1], 2];var ContinueAsNewWorkflowExecutionDecisionAttributes$ = [3, n0, _CANWEDA,    0,    [_i, _eSTCT, _tL, _tP, _tSTCT, _cP, _tLa, _wTV, _lR],    [0, 0, () => TaskList$, 0, 0, 0, 64 | 0, 0, 0]];var ContinueAsNewWorkflowExecutionFailedEventAttributes$ = [3, n0, _CANWEFEA,    0,    [_ca, _dTCEI],    [0, 1], 2];var CountClosedWorkflowExecutionsInput$ = [3, n0, _CCWEI,    0,    [_do, _sTF, _cTF, _eF, _tF, _tFa, _cSF],    [0, () => ExecutionTimeFilter$, () => ExecutionTimeFilter$, () => WorkflowExecutionFilter$, () => WorkflowTypeFilter$, () => TagFilter$, () => CloseStatusFilter$], 1];var CountOpenWorkflowExecutionsInput$ = [3, n0, _COWEI,    0,    [_do, _sTF, _tF, _tFa, _eF],    [0, () => ExecutionTimeFilter$, () => WorkflowTypeFilter$, () => TagFilter$, () => WorkflowExecutionFilter$], 2];var CountPendingActivityTasksInput$ = [3, n0, _CPATI,    0,    [_do, _tL],    [0, () => TaskList$], 2];var CountPendingDecisionTasksInput$ = [3, n0, _CPDTI,    0,    [_do, _tL],    [0, () => TaskList$], 2];var Decision$ = [3, n0, _D,    0,    [_dT, _sATDA, _rCATDA, _cWEDA, _fWEDA, _cWEDAa, _cANWEDA, _rMDA, _sTDA, _cTDA, _sEWEDA, _rCEWEDA, _sCWEDA, _sLFDA],    [0, () => ScheduleActivityTaskDecisionAttributes$, () => RequestCancelActivityTaskDecisionAttributes$, () => CompleteWorkflowExecutionDecisionAttributes$, () => FailWorkflowExecutionDecisionAttributes$, () => CancelWorkflowExecutionDecisionAttributes$, () => ContinueAsNewWorkflowExecutionDecisionAttributes$, () => RecordMarkerDecisionAttributes$, () => StartTimerDecisionAttributes$, () => CancelTimerDecisionAttributes$, () => SignalExternalWorkflowExecutionDecisionAttributes$, () => RequestCancelExternalWorkflowExecutionDecisionAttributes$, () => StartChildWorkflowExecutionDecisionAttributes$, () => ScheduleLambdaFunctionDecisionAttributes$], 1];var DecisionTask$ = [3, n0, _DT,    0,    [_tT, _sEI, _wE, _wT, _ev, _nPT, _pSEI],    [0, 1, () => WorkflowExecution$, () => WorkflowType$, () => HistoryEventList, 0, 1], 5];var DecisionTaskCompletedEventAttributes$ = [3, n0, _DTCEA,    0,    [_sEIc, _sEI, _eC, _tL, _tLSTST],    [1, 1, 0, () => TaskList$, 0], 2];var DecisionTaskScheduledEventAttributes$ = [3, n0, _DTSEA,    0,    [_tL, _tP, _sTCTt, _sTST],    [() => TaskList$, 0, 0, 0], 1];var DecisionTaskStartedEventAttributes$ = [3, n0, _DTSEAe,    0,    [_sEIc, _id],    [1, 0], 1];var DecisionTaskTimedOutEventAttributes$ = [3, n0, _DTTOEA,    0,    [_tTi, _sEIc, _sEI],    [0, 1, 1], 3];var DeleteActivityTypeInput$ = [3, n0, _DATI,    0,    [_do, _aT],    [0, () => ActivityType$], 2];var DeleteWorkflowTypeInput$ = [3, n0, _DWTI,    0,    [_do, _wT],    [0, () => WorkflowType$], 2];var DeprecateActivityTypeInput$ = [3, n0, _DATIe,    0,    [_do, _aT],    [0, () => ActivityType$], 2];var DeprecateDomainInput$ = [3, n0, _DDI,    0,    [_n],    [0], 1];var DeprecateWorkflowTypeInput$ = [3, n0, _DWTIe,    0,    [_do, _wT],    [0, () => WorkflowType$], 2];var DescribeActivityTypeInput$ = [3, n0, _DATIes,    0,    [_do, _aT],    [0, () => ActivityType$], 2];var DescribeDomainInput$ = [3, n0, _DDIe,    0,    [_n],    [0], 1];var DescribeWorkflowExecutionInput$ = [3, n0, _DWEI,    0,    [_do, _ex],    [0, () => WorkflowExecution$], 2];var DescribeWorkflowTypeInput$ = [3, n0, _DWTIes,    0,    [_do, _wT],    [0, () => WorkflowType$], 2];var DomainConfiguration$ = [3, n0, _DC,    0,    [_wERPID],    [0], 1];var DomainDetail$ = [3, n0, _DD,    0,    [_dI, _con],    [() => DomainInfo$, () => DomainConfiguration$], 2];var DomainInfo$ = [3, n0, _DI,    0,    [_n, _st, _de, _a],    [0, 0, 0, 0], 2];var DomainInfos$ = [3, n0, _DIo,    0,    [_dIo, _nPT],    [() => DomainInfoList, 0], 1];var ExecutionTimeFilter$ = [3, n0, _ETF,    0,    [_oD, _lD],    [4, 4], 1];var ExternalWorkflowExecutionCancelRequestedEventAttributes$ = [3, n0, _EWECREA,    0,    [_wE, _iEI],    [() => WorkflowExecution$, 1], 2];var ExternalWorkflowExecutionSignaledEventAttributes$ = [3, n0, _EWESEA,    0,    [_wE, _iEI],    [() => WorkflowExecution$, 1], 2];var FailWorkflowExecutionDecisionAttributes$ = [3, n0, _FWEDA,    0,    [_re, _d],    [0, 0]];var FailWorkflowExecutionFailedEventAttributes$ = [3, n0, _FWEFEA,    0,    [_ca, _dTCEI],    [0, 1], 2];var GetWorkflowExecutionHistoryInput$ = [3, n0, _GWEHI,    0,    [_do, _ex, _nPT, _mPS, _rO],    [0, () => WorkflowExecution$, 0, 1, 2], 2];var History$ = [3, n0, _H,    0,    [_ev, _nPT],    [() => HistoryEventList, 0], 1];var HistoryEvent$ = [3, n0, _HE,    0,    [_eT, _eTv, _eI, _wESEA, _wECEA, _cWEFEA, _wEFEA, _fWEFEA, _wETOEA, _wECEAo, _cWEFEAa, _wECANEA, _cANWEFEA, _wETEA, _wECREA, _dTSEA, _dTSEAe, _dTCEA, _dTTOEA, _aTSEA, _aTSEAc, _aTCEA, _aTFEA, _aTTOEA, _aTCEAc, _aTCREA, _wESEAo, _mREA, _rMFEA, _tSEA, _tFEA, _tCEA, _sCWEIEA, _cWESEA, _cWECEA, _cWEFEAh, _cWETOEA, _cWECEAh, _cWETEA, _sEWEIEA, _eWESEA, _sEWEFEA, _eWECREA, _rCEWEIEA, _rCEWEFEA, _sATFEA, _rCATFEA, _sTFEA, _cTFEA, _sCWEFEA, _lFSEA, _lFSEAa, _lFCEA, _lFFEA, _lFTOEA, _sLFFEA, _sLFFEAt],    [4, 0, 1, () => WorkflowExecutionStartedEventAttributes$, () => WorkflowExecutionCompletedEventAttributes$, () => CompleteWorkflowExecutionFailedEventAttributes$, () => WorkflowExecutionFailedEventAttributes$, () => FailWorkflowExecutionFailedEventAttributes$, () => WorkflowExecutionTimedOutEventAttributes$, () => WorkflowExecutionCanceledEventAttributes$, () => CancelWorkflowExecutionFailedEventAttributes$, () => WorkflowExecutionContinuedAsNewEventAttributes$, () => ContinueAsNewWorkflowExecutionFailedEventAttributes$, () => WorkflowExecutionTerminatedEventAttributes$, () => WorkflowExecutionCancelRequestedEventAttributes$, () => DecisionTaskScheduledEventAttributes$, () => DecisionTaskStartedEventAttributes$, () => DecisionTaskCompletedEventAttributes$, () => DecisionTaskTimedOutEventAttributes$, () => ActivityTaskScheduledEventAttributes$, () => ActivityTaskStartedEventAttributes$, () => ActivityTaskCompletedEventAttributes$, () => ActivityTaskFailedEventAttributes$, () => ActivityTaskTimedOutEventAttributes$, () => ActivityTaskCanceledEventAttributes$, () => ActivityTaskCancelRequestedEventAttributes$, () => WorkflowExecutionSignaledEventAttributes$, () => MarkerRecordedEventAttributes$, () => RecordMarkerFailedEventAttributes$, () => TimerStartedEventAttributes$, () => TimerFiredEventAttributes$, () => TimerCanceledEventAttributes$, () => StartChildWorkflowExecutionInitiatedEventAttributes$, () => ChildWorkflowExecutionStartedEventAttributes$, () => ChildWorkflowExecutionCompletedEventAttributes$, () => ChildWorkflowExecutionFailedEventAttributes$, () => ChildWorkflowExecutionTimedOutEventAttributes$, () => ChildWorkflowExecutionCanceledEventAttributes$, () => ChildWorkflowExecutionTerminatedEventAttributes$, () => SignalExternalWorkflowExecutionInitiatedEventAttributes$, () => ExternalWorkflowExecutionSignaledEventAttributes$, () => SignalExternalWorkflowExecutionFailedEventAttributes$, () => ExternalWorkflowExecutionCancelRequestedEventAttributes$, () => RequestCancelExternalWorkflowExecutionInitiatedEventAttributes$, () => RequestCancelExternalWorkflowExecutionFailedEventAttributes$, () => ScheduleActivityTaskFailedEventAttributes$, () => RequestCancelActivityTaskFailedEventAttributes$, () => StartTimerFailedEventAttributes$, () => CancelTimerFailedEventAttributes$, () => StartChildWorkflowExecutionFailedEventAttributes$, () => LambdaFunctionScheduledEventAttributes$, () => LambdaFunctionStartedEventAttributes$, () => LambdaFunctionCompletedEventAttributes$, () => LambdaFunctionFailedEventAttributes$, () => LambdaFunctionTimedOutEventAttributes$, () => ScheduleLambdaFunctionFailedEventAttributes$, () => StartLambdaFunctionFailedEventAttributes$], 3];var LambdaFunctionCompletedEventAttributes$ = [3, n0, _LFCEA,    0,    [_sEIc, _sEI, _r],    [1, 1, 0], 2];var LambdaFunctionFailedEventAttributes$ = [3, n0, _LFFEA,    0,    [_sEIc, _sEI, _re, _d],    [1, 1, 0, 0], 2];var LambdaFunctionScheduledEventAttributes$ = [3, n0, _LFSEA,    0,    [_id_, _n, _dTCEI, _co, _i, _sTCTt],    [0, 0, 1, 0, 0, 0], 3];var LambdaFunctionStartedEventAttributes$ = [3, n0, _LFSEAa,    0,    [_sEIc],    [1], 1];var LambdaFunctionTimedOutEventAttributes$ = [3, n0, _LFTOEA,    0,    [_sEIc, _sEI, _tTi],    [1, 1, 0], 2];var ListActivityTypesInput$ = [3, n0, _LATI,    0,    [_do, _rS, _n, _nPT, _mPS, _rO],    [0, 0, 0, 0, 1, 2], 2];var ListClosedWorkflowExecutionsInput$ = [3, n0, _LCWEI,    0,    [_do, _sTF, _cTF, _eF, _cSF, _tF, _tFa, _nPT, _mPS, _rO],    [0, () => ExecutionTimeFilter$, () => ExecutionTimeFilter$, () => WorkflowExecutionFilter$, () => CloseStatusFilter$, () => WorkflowTypeFilter$, () => TagFilter$, 0, 1, 2], 1];var ListDomainsInput$ = [3, n0, _LDI,    0,    [_rS, _nPT, _mPS, _rO],    [0, 0, 1, 2], 1];var ListOpenWorkflowExecutionsInput$ = [3, n0, _LOWEI,    0,    [_do, _sTF, _tF, _tFa, _nPT, _mPS, _rO, _eF],    [0, () => ExecutionTimeFilter$, () => WorkflowTypeFilter$, () => TagFilter$, 0, 1, 2, () => WorkflowExecutionFilter$], 2];var ListTagsForResourceInput$ = [3, n0, _LTFRI,    0,    [_rA],    [0], 1];var ListTagsForResourceOutput$ = [3, n0, _LTFRO,    0,    [_t],    [() => ResourceTagList]];var ListWorkflowTypesInput$ = [3, n0, _LWTI,    0,    [_do, _rS, _n, _nPT, _mPS, _rO],    [0, 0, 0, 0, 1, 2], 2];var MarkerRecordedEventAttributes$ = [3, n0, _MREA,    0,    [_mN, _dTCEI, _d],    [0, 1, 0], 2];var PendingTaskCount$ = [3, n0, _PTC,    0,    [_cou, _tr],    [1, 2], 1];var PollForActivityTaskInput$ = [3, n0, _PFATI,    0,    [_do, _tL, _id],    [0, () => TaskList$, 0], 2];var PollForDecisionTaskInput$ = [3, n0, _PFDTI,    0,    [_do, _tL, _id, _nPT, _mPS, _rO, _sAPSE],    [0, () => TaskList$, 0, 0, 1, 2, 2], 2];var RecordActivityTaskHeartbeatInput$ = [3, n0, _RATHI,    0,    [_tT, _d],    [0, 0], 1];var RecordMarkerDecisionAttributes$ = [3, n0, _RMDA,    0,    [_mN, _d],    [0, 0], 1];var RecordMarkerFailedEventAttributes$ = [3, n0, _RMFEA,    0,    [_mN, _ca, _dTCEI],    [0, 0, 1], 3];var RegisterActivityTypeInput$ = [3, n0, _RATI,    0,    [_do, _n, _v, _de, _dTSTCT, _dTHT, _dTL, _dTP, _dTSTST, _dTSTCTe],    [0, 0, 0, 0, 0, 0, () => TaskList$, 0, 0, 0], 3];var RegisterDomainInput$ = [3, n0, _RDI,    0,    [_n, _wERPID, _de, _t],    [0, 0, 0, () => ResourceTagList], 2];var RegisterWorkflowTypeInput$ = [3, n0, _RWTI,    0,    [_do, _n, _v, _de, _dTSTCT, _dESTCT, _dTL, _dTP, _dCP, _dLR],    [0, 0, 0, 0, 0, 0, () => TaskList$, 0, 0, 0], 3];var RequestCancelActivityTaskDecisionAttributes$ = [3, n0, _RCATDA,    0,    [_aI],    [0], 1];var RequestCancelActivityTaskFailedEventAttributes$ = [3, n0, _RCATFEA,    0,    [_aI, _ca, _dTCEI],    [0, 0, 1], 3];var RequestCancelExternalWorkflowExecutionDecisionAttributes$ = [3, n0, _RCEWEDA,    0,    [_wI, _rI, _co],    [0, 0, 0], 1];var RequestCancelExternalWorkflowExecutionFailedEventAttributes$ = [3, n0, _RCEWEFEA,    0,    [_wI, _ca, _iEI, _dTCEI, _rI, _co],    [0, 0, 1, 1, 0, 0], 4];var RequestCancelExternalWorkflowExecutionInitiatedEventAttributes$ = [3, n0, _RCEWEIEA,    0,    [_wI, _dTCEI, _rI, _co],    [0, 1, 0, 0], 2];var RequestCancelWorkflowExecutionInput$ = [3, n0, _RCWEI,    0,    [_do, _wI, _rI],    [0, 0, 0], 2];var ResourceTag$ = [3, n0, _RT,    0,    [_k, _va],    [0, 0], 1];var RespondActivityTaskCanceledInput$ = [3, n0, _RATCI,    0,    [_tT, _d],    [0, 0], 1];var RespondActivityTaskCompletedInput$ = [3, n0, _RATCIe,    0,    [_tT, _r],    [0, 0], 1];var RespondActivityTaskFailedInput$ = [3, n0, _RATFI,    0,    [_tT, _re, _d],    [0, 0, 0], 1];var RespondDecisionTaskCompletedInput$ = [3, n0, _RDTCI,    0,    [_tT, _dec, _eC, _tL, _tLSTST],    [0, () => DecisionList, 0, () => TaskList$, 0], 1];var Run$ = [3, n0, _R,    0,    [_rI],    [0]];var ScheduleActivityTaskDecisionAttributes$ = [3, n0, _SATDA,    0,    [_aT, _aI, _co, _i, _sTCT, _tL, _tP, _sTST, _sTCTt, _hT],    [() => ActivityType$, 0, 0, 0, 0, () => TaskList$, 0, 0, 0, 0], 2];var ScheduleActivityTaskFailedEventAttributes$ = [3, n0, _SATFEA,    0,    [_aT, _aI, _ca, _dTCEI],    [() => ActivityType$, 0, 0, 1], 4];var ScheduleLambdaFunctionDecisionAttributes$ = [3, n0, _SLFDA,    0,    [_id_, _n, _co, _i, _sTCTt],    [0, 0, 0, 0, 0], 2];var ScheduleLambdaFunctionFailedEventAttributes$ = [3, n0, _SLFFEA,    0,    [_id_, _n, _ca, _dTCEI],    [0, 0, 0, 1], 4];var SignalExternalWorkflowExecutionDecisionAttributes$ = [3, n0, _SEWEDA,    0,    [_wI, _sN, _rI, _i, _co],    [0, 0, 0, 0, 0], 2];var SignalExternalWorkflowExecutionFailedEventAttributes$ = [3, n0, _SEWEFEA,    0,    [_wI, _ca, _iEI, _dTCEI, _rI, _co],    [0, 0, 1, 1, 0, 0], 4];var SignalExternalWorkflowExecutionInitiatedEventAttributes$ = [3, n0, _SEWEIEA,    0,    [_wI, _sN, _dTCEI, _rI, _i, _co],    [0, 0, 1, 0, 0, 0], 3];var SignalWorkflowExecutionInput$ = [3, n0, _SWEI,    0,    [_do, _wI, _sN, _rI, _i],    [0, 0, 0, 0, 0], 3];var StartChildWorkflowExecutionDecisionAttributes$ = [3, n0, _SCWEDA,    0,    [_wT, _wI, _co, _i, _eSTCT, _tL, _tP, _tSTCT, _cP, _tLa, _lR],    [() => WorkflowType$, 0, 0, 0, 0, () => TaskList$, 0, 0, 0, 64 | 0, 0], 2];var StartChildWorkflowExecutionFailedEventAttributes$ = [3, n0, _SCWEFEA,    0,    [_wT, _ca, _wI, _iEI, _dTCEI, _co],    [() => WorkflowType$, 0, 0, 1, 1, 0], 5];var StartChildWorkflowExecutionInitiatedEventAttributes$ = [3, n0, _SCWEIEA,    0,    [_wI, _wT, _tL, _dTCEI, _cP, _co, _i, _eSTCT, _tP, _tSTCT, _tLa, _lR],    [0, () => WorkflowType$, () => TaskList$, 1, 0, 0, 0, 0, 0, 0, 64 | 0, 0], 5];var StartLambdaFunctionFailedEventAttributes$ = [3, n0, _SLFFEAt,    0,    [_sEIc, _ca, _m],    [1, 0, 0]];var StartTimerDecisionAttributes$ = [3, n0, _STDA,    0,    [_tIi, _sTFT, _co],    [0, 0, 0], 2];var StartTimerFailedEventAttributes$ = [3, n0, _STFEA,    0,    [_tIi, _ca, _dTCEI],    [0, 0, 1], 3];var StartWorkflowExecutionInput$ = [3, n0, _SWEIt,    0,    [_do, _wI, _wT, _tL, _tP, _i, _eSTCT, _tLa, _tSTCT, _cP, _lR],    [0, 0, () => WorkflowType$, () => TaskList$, 0, 0, 0, 64 | 0, 0, 0, 0], 3];var TagFilter$ = [3, n0, _TF,    0,    [_ta],    [0], 1];var TagResourceInput$ = [3, n0, _TRI,    0,    [_rA, _t],    [0, () => ResourceTagList], 2];var TaskList$ = [3, n0, _TL,    0,    [_n],    [0], 1];var TerminateWorkflowExecutionInput$ = [3, n0, _TWEI,    0,    [_do, _wI, _rI, _re, _d, _cP],    [0, 0, 0, 0, 0, 0], 2];var TimerCanceledEventAttributes$ = [3, n0, _TCEA,    0,    [_tIi, _sEI, _dTCEI],    [0, 1, 1], 3];var TimerFiredEventAttributes$ = [3, n0, _TFEA,    0,    [_tIi, _sEI],    [0, 1], 2];var TimerStartedEventAttributes$ = [3, n0, _TSEA,    0,    [_tIi, _sTFT, _dTCEI, _co],    [0, 0, 1, 0], 3];var UndeprecateActivityTypeInput$ = [3, n0, _UATI,    0,    [_do, _aT],    [0, () => ActivityType$], 2];var UndeprecateDomainInput$ = [3, n0, _UDI,    0,    [_n],    [0], 1];var UndeprecateWorkflowTypeInput$ = [3, n0, _UWTI,    0,    [_do, _wT],    [0, () => WorkflowType$], 2];var UntagResourceInput$ = [3, n0, _URI,    0,    [_rA, _tK],    [0, 64 | 0], 2];var WorkflowExecution$ = [3, n0, _WE,    0,    [_wI, _rI],    [0, 0], 2];var WorkflowExecutionCanceledEventAttributes$ = [3, n0, _WECEA,    0,    [_dTCEI, _d],    [1, 0], 1];var WorkflowExecutionCancelRequestedEventAttributes$ = [3, n0, _WECREA,    0,    [_eWE, _eIEI, _ca],    [() => WorkflowExecution$, 1, 0]];var WorkflowExecutionCompletedEventAttributes$ = [3, n0, _WECEAo,    0,    [_dTCEI, _r],    [1, 0], 1];var WorkflowExecutionConfiguration$ = [3, n0, _WEC,    0,    [_tSTCT, _eSTCT, _tL, _cP, _tP, _lR],    [0, 0, () => TaskList$, 0, 0, 0], 4];var WorkflowExecutionContinuedAsNewEventAttributes$ = [3, n0, _WECANEA,    0,    [_dTCEI, _nERI, _tL, _cP, _wT, _i, _eSTCT, _tP, _tSTCT, _tLa, _lR],    [1, 0, () => TaskList$, 0, () => WorkflowType$, 0, 0, 0, 0, 64 | 0, 0], 5];var WorkflowExecutionCount$ = [3, n0, _WECo,    0,    [_cou, _tr],    [1, 2], 1];var WorkflowExecutionDetail$ = [3, n0, _WED,    0,    [_eIx, _eCx, _oC, _lATT, _lEC],    [() => WorkflowExecutionInfo$, () => WorkflowExecutionConfiguration$, () => WorkflowExecutionOpenCounts$, 4, 0], 3];var WorkflowExecutionFailedEventAttributes$ = [3, n0, _WEFEA,    0,    [_dTCEI, _re, _d],    [1, 0, 0], 1];var WorkflowExecutionFilter$ = [3, n0, _WEF,    0,    [_wI],    [0], 1];var WorkflowExecutionInfo$ = [3, n0, _WEI,    0,    [_ex, _wT, _sT, _eS, _cT, _cS, _p, _tLa, _cR],    [() => WorkflowExecution$, () => WorkflowType$, 4, 0, 4, 0, () => WorkflowExecution$, 64 | 0, 2], 4];var WorkflowExecutionInfos$ = [3, n0, _WEIo,    0,    [_eIxe, _nPT],    [() => WorkflowExecutionInfoList, 0], 1];var WorkflowExecutionOpenCounts$ = [3, n0, _WEOC,    0,    [_oAT, _oDT, _oT, _oCWE, _oLF],    [1, 1, 1, 1, 1], 4];var WorkflowExecutionSignaledEventAttributes$ = [3, n0, _WESEA,    0,    [_sN, _i, _eWE, _eIEI],    [0, 0, () => WorkflowExecution$, 1], 1];var WorkflowExecutionStartedEventAttributes$ = [3, n0, _WESEAo,    0,    [_cP, _tL, _wT, _i, _eSTCT, _tSTCT, _tP, _tLa, _cERI, _pWE, _pIEI, _lR],    [0, () => TaskList$, () => WorkflowType$, 0, 0, 0, 0, 64 | 0, 0, () => WorkflowExecution$, 1, 0], 3];var WorkflowExecutionTerminatedEventAttributes$ = [3, n0, _WETEA,    0,    [_cP, _re, _d, _ca],    [0, 0, 0, 0], 1];var WorkflowExecutionTimedOutEventAttributes$ = [3, n0, _WETOEA,    0,    [_tTi, _cP],    [0, 0], 2];var WorkflowType$ = [3, n0, _WT,    0,    [_n, _v],    [0, 0], 2];var WorkflowTypeConfiguration$ = [3, n0, _WTC,    0,    [_dTSTCT, _dESTCT, _dTL, _dTP, _dCP, _dLR],    [0, 0, () => TaskList$, 0, 0, 0]];var WorkflowTypeDetail$ = [3, n0, _WTD,    0,    [_tI, _con],    [() => WorkflowTypeInfo$, () => WorkflowTypeConfiguration$], 2];var WorkflowTypeFilter$ = [3, n0, _WTF,    0,    [_n, _v],    [0, 0], 1];var WorkflowTypeInfo$ = [3, n0, _WTI,    0,    [_wT, _st, _cD, _de, _dD],    [() => WorkflowType$, 0, 4, 0, 4], 3];var WorkflowTypeInfos$ = [3, n0, _WTIo,    0,    [_tIy, _nPT],    [() => WorkflowTypeInfoList, 0], 1];var __Unit = "unit";var ActivityTypeInfoList = [1, n0, _ATIL,    0, () => ActivityTypeInfo$];var DecisionList = [1, n0, _DL,    0, () => Decision$];var DomainInfoList = [1, n0, _DIL,    0, () => DomainInfo$];var HistoryEventList = [1, n0, _HEL,    0, () => HistoryEvent$];var ResourceTagList = [1, n0, _RTL,    0, () => ResourceTag$];var WorkflowExecutionInfoList = [1, n0, _WEIL,    0, () => WorkflowExecutionInfo$];var WorkflowTypeInfoList = [1, n0, _WTIL,    0, () => WorkflowTypeInfo$];var CountClosedWorkflowExecutions$ = [9, n0, _CCWE,    0, () => CountClosedWorkflowExecutionsInput$, () => WorkflowExecutionCount$];var CountOpenWorkflowExecutions$ = [9, n0, _COWE,    0, () => CountOpenWorkflowExecutionsInput$, () => WorkflowExecutionCount$];var CountPendingActivityTasks$ = [9, n0, _CPAT,    0, () => CountPendingActivityTasksInput$, () => PendingTaskCount$];var CountPendingDecisionTasks$ = [9, n0, _CPDT,    0, () => CountPendingDecisionTasksInput$, () => PendingTaskCount$];var DeleteActivityType$ = [9, n0, _DAT,    0, () => DeleteActivityTypeInput$, () => __Unit];var DeleteWorkflowType$ = [9, n0, _DWT,    0, () => DeleteWorkflowTypeInput$, () => __Unit];var DeprecateActivityType$ = [9, n0, _DATe,    0, () => DeprecateActivityTypeInput$, () => __Unit];var DeprecateDomain$ = [9, n0, _DDe,    0, () => DeprecateDomainInput$, () => __Unit];var DeprecateWorkflowType$ = [9, n0, _DWTe,    0, () => DeprecateWorkflowTypeInput$, () => __Unit];var DescribeActivityType$ = [9, n0, _DATes,    0, () => DescribeActivityTypeInput$, () => ActivityTypeDetail$];var DescribeDomain$ = [9, n0, _DDes,    0, () => DescribeDomainInput$, () => DomainDetail$];var DescribeWorkflowExecution$ = [9, n0, _DWE,    0, () => DescribeWorkflowExecutionInput$, () => WorkflowExecutionDetail$];var DescribeWorkflowType$ = [9, n0, _DWTes,    0, () => DescribeWorkflowTypeInput$, () => WorkflowTypeDetail$];var GetWorkflowExecutionHistory$ = [9, n0, _GWEH,    0, () => GetWorkflowExecutionHistoryInput$, () => History$];var ListActivityTypes$ = [9, n0, _LAT,    0, () => ListActivityTypesInput$, () => ActivityTypeInfos$];var ListClosedWorkflowExecutions$ = [9, n0, _LCWE,    0, () => ListClosedWorkflowExecutionsInput$, () => WorkflowExecutionInfos$];var ListDomains$ = [9, n0, _LD,    0, () => ListDomainsInput$, () => DomainInfos$];var ListOpenWorkflowExecutions$ = [9, n0, _LOWE,    0, () => ListOpenWorkflowExecutionsInput$, () => WorkflowExecutionInfos$];var ListTagsForResource$ = [9, n0, _LTFR,    0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$];var ListWorkflowTypes$ = [9, n0, _LWT,    0, () => ListWorkflowTypesInput$, () => WorkflowTypeInfos$];var PollForActivityTask$ = [9, n0, _PFAT,    0, () => PollForActivityTaskInput$, () => ActivityTask$];var PollForDecisionTask$ = [9, n0, _PFDT,    0, () => PollForDecisionTaskInput$, () => DecisionTask$];var RecordActivityTaskHeartbeat$ = [9, n0, _RATH,    0, () => RecordActivityTaskHeartbeatInput$, () => ActivityTaskStatus$];var RegisterActivityType$ = [9, n0, _RAT,    0, () => RegisterActivityTypeInput$, () => __Unit];var RegisterDomain$ = [9, n0, _RD,    0, () => RegisterDomainInput$, () => __Unit];var RegisterWorkflowType$ = [9, n0, _RWT,    0, () => RegisterWorkflowTypeInput$, () => __Unit];var RequestCancelWorkflowExecution$ = [9, n0, _RCWE,    0, () => RequestCancelWorkflowExecutionInput$, () => __Unit];var RespondActivityTaskCanceled$ = [9, n0, _RATC,    0, () => RespondActivityTaskCanceledInput$, () => __Unit];var RespondActivityTaskCompleted$ = [9, n0, _RATCe,    0, () => RespondActivityTaskCompletedInput$, () => __Unit];var RespondActivityTaskFailed$ = [9, n0, _RATF,    0, () => RespondActivityTaskFailedInput$, () => __Unit];var RespondDecisionTaskCompleted$ = [9, n0, _RDTC,    0, () => RespondDecisionTaskCompletedInput$, () => __Unit];var SignalWorkflowExecution$ = [9, n0, _SWE,    0, () => SignalWorkflowExecutionInput$, () => __Unit];var StartWorkflowExecution$ = [9, n0, _SWEt,    0, () => StartWorkflowExecutionInput$, () => Run$];var TagResource$ = [9, n0, _TR,    0, () => TagResourceInput$, () => __Unit];var TerminateWorkflowExecution$ = [9, n0, _TWE,    0, () => TerminateWorkflowExecutionInput$, () => __Unit];var UndeprecateActivityType$ = [9, n0, _UAT,    0, () => UndeprecateActivityTypeInput$, () => __Unit];var UndeprecateDomain$ = [9, n0, _UD,    0, () => UndeprecateDomainInput$, () => __Unit];var UndeprecateWorkflowType$ = [9, n0, _UWT,    0, () => UndeprecateWorkflowTypeInput$, () => __Unit];var UntagResource$ = [9, n0, _UR,    0, () => UntagResourceInput$, () => __Unit]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2012-01-25",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSWFHttpAuthSchemeProvider,        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_0Protocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.swf",            errorTypeRegistries,            xmlNamespace: "http://swf.amazonaws.com/doc/2012-01-25",            version: "2012-01-25",            serviceTarget: "SimpleWorkflowService",        },        serviceId: config?.serviceId ?? "SWF",        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 SWFClient 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: defaultSWFHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "SimpleWorkflowService", "SWFClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => [];const _mw1 = (Command, cs, config, o) => [    getLongPollPlugin(config),]; class CountClosedWorkflowExecutionsCommand extends command(_ep0, _mw0, "CountClosedWorkflowExecutions", CountClosedWorkflowExecutions$) {} class CountOpenWorkflowExecutionsCommand extends command(_ep0, _mw0, "CountOpenWorkflowExecutions", CountOpenWorkflowExecutions$) {} class CountPendingActivityTasksCommand extends command(_ep0, _mw0, "CountPendingActivityTasks", CountPendingActivityTasks$) {} class CountPendingDecisionTasksCommand extends command(_ep0, _mw0, "CountPendingDecisionTasks", CountPendingDecisionTasks$) {} class DeleteActivityTypeCommand extends command(_ep0, _mw0, "DeleteActivityType", DeleteActivityType$) {} class DeleteWorkflowTypeCommand extends command(_ep0, _mw0, "DeleteWorkflowType", DeleteWorkflowType$) {} class DeprecateActivityTypeCommand extends command(_ep0, _mw0, "DeprecateActivityType", DeprecateActivityType$) {} class DeprecateDomainCommand extends command(_ep0, _mw0, "DeprecateDomain", DeprecateDomain$) {} class DeprecateWorkflowTypeCommand extends command(_ep0, _mw0, "DeprecateWorkflowType", DeprecateWorkflowType$) {} class DescribeActivityTypeCommand extends command(_ep0, _mw0, "DescribeActivityType", DescribeActivityType$) {} class DescribeDomainCommand extends command(_ep0, _mw0, "DescribeDomain", DescribeDomain$) {} class DescribeWorkflowExecutionCommand extends command(_ep0, _mw0, "DescribeWorkflowExecution", DescribeWorkflowExecution$) {} class DescribeWorkflowTypeCommand extends command(_ep0, _mw0, "DescribeWorkflowType", DescribeWorkflowType$) {} class GetWorkflowExecutionHistoryCommand extends command(_ep0, _mw0, "GetWorkflowExecutionHistory", GetWorkflowExecutionHistory$) {} class ListActivityTypesCommand extends command(_ep0, _mw0, "ListActivityTypes", ListActivityTypes$) {} class ListClosedWorkflowExecutionsCommand extends command(_ep0, _mw0, "ListClosedWorkflowExecutions", ListClosedWorkflowExecutions$) {} class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {} class ListOpenWorkflowExecutionsCommand extends command(_ep0, _mw0, "ListOpenWorkflowExecutions", ListOpenWorkflowExecutions$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class ListWorkflowTypesCommand extends command(_ep0, _mw0, "ListWorkflowTypes", ListWorkflowTypes$) {} class PollForActivityTaskCommand extends command(_ep0, _mw1, "PollForActivityTask", PollForActivityTask$) {} class PollForDecisionTaskCommand extends command(_ep0, _mw1, "PollForDecisionTask", PollForDecisionTask$) {} class RecordActivityTaskHeartbeatCommand extends command(_ep0, _mw0, "RecordActivityTaskHeartbeat", RecordActivityTaskHeartbeat$) {} class RegisterActivityTypeCommand extends command(_ep0, _mw0, "RegisterActivityType", RegisterActivityType$) {} class RegisterDomainCommand extends command(_ep0, _mw0, "RegisterDomain", RegisterDomain$) {} class RegisterWorkflowTypeCommand extends command(_ep0, _mw0, "RegisterWorkflowType", RegisterWorkflowType$) {} class RequestCancelWorkflowExecutionCommand extends command(_ep0, _mw0, "RequestCancelWorkflowExecution", RequestCancelWorkflowExecution$) {} class RespondActivityTaskCanceledCommand extends command(_ep0, _mw0, "RespondActivityTaskCanceled", RespondActivityTaskCanceled$) {} class RespondActivityTaskCompletedCommand extends command(_ep0, _mw0, "RespondActivityTaskCompleted", RespondActivityTaskCompleted$) {} class RespondActivityTaskFailedCommand extends command(_ep0, _mw0, "RespondActivityTaskFailed", RespondActivityTaskFailed$) {} class RespondDecisionTaskCompletedCommand extends command(_ep0, _mw0, "RespondDecisionTaskCompleted", RespondDecisionTaskCompleted$) {} class SignalWorkflowExecutionCommand extends command(_ep0, _mw0, "SignalWorkflowExecution", SignalWorkflowExecution$) {} class StartWorkflowExecutionCommand extends command(_ep0, _mw0, "StartWorkflowExecution", StartWorkflowExecution$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class TerminateWorkflowExecutionCommand extends command(_ep0, _mw0, "TerminateWorkflowExecution", TerminateWorkflowExecution$) {} class UndeprecateActivityTypeCommand extends command(_ep0, _mw0, "UndeprecateActivityType", UndeprecateActivityType$) {} class UndeprecateDomainCommand extends command(_ep0, _mw0, "UndeprecateDomain", UndeprecateDomain$) {} class UndeprecateWorkflowTypeCommand extends command(_ep0, _mw0, "UndeprecateWorkflowType", UndeprecateWorkflowType$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} const paginateGetWorkflowExecutionHistory = createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListActivityTypes = createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListClosedWorkflowExecutions = createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListDomains = createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListOpenWorkflowExecutions = createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListWorkflowTypes = createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginatePollForDecisionTask = createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const commands = {    CountClosedWorkflowExecutionsCommand,    CountOpenWorkflowExecutionsCommand,    CountPendingActivityTasksCommand,    CountPendingDecisionTasksCommand,    DeleteActivityTypeCommand,    DeleteWorkflowTypeCommand,    DeprecateActivityTypeCommand,    DeprecateDomainCommand,    DeprecateWorkflowTypeCommand,    DescribeActivityTypeCommand,    DescribeDomainCommand,    DescribeWorkflowExecutionCommand,    DescribeWorkflowTypeCommand,    GetWorkflowExecutionHistoryCommand,    ListActivityTypesCommand,    ListClosedWorkflowExecutionsCommand,    ListDomainsCommand,    ListOpenWorkflowExecutionsCommand,    ListTagsForResourceCommand,    ListWorkflowTypesCommand,    PollForActivityTaskCommand,    PollForDecisionTaskCommand,    RecordActivityTaskHeartbeatCommand,    RegisterActivityTypeCommand,    RegisterDomainCommand,    RegisterWorkflowTypeCommand,    RequestCancelWorkflowExecutionCommand,    RespondActivityTaskCanceledCommand,    RespondActivityTaskCompletedCommand,    RespondActivityTaskFailedCommand,    RespondDecisionTaskCompletedCommand,    SignalWorkflowExecutionCommand,    StartWorkflowExecutionCommand,    TagResourceCommand,    TerminateWorkflowExecutionCommand,    UndeprecateActivityTypeCommand,    UndeprecateDomainCommand,    UndeprecateWorkflowTypeCommand,    UntagResourceCommand,};const paginators = {    paginateGetWorkflowExecutionHistory,    paginateListActivityTypes,    paginateListClosedWorkflowExecutions,    paginateListDomains,    paginateListOpenWorkflowExecutions,    paginateListWorkflowTypes,    paginatePollForDecisionTask,};class SWF extends SWFClient {}createAggregatedClient(commands, SWF, { paginators }); const ActivityTaskTimeoutType = {    HEARTBEAT: "HEARTBEAT",    SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",    SCHEDULE_TO_START: "SCHEDULE_TO_START",    START_TO_CLOSE: "START_TO_CLOSE",};const RegistrationStatus = {    DEPRECATED: "DEPRECATED",    REGISTERED: "REGISTERED",};const CancelTimerFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",};const CancelWorkflowExecutionFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    UNHANDLED_DECISION: "UNHANDLED_DECISION",};const ChildPolicy = {    ABANDON: "ABANDON",    REQUEST_CANCEL: "REQUEST_CANCEL",    TERMINATE: "TERMINATE",};const WorkflowExecutionTimeoutType = {    START_TO_CLOSE: "START_TO_CLOSE",};const CloseStatus = {    CANCELED: "CANCELED",    COMPLETED: "COMPLETED",    CONTINUED_AS_NEW: "CONTINUED_AS_NEW",    FAILED: "FAILED",    TERMINATED: "TERMINATED",    TIMED_OUT: "TIMED_OUT",};const CompleteWorkflowExecutionFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    UNHANDLED_DECISION: "UNHANDLED_DECISION",};const ContinueAsNewWorkflowExecutionFailedCause = {    CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",    DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",    DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",    DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",    DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    UNHANDLED_DECISION: "UNHANDLED_DECISION",    WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",    WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",};const DecisionType = {    CancelTimer: "CancelTimer",    CancelWorkflowExecution: "CancelWorkflowExecution",    CompleteWorkflowExecution: "CompleteWorkflowExecution",    ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",    FailWorkflowExecution: "FailWorkflowExecution",    RecordMarker: "RecordMarker",    RequestCancelActivityTask: "RequestCancelActivityTask",    RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",    ScheduleActivityTask: "ScheduleActivityTask",    ScheduleLambdaFunction: "ScheduleLambdaFunction",    SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",    StartChildWorkflowExecution: "StartChildWorkflowExecution",    StartTimer: "StartTimer",};const DecisionTaskTimeoutType = {    SCHEDULE_TO_START: "SCHEDULE_TO_START",    START_TO_CLOSE: "START_TO_CLOSE",};const EventType = {    ActivityTaskCancelRequested: "ActivityTaskCancelRequested",    ActivityTaskCanceled: "ActivityTaskCanceled",    ActivityTaskCompleted: "ActivityTaskCompleted",    ActivityTaskFailed: "ActivityTaskFailed",    ActivityTaskScheduled: "ActivityTaskScheduled",    ActivityTaskStarted: "ActivityTaskStarted",    ActivityTaskTimedOut: "ActivityTaskTimedOut",    CancelTimerFailed: "CancelTimerFailed",    CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",    ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",    ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",    ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",    ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",    ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",    ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",    CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",    ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",    DecisionTaskCompleted: "DecisionTaskCompleted",    DecisionTaskScheduled: "DecisionTaskScheduled",    DecisionTaskStarted: "DecisionTaskStarted",    DecisionTaskTimedOut: "DecisionTaskTimedOut",    ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",    ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",    FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",    LambdaFunctionCompleted: "LambdaFunctionCompleted",    LambdaFunctionFailed: "LambdaFunctionFailed",    LambdaFunctionScheduled: "LambdaFunctionScheduled",    LambdaFunctionStarted: "LambdaFunctionStarted",    LambdaFunctionTimedOut: "LambdaFunctionTimedOut",    MarkerRecorded: "MarkerRecorded",    RecordMarkerFailed: "RecordMarkerFailed",    RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",    RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",    RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",    ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",    ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",    SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",    SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",    StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",    StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",    StartLambdaFunctionFailed: "StartLambdaFunctionFailed",    StartTimerFailed: "StartTimerFailed",    TimerCanceled: "TimerCanceled",    TimerFired: "TimerFired",    TimerStarted: "TimerStarted",    WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",    WorkflowExecutionCanceled: "WorkflowExecutionCanceled",    WorkflowExecutionCompleted: "WorkflowExecutionCompleted",    WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",    WorkflowExecutionFailed: "WorkflowExecutionFailed",    WorkflowExecutionSignaled: "WorkflowExecutionSignaled",    WorkflowExecutionStarted: "WorkflowExecutionStarted",    WorkflowExecutionTerminated: "WorkflowExecutionTerminated",    WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",};const FailWorkflowExecutionFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    UNHANDLED_DECISION: "UNHANDLED_DECISION",};const LambdaFunctionTimeoutType = {    START_TO_CLOSE: "START_TO_CLOSE",};const RecordMarkerFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",};const RequestCancelActivityTaskFailedCause = {    ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",};const RequestCancelExternalWorkflowExecutionFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",    UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",};const ScheduleActivityTaskFailedCause = {    ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",    ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",    ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",    ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",    DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",    DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",    DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",    DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",    DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",    OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",};const ScheduleLambdaFunctionFailedCause = {    ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",    LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",    LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",    OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",};const SignalExternalWorkflowExecutionFailedCause = {    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",    UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",};const StartChildWorkflowExecutionFailedCause = {    CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",    DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",    DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",    DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",    DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",    OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",    OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",    WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",    WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",};const StartLambdaFunctionFailedCause = {    ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",};const StartTimerFailedCause = {    OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",    OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",    TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",    TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",};const WorkflowExecutionCancelRequestedCause = {    CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",};const WorkflowExecutionTerminatedCause = {    CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",    EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",    OPERATOR_INITIATED: "OPERATOR_INITIATED",};const ExecutionStatus = {    CLOSED: "CLOSED",    OPEN: "OPEN",}; exports.ActivityTask$ = ActivityTask$;exports.ActivityTaskCancelRequestedEventAttributes$ = ActivityTaskCancelRequestedEventAttributes$;exports.ActivityTaskCanceledEventAttributes$ = ActivityTaskCanceledEventAttributes$;exports.ActivityTaskCompletedEventAttributes$ = ActivityTaskCompletedEventAttributes$;exports.ActivityTaskFailedEventAttributes$ = ActivityTaskFailedEventAttributes$;exports.ActivityTaskScheduledEventAttributes$ = ActivityTaskScheduledEventAttributes$;exports.ActivityTaskStartedEventAttributes$ = ActivityTaskStartedEventAttributes$;exports.ActivityTaskStatus$ = ActivityTaskStatus$;exports.ActivityTaskTimedOutEventAttributes$ = ActivityTaskTimedOutEventAttributes$;exports.ActivityTaskTimeoutType = ActivityTaskTimeoutType;exports.ActivityType$ = ActivityType$;exports.ActivityTypeConfiguration$ = ActivityTypeConfiguration$;exports.ActivityTypeDetail$ = ActivityTypeDetail$;exports.ActivityTypeInfo$ = ActivityTypeInfo$;exports.ActivityTypeInfos$ = ActivityTypeInfos$;exports.CancelTimerDecisionAttributes$ = CancelTimerDecisionAttributes$;exports.CancelTimerFailedCause = CancelTimerFailedCause;exports.CancelTimerFailedEventAttributes$ = CancelTimerFailedEventAttributes$;exports.CancelWorkflowExecutionDecisionAttributes$ = CancelWorkflowExecutionDecisionAttributes$;exports.CancelWorkflowExecutionFailedCause = CancelWorkflowExecutionFailedCause;exports.CancelWorkflowExecutionFailedEventAttributes$ = CancelWorkflowExecutionFailedEventAttributes$;exports.ChildPolicy = ChildPolicy;exports.ChildWorkflowExecutionCanceledEventAttributes$ = ChildWorkflowExecutionCanceledEventAttributes$;exports.ChildWorkflowExecutionCompletedEventAttributes$ = ChildWorkflowExecutionCompletedEventAttributes$;exports.ChildWorkflowExecutionFailedEventAttributes$ = ChildWorkflowExecutionFailedEventAttributes$;exports.ChildWorkflowExecutionStartedEventAttributes$ = ChildWorkflowExecutionStartedEventAttributes$;exports.ChildWorkflowExecutionTerminatedEventAttributes$ = ChildWorkflowExecutionTerminatedEventAttributes$;exports.ChildWorkflowExecutionTimedOutEventAttributes$ = ChildWorkflowExecutionTimedOutEventAttributes$;exports.CloseStatus = CloseStatus;exports.CloseStatusFilter$ = CloseStatusFilter$;exports.CompleteWorkflowExecutionDecisionAttributes$ = CompleteWorkflowExecutionDecisionAttributes$;exports.CompleteWorkflowExecutionFailedCause = CompleteWorkflowExecutionFailedCause;exports.CompleteWorkflowExecutionFailedEventAttributes$ = CompleteWorkflowExecutionFailedEventAttributes$;exports.ContinueAsNewWorkflowExecutionDecisionAttributes$ = ContinueAsNewWorkflowExecutionDecisionAttributes$;exports.ContinueAsNewWorkflowExecutionFailedCause = ContinueAsNewWorkflowExecutionFailedCause;exports.ContinueAsNewWorkflowExecutionFailedEventAttributes$ = ContinueAsNewWorkflowExecutionFailedEventAttributes$;exports.CountClosedWorkflowExecutions$ = CountClosedWorkflowExecutions$;exports.CountClosedWorkflowExecutionsCommand = CountClosedWorkflowExecutionsCommand;exports.CountClosedWorkflowExecutionsInput$ = CountClosedWorkflowExecutionsInput$;exports.CountOpenWorkflowExecutions$ = CountOpenWorkflowExecutions$;exports.CountOpenWorkflowExecutionsCommand = CountOpenWorkflowExecutionsCommand;exports.CountOpenWorkflowExecutionsInput$ = CountOpenWorkflowExecutionsInput$;exports.CountPendingActivityTasks$ = CountPendingActivityTasks$;exports.CountPendingActivityTasksCommand = CountPendingActivityTasksCommand;exports.CountPendingActivityTasksInput$ = CountPendingActivityTasksInput$;exports.CountPendingDecisionTasks$ = CountPendingDecisionTasks$;exports.CountPendingDecisionTasksCommand = CountPendingDecisionTasksCommand;exports.CountPendingDecisionTasksInput$ = CountPendingDecisionTasksInput$;exports.Decision$ = Decision$;exports.DecisionTask$ = DecisionTask$;exports.DecisionTaskCompletedEventAttributes$ = DecisionTaskCompletedEventAttributes$;exports.DecisionTaskScheduledEventAttributes$ = DecisionTaskScheduledEventAttributes$;exports.DecisionTaskStartedEventAttributes$ = DecisionTaskStartedEventAttributes$;exports.DecisionTaskTimedOutEventAttributes$ = DecisionTaskTimedOutEventAttributes$;exports.DecisionTaskTimeoutType = DecisionTaskTimeoutType;exports.DecisionType = DecisionType;exports.DefaultUndefinedFault = DefaultUndefinedFault;exports.DefaultUndefinedFault$ = DefaultUndefinedFault$;exports.DeleteActivityType$ = DeleteActivityType$;exports.DeleteActivityTypeCommand = DeleteActivityTypeCommand;exports.DeleteActivityTypeInput$ = DeleteActivityTypeInput$;exports.DeleteWorkflowType$ = DeleteWorkflowType$;exports.DeleteWorkflowTypeCommand = DeleteWorkflowTypeCommand;exports.DeleteWorkflowTypeInput$ = DeleteWorkflowTypeInput$;exports.DeprecateActivityType$ = DeprecateActivityType$;exports.DeprecateActivityTypeCommand = DeprecateActivityTypeCommand;exports.DeprecateActivityTypeInput$ = DeprecateActivityTypeInput$;exports.DeprecateDomain$ = DeprecateDomain$;exports.DeprecateDomainCommand = DeprecateDomainCommand;exports.DeprecateDomainInput$ = DeprecateDomainInput$;exports.DeprecateWorkflowType$ = DeprecateWorkflowType$;exports.DeprecateWorkflowTypeCommand = DeprecateWorkflowTypeCommand;exports.DeprecateWorkflowTypeInput$ = DeprecateWorkflowTypeInput$;exports.DescribeActivityType$ = DescribeActivityType$;exports.DescribeActivityTypeCommand = DescribeActivityTypeCommand;exports.DescribeActivityTypeInput$ = DescribeActivityTypeInput$;exports.DescribeDomain$ = DescribeDomain$;exports.DescribeDomainCommand = DescribeDomainCommand;exports.DescribeDomainInput$ = DescribeDomainInput$;exports.DescribeWorkflowExecution$ = DescribeWorkflowExecution$;exports.DescribeWorkflowExecutionCommand = DescribeWorkflowExecutionCommand;exports.DescribeWorkflowExecutionInput$ = DescribeWorkflowExecutionInput$;exports.DescribeWorkflowType$ = DescribeWorkflowType$;exports.DescribeWorkflowTypeCommand = DescribeWorkflowTypeCommand;exports.DescribeWorkflowTypeInput$ = DescribeWorkflowTypeInput$;exports.DomainAlreadyExistsFault = DomainAlreadyExistsFault;exports.DomainAlreadyExistsFault$ = DomainAlreadyExistsFault$;exports.DomainConfiguration$ = DomainConfiguration$;exports.DomainDeprecatedFault = DomainDeprecatedFault;exports.DomainDeprecatedFault$ = DomainDeprecatedFault$;exports.DomainDetail$ = DomainDetail$;exports.DomainInfo$ = DomainInfo$;exports.DomainInfos$ = DomainInfos$;exports.EventType = EventType;exports.ExecutionStatus = ExecutionStatus;exports.ExecutionTimeFilter$ = ExecutionTimeFilter$;exports.ExternalWorkflowExecutionCancelRequestedEventAttributes$ = ExternalWorkflowExecutionCancelRequestedEventAttributes$;exports.ExternalWorkflowExecutionSignaledEventAttributes$ = ExternalWorkflowExecutionSignaledEventAttributes$;exports.FailWorkflowExecutionDecisionAttributes$ = FailWorkflowExecutionDecisionAttributes$;exports.FailWorkflowExecutionFailedCause = FailWorkflowExecutionFailedCause;exports.FailWorkflowExecutionFailedEventAttributes$ = FailWorkflowExecutionFailedEventAttributes$;exports.GetWorkflowExecutionHistory$ = GetWorkflowExecutionHistory$;exports.GetWorkflowExecutionHistoryCommand = GetWorkflowExecutionHistoryCommand;exports.GetWorkflowExecutionHistoryInput$ = GetWorkflowExecutionHistoryInput$;exports.History$ = History$;exports.HistoryEvent$ = HistoryEvent$;exports.LambdaFunctionCompletedEventAttributes$ = LambdaFunctionCompletedEventAttributes$;exports.LambdaFunctionFailedEventAttributes$ = LambdaFunctionFailedEventAttributes$;exports.LambdaFunctionScheduledEventAttributes$ = LambdaFunctionScheduledEventAttributes$;exports.LambdaFunctionStartedEventAttributes$ = LambdaFunctionStartedEventAttributes$;exports.LambdaFunctionTimedOutEventAttributes$ = LambdaFunctionTimedOutEventAttributes$;exports.LambdaFunctionTimeoutType = LambdaFunctionTimeoutType;exports.LimitExceededFault = LimitExceededFault;exports.LimitExceededFault$ = LimitExceededFault$;exports.ListActivityTypes$ = ListActivityTypes$;exports.ListActivityTypesCommand = ListActivityTypesCommand;exports.ListActivityTypesInput$ = ListActivityTypesInput$;exports.ListClosedWorkflowExecutions$ = ListClosedWorkflowExecutions$;exports.ListClosedWorkflowExecutionsCommand = ListClosedWorkflowExecutionsCommand;exports.ListClosedWorkflowExecutionsInput$ = ListClosedWorkflowExecutionsInput$;exports.ListDomains$ = ListDomains$;exports.ListDomainsCommand = ListDomainsCommand;exports.ListDomainsInput$ = ListDomainsInput$;exports.ListOpenWorkflowExecutions$ = ListOpenWorkflowExecutions$;exports.ListOpenWorkflowExecutionsCommand = ListOpenWorkflowExecutionsCommand;exports.ListOpenWorkflowExecutionsInput$ = ListOpenWorkflowExecutionsInput$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;exports.ListWorkflowTypes$ = ListWorkflowTypes$;exports.ListWorkflowTypesCommand = ListWorkflowTypesCommand;exports.ListWorkflowTypesInput$ = ListWorkflowTypesInput$;exports.MarkerRecordedEventAttributes$ = MarkerRecordedEventAttributes$;exports.OperationNotPermittedFault = OperationNotPermittedFault;exports.OperationNotPermittedFault$ = OperationNotPermittedFault$;exports.PendingTaskCount$ = PendingTaskCount$;exports.PollForActivityTask$ = PollForActivityTask$;exports.PollForActivityTaskCommand = PollForActivityTaskCommand;exports.PollForActivityTaskInput$ = PollForActivityTaskInput$;exports.PollForDecisionTask$ = PollForDecisionTask$;exports.PollForDecisionTaskCommand = PollForDecisionTaskCommand;exports.PollForDecisionTaskInput$ = PollForDecisionTaskInput$;exports.RecordActivityTaskHeartbeat$ = RecordActivityTaskHeartbeat$;exports.RecordActivityTaskHeartbeatCommand = RecordActivityTaskHeartbeatCommand;exports.RecordActivityTaskHeartbeatInput$ = RecordActivityTaskHeartbeatInput$;exports.RecordMarkerDecisionAttributes$ = RecordMarkerDecisionAttributes$;exports.RecordMarkerFailedCause = RecordMarkerFailedCause;exports.RecordMarkerFailedEventAttributes$ = RecordMarkerFailedEventAttributes$;exports.RegisterActivityType$ = RegisterActivityType$;exports.RegisterActivityTypeCommand = RegisterActivityTypeCommand;exports.RegisterActivityTypeInput$ = RegisterActivityTypeInput$;exports.RegisterDomain$ = RegisterDomain$;exports.RegisterDomainCommand = RegisterDomainCommand;exports.RegisterDomainInput$ = RegisterDomainInput$;exports.RegisterWorkflowType$ = RegisterWorkflowType$;exports.RegisterWorkflowTypeCommand = RegisterWorkflowTypeCommand;exports.RegisterWorkflowTypeInput$ = RegisterWorkflowTypeInput$;exports.RegistrationStatus = RegistrationStatus;exports.RequestCancelActivityTaskDecisionAttributes$ = RequestCancelActivityTaskDecisionAttributes$;exports.RequestCancelActivityTaskFailedCause = RequestCancelActivityTaskFailedCause;exports.RequestCancelActivityTaskFailedEventAttributes$ = RequestCancelActivityTaskFailedEventAttributes$;exports.RequestCancelExternalWorkflowExecutionDecisionAttributes$ = RequestCancelExternalWorkflowExecutionDecisionAttributes$;exports.RequestCancelExternalWorkflowExecutionFailedCause = RequestCancelExternalWorkflowExecutionFailedCause;exports.RequestCancelExternalWorkflowExecutionFailedEventAttributes$ = RequestCancelExternalWorkflowExecutionFailedEventAttributes$;exports.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes$ = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes$;exports.RequestCancelWorkflowExecution$ = RequestCancelWorkflowExecution$;exports.RequestCancelWorkflowExecutionCommand = RequestCancelWorkflowExecutionCommand;exports.RequestCancelWorkflowExecutionInput$ = RequestCancelWorkflowExecutionInput$;exports.ResourceTag$ = ResourceTag$;exports.RespondActivityTaskCanceled$ = RespondActivityTaskCanceled$;exports.RespondActivityTaskCanceledCommand = RespondActivityTaskCanceledCommand;exports.RespondActivityTaskCanceledInput$ = RespondActivityTaskCanceledInput$;exports.RespondActivityTaskCompleted$ = RespondActivityTaskCompleted$;exports.RespondActivityTaskCompletedCommand = RespondActivityTaskCompletedCommand;exports.RespondActivityTaskCompletedInput$ = RespondActivityTaskCompletedInput$;exports.RespondActivityTaskFailed$ = RespondActivityTaskFailed$;exports.RespondActivityTaskFailedCommand = RespondActivityTaskFailedCommand;exports.RespondActivityTaskFailedInput$ = RespondActivityTaskFailedInput$;exports.RespondDecisionTaskCompleted$ = RespondDecisionTaskCompleted$;exports.RespondDecisionTaskCompletedCommand = RespondDecisionTaskCompletedCommand;exports.RespondDecisionTaskCompletedInput$ = RespondDecisionTaskCompletedInput$;exports.Run$ = Run$;exports.SWF = SWF;exports.SWFClient = SWFClient;exports.SWFServiceException = SWFServiceException;exports.SWFServiceException$ = SWFServiceException$;exports.ScheduleActivityTaskDecisionAttributes$ = ScheduleActivityTaskDecisionAttributes$;exports.ScheduleActivityTaskFailedCause = ScheduleActivityTaskFailedCause;exports.ScheduleActivityTaskFailedEventAttributes$ = ScheduleActivityTaskFailedEventAttributes$;exports.ScheduleLambdaFunctionDecisionAttributes$ = ScheduleLambdaFunctionDecisionAttributes$;exports.ScheduleLambdaFunctionFailedCause = ScheduleLambdaFunctionFailedCause;exports.ScheduleLambdaFunctionFailedEventAttributes$ = ScheduleLambdaFunctionFailedEventAttributes$;exports.SignalExternalWorkflowExecutionDecisionAttributes$ = SignalExternalWorkflowExecutionDecisionAttributes$;exports.SignalExternalWorkflowExecutionFailedCause = SignalExternalWorkflowExecutionFailedCause;exports.SignalExternalWorkflowExecutionFailedEventAttributes$ = SignalExternalWorkflowExecutionFailedEventAttributes$;exports.SignalExternalWorkflowExecutionInitiatedEventAttributes$ = SignalExternalWorkflowExecutionInitiatedEventAttributes$;exports.SignalWorkflowExecution$ = SignalWorkflowExecution$;exports.SignalWorkflowExecutionCommand = SignalWorkflowExecutionCommand;exports.SignalWorkflowExecutionInput$ = SignalWorkflowExecutionInput$;exports.StartChildWorkflowExecutionDecisionAttributes$ = StartChildWorkflowExecutionDecisionAttributes$;exports.StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause;exports.StartChildWorkflowExecutionFailedEventAttributes$ = StartChildWorkflowExecutionFailedEventAttributes$;exports.StartChildWorkflowExecutionInitiatedEventAttributes$ = StartChildWorkflowExecutionInitiatedEventAttributes$;exports.StartLambdaFunctionFailedCause = StartLambdaFunctionFailedCause;exports.StartLambdaFunctionFailedEventAttributes$ = StartLambdaFunctionFailedEventAttributes$;exports.StartTimerDecisionAttributes$ = StartTimerDecisionAttributes$;exports.StartTimerFailedCause = StartTimerFailedCause;exports.StartTimerFailedEventAttributes$ = StartTimerFailedEventAttributes$;exports.StartWorkflowExecution$ = StartWorkflowExecution$;exports.StartWorkflowExecutionCommand = StartWorkflowExecutionCommand;exports.StartWorkflowExecutionInput$ = StartWorkflowExecutionInput$;exports.TagFilter$ = TagFilter$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceInput$ = TagResourceInput$;exports.TaskList$ = TaskList$;exports.TerminateWorkflowExecution$ = TerminateWorkflowExecution$;exports.TerminateWorkflowExecutionCommand = TerminateWorkflowExecutionCommand;exports.TerminateWorkflowExecutionInput$ = TerminateWorkflowExecutionInput$;exports.TimerCanceledEventAttributes$ = TimerCanceledEventAttributes$;exports.TimerFiredEventAttributes$ = TimerFiredEventAttributes$;exports.TimerStartedEventAttributes$ = TimerStartedEventAttributes$;exports.TooManyTagsFault = TooManyTagsFault;exports.TooManyTagsFault$ = TooManyTagsFault$;exports.TypeAlreadyExistsFault = TypeAlreadyExistsFault;exports.TypeAlreadyExistsFault$ = TypeAlreadyExistsFault$;exports.TypeDeprecatedFault = TypeDeprecatedFault;exports.TypeDeprecatedFault$ = TypeDeprecatedFault$;exports.TypeNotDeprecatedFault = TypeNotDeprecatedFault;exports.TypeNotDeprecatedFault$ = TypeNotDeprecatedFault$;exports.UndeprecateActivityType$ = UndeprecateActivityType$;exports.UndeprecateActivityTypeCommand = UndeprecateActivityTypeCommand;exports.UndeprecateActivityTypeInput$ = UndeprecateActivityTypeInput$;exports.UndeprecateDomain$ = UndeprecateDomain$;exports.UndeprecateDomainCommand = UndeprecateDomainCommand;exports.UndeprecateDomainInput$ = UndeprecateDomainInput$;exports.UndeprecateWorkflowType$ = UndeprecateWorkflowType$;exports.UndeprecateWorkflowTypeCommand = UndeprecateWorkflowTypeCommand;exports.UndeprecateWorkflowTypeInput$ = UndeprecateWorkflowTypeInput$;exports.UnknownResourceFault = UnknownResourceFault;exports.UnknownResourceFault$ = UnknownResourceFault$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceInput$ = UntagResourceInput$;exports.WorkflowExecution$ = WorkflowExecution$;exports.WorkflowExecutionAlreadyStartedFault = WorkflowExecutionAlreadyStartedFault;exports.WorkflowExecutionAlreadyStartedFault$ = WorkflowExecutionAlreadyStartedFault$;exports.WorkflowExecutionCancelRequestedCause = WorkflowExecutionCancelRequestedCause;exports.WorkflowExecutionCancelRequestedEventAttributes$ = WorkflowExecutionCancelRequestedEventAttributes$;exports.WorkflowExecutionCanceledEventAttributes$ = WorkflowExecutionCanceledEventAttributes$;exports.WorkflowExecutionCompletedEventAttributes$ = WorkflowExecutionCompletedEventAttributes$;exports.WorkflowExecutionConfiguration$ = WorkflowExecutionConfiguration$;exports.WorkflowExecutionContinuedAsNewEventAttributes$ = WorkflowExecutionContinuedAsNewEventAttributes$;exports.WorkflowExecutionCount$ = WorkflowExecutionCount$;exports.WorkflowExecutionDetail$ = WorkflowExecutionDetail$;exports.WorkflowExecutionFailedEventAttributes$ = WorkflowExecutionFailedEventAttributes$;exports.WorkflowExecutionFilter$ = WorkflowExecutionFilter$;exports.WorkflowExecutionInfo$ = WorkflowExecutionInfo$;exports.WorkflowExecutionInfos$ = WorkflowExecutionInfos$;exports.WorkflowExecutionOpenCounts$ = WorkflowExecutionOpenCounts$;exports.WorkflowExecutionSignaledEventAttributes$ = WorkflowExecutionSignaledEventAttributes$;exports.WorkflowExecutionStartedEventAttributes$ = WorkflowExecutionStartedEventAttributes$;exports.WorkflowExecutionTerminatedCause = WorkflowExecutionTerminatedCause;exports.WorkflowExecutionTerminatedEventAttributes$ = WorkflowExecutionTerminatedEventAttributes$;exports.WorkflowExecutionTimedOutEventAttributes$ = WorkflowExecutionTimedOutEventAttributes$;exports.WorkflowExecutionTimeoutType = WorkflowExecutionTimeoutType;exports.WorkflowType$ = WorkflowType$;exports.WorkflowTypeConfiguration$ = WorkflowTypeConfiguration$;exports.WorkflowTypeDetail$ = WorkflowTypeDetail$;exports.WorkflowTypeFilter$ = WorkflowTypeFilter$;exports.WorkflowTypeInfo$ = WorkflowTypeInfo$;exports.WorkflowTypeInfos$ = WorkflowTypeInfos$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateGetWorkflowExecutionHistory = paginateGetWorkflowExecutionHistory;exports.paginateListActivityTypes = paginateListActivityTypes;exports.paginateListClosedWorkflowExecutions = paginateListClosedWorkflowExecutions;exports.paginateListDomains = paginateListDomains;exports.paginateListOpenWorkflowExecutions = paginateListOpenWorkflowExecutions;exports.paginateListWorkflowTypes = paginateListWorkflowTypes;exports.paginatePollForDecisionTask = paginatePollForDecisionTask;