File Explorer

/proc/self/root/proc/self/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.js39.2 KB · 952 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var SWFServiceException = require('./models/SWFServiceException'); 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" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class SWFClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSWFHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CountClosedWorkflowExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "CountClosedWorkflowExecutions", {})    .n("SWFClient", "CountClosedWorkflowExecutionsCommand")    .sc(schemas_0.CountClosedWorkflowExecutions$)    .build() {} class CountOpenWorkflowExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "CountOpenWorkflowExecutions", {})    .n("SWFClient", "CountOpenWorkflowExecutionsCommand")    .sc(schemas_0.CountOpenWorkflowExecutions$)    .build() {} class CountPendingActivityTasksCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "CountPendingActivityTasks", {})    .n("SWFClient", "CountPendingActivityTasksCommand")    .sc(schemas_0.CountPendingActivityTasks$)    .build() {} class CountPendingDecisionTasksCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "CountPendingDecisionTasks", {})    .n("SWFClient", "CountPendingDecisionTasksCommand")    .sc(schemas_0.CountPendingDecisionTasks$)    .build() {} class DeleteActivityTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DeleteActivityType", {})    .n("SWFClient", "DeleteActivityTypeCommand")    .sc(schemas_0.DeleteActivityType$)    .build() {} class DeleteWorkflowTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DeleteWorkflowType", {})    .n("SWFClient", "DeleteWorkflowTypeCommand")    .sc(schemas_0.DeleteWorkflowType$)    .build() {} class DeprecateActivityTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DeprecateActivityType", {})    .n("SWFClient", "DeprecateActivityTypeCommand")    .sc(schemas_0.DeprecateActivityType$)    .build() {} class DeprecateDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DeprecateDomain", {})    .n("SWFClient", "DeprecateDomainCommand")    .sc(schemas_0.DeprecateDomain$)    .build() {} class DeprecateWorkflowTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DeprecateWorkflowType", {})    .n("SWFClient", "DeprecateWorkflowTypeCommand")    .sc(schemas_0.DeprecateWorkflowType$)    .build() {} class DescribeActivityTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DescribeActivityType", {})    .n("SWFClient", "DescribeActivityTypeCommand")    .sc(schemas_0.DescribeActivityType$)    .build() {} class DescribeDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DescribeDomain", {})    .n("SWFClient", "DescribeDomainCommand")    .sc(schemas_0.DescribeDomain$)    .build() {} class DescribeWorkflowExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DescribeWorkflowExecution", {})    .n("SWFClient", "DescribeWorkflowExecutionCommand")    .sc(schemas_0.DescribeWorkflowExecution$)    .build() {} class DescribeWorkflowTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "DescribeWorkflowType", {})    .n("SWFClient", "DescribeWorkflowTypeCommand")    .sc(schemas_0.DescribeWorkflowType$)    .build() {} class GetWorkflowExecutionHistoryCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "GetWorkflowExecutionHistory", {})    .n("SWFClient", "GetWorkflowExecutionHistoryCommand")    .sc(schemas_0.GetWorkflowExecutionHistory$)    .build() {} class ListActivityTypesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListActivityTypes", {})    .n("SWFClient", "ListActivityTypesCommand")    .sc(schemas_0.ListActivityTypes$)    .build() {} class ListClosedWorkflowExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListClosedWorkflowExecutions", {})    .n("SWFClient", "ListClosedWorkflowExecutionsCommand")    .sc(schemas_0.ListClosedWorkflowExecutions$)    .build() {} class ListDomainsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListDomains", {})    .n("SWFClient", "ListDomainsCommand")    .sc(schemas_0.ListDomains$)    .build() {} class ListOpenWorkflowExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListOpenWorkflowExecutions", {})    .n("SWFClient", "ListOpenWorkflowExecutionsCommand")    .sc(schemas_0.ListOpenWorkflowExecutions$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListTagsForResource", {})    .n("SWFClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListWorkflowTypesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "ListWorkflowTypes", {})    .n("SWFClient", "ListWorkflowTypesCommand")    .sc(schemas_0.ListWorkflowTypes$)    .build() {} class PollForActivityTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [        endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),        client$1.getLongPollPlugin(config),    ];})    .s("SimpleWorkflowService", "PollForActivityTask", {})    .n("SWFClient", "PollForActivityTaskCommand")    .sc(schemas_0.PollForActivityTask$)    .build() {} class PollForDecisionTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [        endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),        client$1.getLongPollPlugin(config),    ];})    .s("SimpleWorkflowService", "PollForDecisionTask", {})    .n("SWFClient", "PollForDecisionTaskCommand")    .sc(schemas_0.PollForDecisionTask$)    .build() {} class RecordActivityTaskHeartbeatCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RecordActivityTaskHeartbeat", {})    .n("SWFClient", "RecordActivityTaskHeartbeatCommand")    .sc(schemas_0.RecordActivityTaskHeartbeat$)    .build() {} class RegisterActivityTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RegisterActivityType", {})    .n("SWFClient", "RegisterActivityTypeCommand")    .sc(schemas_0.RegisterActivityType$)    .build() {} class RegisterDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RegisterDomain", {})    .n("SWFClient", "RegisterDomainCommand")    .sc(schemas_0.RegisterDomain$)    .build() {} class RegisterWorkflowTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RegisterWorkflowType", {})    .n("SWFClient", "RegisterWorkflowTypeCommand")    .sc(schemas_0.RegisterWorkflowType$)    .build() {} class RequestCancelWorkflowExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RequestCancelWorkflowExecution", {})    .n("SWFClient", "RequestCancelWorkflowExecutionCommand")    .sc(schemas_0.RequestCancelWorkflowExecution$)    .build() {} class RespondActivityTaskCanceledCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RespondActivityTaskCanceled", {})    .n("SWFClient", "RespondActivityTaskCanceledCommand")    .sc(schemas_0.RespondActivityTaskCanceled$)    .build() {} class RespondActivityTaskCompletedCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RespondActivityTaskCompleted", {})    .n("SWFClient", "RespondActivityTaskCompletedCommand")    .sc(schemas_0.RespondActivityTaskCompleted$)    .build() {} class RespondActivityTaskFailedCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RespondActivityTaskFailed", {})    .n("SWFClient", "RespondActivityTaskFailedCommand")    .sc(schemas_0.RespondActivityTaskFailed$)    .build() {} class RespondDecisionTaskCompletedCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "RespondDecisionTaskCompleted", {})    .n("SWFClient", "RespondDecisionTaskCompletedCommand")    .sc(schemas_0.RespondDecisionTaskCompleted$)    .build() {} class SignalWorkflowExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "SignalWorkflowExecution", {})    .n("SWFClient", "SignalWorkflowExecutionCommand")    .sc(schemas_0.SignalWorkflowExecution$)    .build() {} class StartWorkflowExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "StartWorkflowExecution", {})    .n("SWFClient", "StartWorkflowExecutionCommand")    .sc(schemas_0.StartWorkflowExecution$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "TagResource", {})    .n("SWFClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class TerminateWorkflowExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "TerminateWorkflowExecution", {})    .n("SWFClient", "TerminateWorkflowExecutionCommand")    .sc(schemas_0.TerminateWorkflowExecution$)    .build() {} class UndeprecateActivityTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "UndeprecateActivityType", {})    .n("SWFClient", "UndeprecateActivityTypeCommand")    .sc(schemas_0.UndeprecateActivityType$)    .build() {} class UndeprecateDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "UndeprecateDomain", {})    .n("SWFClient", "UndeprecateDomainCommand")    .sc(schemas_0.UndeprecateDomain$)    .build() {} class UndeprecateWorkflowTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "UndeprecateWorkflowType", {})    .n("SWFClient", "UndeprecateWorkflowTypeCommand")    .sc(schemas_0.UndeprecateWorkflowType$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("SimpleWorkflowService", "UntagResource", {})    .n("SWFClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} const paginateGetWorkflowExecutionHistory = core.createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListActivityTypes = core.createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListClosedWorkflowExecutions = core.createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListDomains = core.createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListOpenWorkflowExecutions = core.createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginateListWorkflowTypes = core.createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize"); const paginatePollForDecisionTask = core.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 {}client.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.$Command = client.Command;exports.__Client = client.Client;exports.SWFServiceException = SWFServiceException.SWFServiceException;exports.ActivityTaskTimeoutType = ActivityTaskTimeoutType;exports.CancelTimerFailedCause = CancelTimerFailedCause;exports.CancelWorkflowExecutionFailedCause = CancelWorkflowExecutionFailedCause;exports.ChildPolicy = ChildPolicy;exports.CloseStatus = CloseStatus;exports.CompleteWorkflowExecutionFailedCause = CompleteWorkflowExecutionFailedCause;exports.ContinueAsNewWorkflowExecutionFailedCause = ContinueAsNewWorkflowExecutionFailedCause;exports.CountClosedWorkflowExecutionsCommand = CountClosedWorkflowExecutionsCommand;exports.CountOpenWorkflowExecutionsCommand = CountOpenWorkflowExecutionsCommand;exports.CountPendingActivityTasksCommand = CountPendingActivityTasksCommand;exports.CountPendingDecisionTasksCommand = CountPendingDecisionTasksCommand;exports.DecisionTaskTimeoutType = DecisionTaskTimeoutType;exports.DecisionType = DecisionType;exports.DeleteActivityTypeCommand = DeleteActivityTypeCommand;exports.DeleteWorkflowTypeCommand = DeleteWorkflowTypeCommand;exports.DeprecateActivityTypeCommand = DeprecateActivityTypeCommand;exports.DeprecateDomainCommand = DeprecateDomainCommand;exports.DeprecateWorkflowTypeCommand = DeprecateWorkflowTypeCommand;exports.DescribeActivityTypeCommand = DescribeActivityTypeCommand;exports.DescribeDomainCommand = DescribeDomainCommand;exports.DescribeWorkflowExecutionCommand = DescribeWorkflowExecutionCommand;exports.DescribeWorkflowTypeCommand = DescribeWorkflowTypeCommand;exports.EventType = EventType;exports.ExecutionStatus = ExecutionStatus;exports.FailWorkflowExecutionFailedCause = FailWorkflowExecutionFailedCause;exports.GetWorkflowExecutionHistoryCommand = GetWorkflowExecutionHistoryCommand;exports.LambdaFunctionTimeoutType = LambdaFunctionTimeoutType;exports.ListActivityTypesCommand = ListActivityTypesCommand;exports.ListClosedWorkflowExecutionsCommand = ListClosedWorkflowExecutionsCommand;exports.ListDomainsCommand = ListDomainsCommand;exports.ListOpenWorkflowExecutionsCommand = ListOpenWorkflowExecutionsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListWorkflowTypesCommand = ListWorkflowTypesCommand;exports.PollForActivityTaskCommand = PollForActivityTaskCommand;exports.PollForDecisionTaskCommand = PollForDecisionTaskCommand;exports.RecordActivityTaskHeartbeatCommand = RecordActivityTaskHeartbeatCommand;exports.RecordMarkerFailedCause = RecordMarkerFailedCause;exports.RegisterActivityTypeCommand = RegisterActivityTypeCommand;exports.RegisterDomainCommand = RegisterDomainCommand;exports.RegisterWorkflowTypeCommand = RegisterWorkflowTypeCommand;exports.RegistrationStatus = RegistrationStatus;exports.RequestCancelActivityTaskFailedCause = RequestCancelActivityTaskFailedCause;exports.RequestCancelExternalWorkflowExecutionFailedCause = RequestCancelExternalWorkflowExecutionFailedCause;exports.RequestCancelWorkflowExecutionCommand = RequestCancelWorkflowExecutionCommand;exports.RespondActivityTaskCanceledCommand = RespondActivityTaskCanceledCommand;exports.RespondActivityTaskCompletedCommand = RespondActivityTaskCompletedCommand;exports.RespondActivityTaskFailedCommand = RespondActivityTaskFailedCommand;exports.RespondDecisionTaskCompletedCommand = RespondDecisionTaskCompletedCommand;exports.SWF = SWF;exports.SWFClient = SWFClient;exports.ScheduleActivityTaskFailedCause = ScheduleActivityTaskFailedCause;exports.ScheduleLambdaFunctionFailedCause = ScheduleLambdaFunctionFailedCause;exports.SignalExternalWorkflowExecutionFailedCause = SignalExternalWorkflowExecutionFailedCause;exports.SignalWorkflowExecutionCommand = SignalWorkflowExecutionCommand;exports.StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause;exports.StartLambdaFunctionFailedCause = StartLambdaFunctionFailedCause;exports.StartTimerFailedCause = StartTimerFailedCause;exports.StartWorkflowExecutionCommand = StartWorkflowExecutionCommand;exports.TagResourceCommand = TagResourceCommand;exports.TerminateWorkflowExecutionCommand = TerminateWorkflowExecutionCommand;exports.UndeprecateActivityTypeCommand = UndeprecateActivityTypeCommand;exports.UndeprecateDomainCommand = UndeprecateDomainCommand;exports.UndeprecateWorkflowTypeCommand = UndeprecateWorkflowTypeCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.WorkflowExecutionCancelRequestedCause = WorkflowExecutionCancelRequestedCause;exports.WorkflowExecutionTerminatedCause = WorkflowExecutionTerminatedCause;exports.WorkflowExecutionTimeoutType = WorkflowExecutionTimeoutType;exports.paginateGetWorkflowExecutionHistory = paginateGetWorkflowExecutionHistory;exports.paginateListActivityTypes = paginateListActivityTypes;exports.paginateListClosedWorkflowExecutions = paginateListClosedWorkflowExecutions;exports.paginateListDomains = paginateListDomains;exports.paginateListOpenWorkflowExecutions = paginateListOpenWorkflowExecutions;exports.paginateListWorkflowTypes = paginateListWorkflowTypes;exports.paginatePollForDecisionTask = paginatePollForDecisionTask;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});