@aws-sdk/client-swf 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/SWF.js +1 -2
- package/{dist/cjs → dist-cjs}/SWFClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CountClosedWorkflowExecutionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CountOpenWorkflowExecutionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CountPendingActivityTasksCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CountPendingDecisionTasksCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeprecateActivityTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeprecateDomainCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeprecateWorkflowTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeActivityTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeWorkflowExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeWorkflowTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetWorkflowExecutionHistoryCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListActivityTypesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListClosedWorkflowExecutionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDomainsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListOpenWorkflowExecutionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListWorkflowTypesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PollForActivityTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PollForDecisionTaskCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RecordActivityTaskHeartbeatCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RegisterActivityTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RegisterDomainCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RegisterWorkflowTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RequestCancelWorkflowExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RespondActivityTaskCanceledCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RespondActivityTaskCompletedCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RespondActivityTaskFailedCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RespondDecisionTaskCompletedCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SignalWorkflowExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartWorkflowExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TerminateWorkflowExecutionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UndeprecateActivityTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UndeprecateDomainCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UndeprecateWorkflowTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/GetWorkflowExecutionHistoryPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListActivityTypesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListClosedWorkflowExecutionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDomainsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListOpenWorkflowExecutionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListWorkflowTypesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/PollForDecisionTaskPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/SWF.js +2 -21
- package/{dist/es → dist-es}/SWFClient.js +2 -26
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +39 -0
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +39 -0
- package/dist-es/commands/CountPendingActivityTasksCommand.js +39 -0
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +39 -0
- package/dist-es/commands/DeprecateActivityTypeCommand.js +39 -0
- package/dist-es/commands/DeprecateDomainCommand.js +39 -0
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +39 -0
- package/dist-es/commands/DescribeActivityTypeCommand.js +39 -0
- package/dist-es/commands/DescribeDomainCommand.js +39 -0
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +39 -0
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +39 -0
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +39 -0
- package/dist-es/commands/ListActivityTypesCommand.js +39 -0
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +39 -0
- package/dist-es/commands/ListDomainsCommand.js +39 -0
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/dist-es/commands/ListWorkflowTypesCommand.js +39 -0
- package/dist-es/commands/PollForActivityTaskCommand.js +39 -0
- package/dist-es/commands/PollForDecisionTaskCommand.js +39 -0
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +39 -0
- package/dist-es/commands/RegisterActivityTypeCommand.js +39 -0
- package/dist-es/commands/RegisterDomainCommand.js +39 -0
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +39 -0
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +39 -0
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +39 -0
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +39 -0
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +39 -0
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +39 -0
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +39 -0
- package/dist-es/commands/StartWorkflowExecutionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -33
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +39 -0
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +39 -0
- package/dist-es/commands/UndeprecateDomainCommand.js +39 -0
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -454
- package/{dist/es → dist-es}/pagination/GetWorkflowExecutionHistoryPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListActivityTypesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListClosedWorkflowExecutionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDomainsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListOpenWorkflowExecutionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListWorkflowTypesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/PollForDecisionTaskPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_0.js +651 -657
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/SWF.d.ts +2 -2
- package/{dist/types → dist-types}/SWFClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CountClosedWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CountOpenWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CountPendingActivityTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CountPendingDecisionTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeprecateActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeprecateDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeprecateWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetWorkflowExecutionHistoryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListActivityTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListClosedWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDomainsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListOpenWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListWorkflowTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PollForActivityTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PollForDecisionTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RecordActivityTaskHeartbeatCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RegisterActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RegisterDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RegisterWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RequestCancelWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RespondActivityTaskCanceledCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RespondActivityTaskCompletedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RespondActivityTaskFailedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RespondDecisionTaskCompletedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SignalWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TerminateWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UndeprecateActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UndeprecateDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UndeprecateWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetWorkflowExecutionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListActivityTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListClosedWorkflowExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDomainsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListOpenWorkflowExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListWorkflowTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/PollForDecisionTaskPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/SWF.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/SWFClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeprecateDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListActivityTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDomainsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListWorkflowTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PollForActivityTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PollForDecisionTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RegisterActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RegisterDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UndeprecateDomainCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetWorkflowExecutionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListActivityTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListClosedWorkflowExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDomainsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListOpenWorkflowExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListWorkflowTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/PollForDecisionTaskPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/SWF.ts +0 -2639
- package/SWFClient.ts +0 -445
- package/commands/CountClosedWorkflowExecutionsCommand.ts +0 -143
- package/commands/CountOpenWorkflowExecutionsCommand.ts +0 -143
- package/commands/CountPendingActivityTasksCommand.ts +0 -124
- package/commands/CountPendingDecisionTasksCommand.ts +0 -124
- package/commands/DeprecateActivityTypeCommand.ts +0 -136
- package/commands/DeprecateDomainCommand.ts +0 -125
- package/commands/DeprecateWorkflowTypeCommand.ts +0 -137
- package/commands/DescribeActivityTypeCommand.ts +0 -132
- package/commands/DescribeDomainCommand.ts +0 -118
- package/commands/DescribeWorkflowExecutionCommand.ts +0 -125
- package/commands/DescribeWorkflowTypeCommand.ts +0 -132
- package/commands/GetWorkflowExecutionHistoryCommand.ts +0 -126
- package/commands/ListActivityTypesCommand.ts +0 -121
- package/commands/ListClosedWorkflowExecutionsCommand.ts +0 -144
- package/commands/ListDomainsCommand.ts +0 -125
- package/commands/ListOpenWorkflowExecutionsCommand.ts +0 -144
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListWorkflowTypesCommand.ts +0 -118
- package/commands/PollForActivityTaskCommand.ts +0 -129
- package/commands/PollForDecisionTaskCommand.ts +0 -141
- package/commands/RecordActivityTaskHeartbeatCommand.ts +0 -144
- package/commands/RegisterActivityTypeCommand.ts +0 -140
- package/commands/RegisterDomainCommand.ts +0 -117
- package/commands/RegisterWorkflowTypeCommand.ts +0 -141
- package/commands/RequestCancelWorkflowExecutionCommand.ts +0 -138
- package/commands/RespondActivityTaskCanceledCommand.ts +0 -138
- package/commands/RespondActivityTaskCompletedCommand.ts +0 -136
- package/commands/RespondActivityTaskFailedCommand.ts +0 -129
- package/commands/RespondDecisionTaskCompletedCommand.ts +0 -116
- package/commands/SignalWorkflowExecutionCommand.ts +0 -132
- package/commands/StartWorkflowExecutionCommand.ts +0 -159
- package/commands/TagResourceCommand.ts +0 -97
- package/commands/TerminateWorkflowExecutionCommand.ts +0 -140
- package/commands/UndeprecateActivityTypeCommand.ts +0 -135
- package/commands/UndeprecateDomainCommand.ts +0 -122
- package/commands/UndeprecateWorkflowTypeCommand.ts +0 -135
- package/commands/UntagResourceCommand.ts +0 -94
- package/dist/cjs/SWF.js.map +0 -1
- package/dist/cjs/SWFClient.js.map +0 -1
- package/dist/cjs/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/CountPendingActivityTasksCommand.js.map +0 -1
- package/dist/cjs/commands/CountPendingDecisionTasksCommand.js.map +0 -1
- package/dist/cjs/commands/DeprecateActivityTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DeprecateDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeActivityTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeWorkflowTypeCommand.js.map +0 -1
- package/dist/cjs/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
- package/dist/cjs/commands/ListActivityTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainsCommand.js.map +0 -1
- package/dist/cjs/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWorkflowTypesCommand.js.map +0 -1
- package/dist/cjs/commands/PollForActivityTaskCommand.js.map +0 -1
- package/dist/cjs/commands/PollForDecisionTaskCommand.js.map +0 -1
- package/dist/cjs/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterActivityTypeCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterDomainCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterWorkflowTypeCommand.js.map +0 -1
- package/dist/cjs/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
- package/dist/cjs/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
- package/dist/cjs/commands/RespondActivityTaskFailedCommand.js.map +0 -1
- package/dist/cjs/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
- package/dist/cjs/commands/SignalWorkflowExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/StartWorkflowExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/UndeprecateActivityTypeCommand.js.map +0 -1
- package/dist/cjs/commands/UndeprecateDomainCommand.js.map +0 -1
- package/dist/cjs/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListActivityTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListWorkflowTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/PollForDecisionTaskPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SWF.js.map +0 -1
- package/dist/es/SWFClient.js.map +0 -1
- package/dist/es/commands/CountClosedWorkflowExecutionsCommand.js +0 -111
- package/dist/es/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist/es/commands/CountOpenWorkflowExecutionsCommand.js +0 -111
- package/dist/es/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist/es/commands/CountPendingActivityTasksCommand.js +0 -92
- package/dist/es/commands/CountPendingActivityTasksCommand.js.map +0 -1
- package/dist/es/commands/CountPendingDecisionTasksCommand.js +0 -92
- package/dist/es/commands/CountPendingDecisionTasksCommand.js.map +0 -1
- package/dist/es/commands/DeprecateActivityTypeCommand.js +0 -107
- package/dist/es/commands/DeprecateActivityTypeCommand.js.map +0 -1
- package/dist/es/commands/DeprecateDomainCommand.js +0 -96
- package/dist/es/commands/DeprecateDomainCommand.js.map +0 -1
- package/dist/es/commands/DeprecateWorkflowTypeCommand.js +0 -108
- package/dist/es/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist/es/commands/DescribeActivityTypeCommand.js +0 -103
- package/dist/es/commands/DescribeActivityTypeCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainCommand.js +0 -89
- package/dist/es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist/es/commands/DescribeWorkflowExecutionCommand.js +0 -93
- package/dist/es/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
- package/dist/es/commands/DescribeWorkflowTypeCommand.js +0 -103
- package/dist/es/commands/DescribeWorkflowTypeCommand.js.map +0 -1
- package/dist/es/commands/GetWorkflowExecutionHistoryCommand.js +0 -94
- package/dist/es/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
- package/dist/es/commands/ListActivityTypesCommand.js +0 -92
- package/dist/es/commands/ListActivityTypesCommand.js.map +0 -1
- package/dist/es/commands/ListClosedWorkflowExecutionsCommand.js +0 -112
- package/dist/es/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListDomainsCommand.js +0 -96
- package/dist/es/commands/ListDomainsCommand.js.map +0 -1
- package/dist/es/commands/ListOpenWorkflowExecutionsCommand.js +0 -112
- package/dist/es/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWorkflowTypesCommand.js +0 -89
- package/dist/es/commands/ListWorkflowTypesCommand.js.map +0 -1
- package/dist/es/commands/PollForActivityTaskCommand.js +0 -100
- package/dist/es/commands/PollForActivityTaskCommand.js.map +0 -1
- package/dist/es/commands/PollForDecisionTaskCommand.js +0 -112
- package/dist/es/commands/PollForDecisionTaskCommand.js.map +0 -1
- package/dist/es/commands/RecordActivityTaskHeartbeatCommand.js +0 -112
- package/dist/es/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
- package/dist/es/commands/RegisterActivityTypeCommand.js +0 -111
- package/dist/es/commands/RegisterActivityTypeCommand.js.map +0 -1
- package/dist/es/commands/RegisterDomainCommand.js +0 -88
- package/dist/es/commands/RegisterDomainCommand.js.map +0 -1
- package/dist/es/commands/RegisterWorkflowTypeCommand.js +0 -112
- package/dist/es/commands/RegisterWorkflowTypeCommand.js.map +0 -1
- package/dist/es/commands/RequestCancelWorkflowExecutionCommand.js +0 -103
- package/dist/es/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
- package/dist/es/commands/RespondActivityTaskCanceledCommand.js +0 -106
- package/dist/es/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
- package/dist/es/commands/RespondActivityTaskCompletedCommand.js +0 -104
- package/dist/es/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
- package/dist/es/commands/RespondActivityTaskFailedCommand.js +0 -97
- package/dist/es/commands/RespondActivityTaskFailedCommand.js.map +0 -1
- package/dist/es/commands/RespondDecisionTaskCompletedCommand.js +0 -84
- package/dist/es/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
- package/dist/es/commands/SignalWorkflowExecutionCommand.js +0 -103
- package/dist/es/commands/SignalWorkflowExecutionCommand.js.map +0 -1
- package/dist/es/commands/StartWorkflowExecutionCommand.js +0 -130
- package/dist/es/commands/StartWorkflowExecutionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/TerminateWorkflowExecutionCommand.js +0 -108
- package/dist/es/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
- package/dist/es/commands/UndeprecateActivityTypeCommand.js +0 -106
- package/dist/es/commands/UndeprecateActivityTypeCommand.js.map +0 -1
- package/dist/es/commands/UndeprecateDomainCommand.js +0 -93
- package/dist/es/commands/UndeprecateDomainCommand.js.map +0 -1
- package/dist/es/commands/UndeprecateWorkflowTypeCommand.js +0 -106
- package/dist/es/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -49
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListActivityTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist/es/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListWorkflowTypesPaginator.js.map +0 -1
- package/dist/es/pagination/PollForDecisionTaskPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_0.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -7233
- package/pagination/GetWorkflowExecutionHistoryPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListActivityTypesPaginator.ts +0 -58
- package/pagination/ListClosedWorkflowExecutionsPaginator.ts +0 -58
- package/pagination/ListDomainsPaginator.ts +0 -54
- package/pagination/ListOpenWorkflowExecutionsPaginator.ts +0 -58
- package/pagination/ListWorkflowTypesPaginator.ts +0 -58
- package/pagination/PollForDecisionTaskPaginator.ts +0 -58
- package/protocols/Aws_json1_0.ts +0 -5977
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { GetWorkflowExecutionHistoryCommand, } from "../commands/GetWorkflowExecutionHistoryCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { GetWorkflowExecutionHistoryCommand, } from "../commands/GetWorkflowExecutionHistoryCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetWorkflowExecutionHistoryCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.getWorkflowExecutionHistory.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateGetWorkflowExecutionHistory(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=GetWorkflowExecutionHistoryPaginator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListActivityTypesCommand, } from "../commands/ListActivityTypesCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { ListActivityTypesCommand, } from "../commands/ListActivityTypesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListActivityTypesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listActivityTypes.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListActivityTypes(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListActivityTypesPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListClosedWorkflowExecutionsCommand, } from "../commands/ListClosedWorkflowExecutionsCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { ListClosedWorkflowExecutionsCommand, } from "../commands/ListClosedWorkflowExecutionsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListClosedWorkflowExecutionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listClosedWorkflowExecutions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListClosedWorkflowExecutions(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListClosedWorkflowExecutionsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDomainsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listDomains.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListDomains(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListDomainsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListOpenWorkflowExecutionsCommand, } from "../commands/ListOpenWorkflowExecutionsCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { ListOpenWorkflowExecutionsCommand, } from "../commands/ListOpenWorkflowExecutionsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListOpenWorkflowExecutionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listOpenWorkflowExecutions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListOpenWorkflowExecutions(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListOpenWorkflowExecutionsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListWorkflowTypesCommand, } from "../commands/ListWorkflowTypesCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { ListWorkflowTypesCommand, } from "../commands/ListWorkflowTypesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListWorkflowTypesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listWorkflowTypes.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListWorkflowTypes(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListWorkflowTypesPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { PollForDecisionTaskCommand, } from "../commands/PollForDecisionTaskCommand";
|
|
2
3
|
import { SWF } from "../SWF";
|
|
3
4
|
import { SWFClient } from "../SWFClient";
|
|
4
|
-
import { PollForDecisionTaskCommand, } from "../commands/PollForDecisionTaskCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new PollForDecisionTaskCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.pollForDecisionTask.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginatePollForDecisionTask(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextPageToken = token;
|
|
59
49
|
input["maximumPageSize"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SWF)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SWF)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SWFClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SWFClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SWF | SWFClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextPageToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=PollForDecisionTaskPaginator.js.map
|