@aws-sdk/client-swf 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/SWF.js +0 -19
- package/dist-cjs/SWFClient.js +0 -24
- package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +0 -71
- package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +0 -71
- package/dist-cjs/commands/CountPendingActivityTasksCommand.js +0 -52
- package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +0 -52
- package/dist-cjs/commands/DeprecateActivityTypeCommand.js +0 -67
- package/dist-cjs/commands/DeprecateDomainCommand.js +0 -56
- package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +0 -68
- package/dist-cjs/commands/DescribeActivityTypeCommand.js +0 -63
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -49
- package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +0 -53
- package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +0 -63
- package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +0 -54
- package/dist-cjs/commands/ListActivityTypesCommand.js +0 -52
- package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +0 -72
- package/dist-cjs/commands/ListDomainsCommand.js +0 -56
- package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +0 -72
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListWorkflowTypesCommand.js +0 -49
- package/dist-cjs/commands/PollForActivityTaskCommand.js +0 -60
- package/dist-cjs/commands/PollForDecisionTaskCommand.js +0 -72
- package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +0 -72
- package/dist-cjs/commands/RegisterActivityTypeCommand.js +0 -71
- package/dist-cjs/commands/RegisterDomainCommand.js +0 -48
- package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +0 -72
- package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +0 -63
- package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +0 -66
- package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +0 -64
- package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +0 -57
- package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +0 -44
- package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +0 -63
- package/dist-cjs/commands/StartWorkflowExecutionCommand.js +0 -90
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +0 -68
- package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +0 -66
- package/dist-cjs/commands/UndeprecateDomainCommand.js +0 -53
- package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +0 -66
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/index.js +40 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -48
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -454
- package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListActivityTypesPaginator.js +0 -11
- package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
- package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListWorkflowTypesPaginator.js +0 -11
- package/dist-cjs/pagination/PollForDecisionTaskPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/SWF.js +0 -1
- package/dist-es/SWFClient.js +0 -1
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/CountPendingActivityTasksCommand.js +0 -1
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +0 -1
- package/dist-es/commands/DeprecateActivityTypeCommand.js +0 -1
- package/dist-es/commands/DeprecateDomainCommand.js +0 -1
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/DescribeActivityTypeCommand.js +0 -1
- package/dist-es/commands/DescribeDomainCommand.js +0 -1
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +0 -1
- package/dist-es/commands/ListActivityTypesCommand.js +0 -1
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/ListDomainsCommand.js +0 -1
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListWorkflowTypesCommand.js +0 -1
- package/dist-es/commands/PollForActivityTaskCommand.js +0 -1
- package/dist-es/commands/PollForDecisionTaskCommand.js +0 -1
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +0 -1
- package/dist-es/commands/RegisterActivityTypeCommand.js +0 -1
- package/dist-es/commands/RegisterDomainCommand.js +0 -1
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +0 -1
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +0 -1
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/StartWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +0 -1
- package/dist-es/commands/UndeprecateDomainCommand.js +0 -1
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/index.js +37 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -48
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListActivityTypesPaginator.js +0 -1
- package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js +0 -1
- package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListWorkflowTypesPaginator.js +0 -1
- package/dist-es/pagination/PollForDecisionTaskPaginator.js +0 -1
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +37 -0
- package/dist-types/index.d.ts +4 -47
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/SWF.d.ts +16 -1467
- package/dist-types/ts3.4/SWFClient.d.ts +24 -104
- package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +2 -62
- package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +0 -58
- package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +2 -85
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +37 -0
- package/dist-types/ts3.4/index.d.ts +4 -47
- package/dist-types/ts3.4/models/models_0.d.ts +865 -4636
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- 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/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.map +0 -1
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/CountPendingActivityTasksCommand.js.map +0 -1
- package/dist-es/commands/CountPendingDecisionTasksCommand.js.map +0 -1
- package/dist-es/commands/DeprecateActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/DeprecateDomainCommand.js.map +0 -1
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/DescribeActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
- package/dist-es/commands/ListActivityTypesCommand.js.map +0 -1
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListDomainsCommand.js.map +0 -1
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListWorkflowTypesCommand.js.map +0 -1
- package/dist-es/commands/PollForActivityTaskCommand.js.map +0 -1
- package/dist-es/commands/PollForDecisionTaskCommand.js.map +0 -1
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
- package/dist-es/commands/RegisterActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/RegisterDomainCommand.js.map +0 -1
- package/dist-es/commands/RegisterWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskFailedCommand.js.map +0 -1
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
- package/dist-es/commands/SignalWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/StartWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/UndeprecateActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/UndeprecateDomainCommand.js.map +0 -1
- 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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/SWF.ts +0 -2640
- package/src/SWFClient.ts +0 -446
- package/src/commands/CountClosedWorkflowExecutionsCommand.ts +0 -144
- package/src/commands/CountOpenWorkflowExecutionsCommand.ts +0 -144
- package/src/commands/CountPendingActivityTasksCommand.ts +0 -125
- package/src/commands/CountPendingDecisionTasksCommand.ts +0 -125
- package/src/commands/DeprecateActivityTypeCommand.ts +0 -137
- package/src/commands/DeprecateDomainCommand.ts +0 -126
- package/src/commands/DeprecateWorkflowTypeCommand.ts +0 -138
- package/src/commands/DescribeActivityTypeCommand.ts +0 -133
- package/src/commands/DescribeDomainCommand.ts +0 -119
- package/src/commands/DescribeWorkflowExecutionCommand.ts +0 -126
- package/src/commands/DescribeWorkflowTypeCommand.ts +0 -133
- package/src/commands/GetWorkflowExecutionHistoryCommand.ts +0 -127
- package/src/commands/ListActivityTypesCommand.ts +0 -122
- package/src/commands/ListClosedWorkflowExecutionsCommand.ts +0 -145
- package/src/commands/ListDomainsCommand.ts +0 -126
- package/src/commands/ListOpenWorkflowExecutionsCommand.ts +0 -145
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListWorkflowTypesCommand.ts +0 -119
- package/src/commands/PollForActivityTaskCommand.ts +0 -130
- package/src/commands/PollForDecisionTaskCommand.ts +0 -142
- package/src/commands/RecordActivityTaskHeartbeatCommand.ts +0 -145
- package/src/commands/RegisterActivityTypeCommand.ts +0 -141
- package/src/commands/RegisterDomainCommand.ts +0 -118
- package/src/commands/RegisterWorkflowTypeCommand.ts +0 -142
- package/src/commands/RequestCancelWorkflowExecutionCommand.ts +0 -139
- package/src/commands/RespondActivityTaskCanceledCommand.ts +0 -139
- package/src/commands/RespondActivityTaskCompletedCommand.ts +0 -137
- package/src/commands/RespondActivityTaskFailedCommand.ts +0 -130
- package/src/commands/RespondDecisionTaskCompletedCommand.ts +0 -117
- package/src/commands/SignalWorkflowExecutionCommand.ts +0 -133
- package/src/commands/StartWorkflowExecutionCommand.ts +0 -160
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/TerminateWorkflowExecutionCommand.ts +0 -141
- package/src/commands/UndeprecateActivityTypeCommand.ts +0 -136
- package/src/commands/UndeprecateDomainCommand.ts +0 -123
- package/src/commands/UndeprecateWorkflowTypeCommand.ts +0 -136
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -48
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7233
- package/src/pagination/GetWorkflowExecutionHistoryPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListActivityTypesPaginator.ts +0 -59
- package/src/pagination/ListClosedWorkflowExecutionsPaginator.ts +0 -59
- package/src/pagination/ListDomainsPaginator.ts +0 -55
- package/src/pagination/ListOpenWorkflowExecutionsPaginator.ts +0 -59
- package/src/pagination/ListWorkflowTypesPaginator.ts +0 -59
- package/src/pagination/PollForDecisionTaskPaginator.ts +0 -59
- package/src/protocols/Aws_json1_0.ts +0 -5978
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -5,58 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Registers a new domain.</p>
|
|
10
|
-
* <p>
|
|
11
|
-
* <b>Access Control</b>
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
14
|
-
* follows:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>You cannot use an IAM policy to control domain access for this action. The name of
|
|
18
|
-
* the domain being registered is available as the resource of this action.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
22
|
-
* action.</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
29
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
30
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
31
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
32
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { SWFClient, RegisterDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
37
|
-
* // const { SWFClient, RegisterDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
38
|
-
* const client = new SWFClient(config);
|
|
39
|
-
* const command = new RegisterDomainCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link RegisterDomainCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link RegisterDomainCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
8
|
class RegisterDomainCommand extends smithy_client_1.Command {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
9
|
constructor(input) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
10
|
super();
|
|
54
11
|
this.input = input;
|
|
55
|
-
// End section: command_constructor
|
|
56
12
|
}
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
61
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
62
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -81,4 +34,3 @@ class RegisterDomainCommand extends smithy_client_1.Command {
|
|
|
81
34
|
}
|
|
82
35
|
}
|
|
83
36
|
exports.RegisterDomainCommand = RegisterDomainCommand;
|
|
84
|
-
//# sourceMappingURL=RegisterDomainCommand.js.map
|
|
@@ -5,82 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Registers a new <i>workflow type</i> and its configuration settings in
|
|
10
|
-
* the specified domain.</p>
|
|
11
|
-
* <p>The retention period for the workflow history is set by the <a>RegisterDomain</a> action.</p>
|
|
12
|
-
* <important>
|
|
13
|
-
* <p>If the type already exists, then a <code>TypeAlreadyExists</code> fault is returned.
|
|
14
|
-
* You cannot change the configuration settings of a workflow type once it is registered and it
|
|
15
|
-
* must be registered as a new version.</p>
|
|
16
|
-
* </important>
|
|
17
|
-
* <p>
|
|
18
|
-
* <b>Access Control</b>
|
|
19
|
-
* </p>
|
|
20
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
21
|
-
* follows:</p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
25
|
-
* only specified domains.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
29
|
-
* action.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
33
|
-
* the appropriate keys.</p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <code>defaultTaskList.name</code>: String constraint. The key is
|
|
38
|
-
* <code>swf:defaultTaskList.name</code>.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>version</code>: String constraint. The key is
|
|
47
|
-
* <code>swf:version</code>.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* </ul>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
53
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
54
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
55
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
56
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
57
|
-
* @example
|
|
58
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
-
* ```javascript
|
|
60
|
-
* import { SWFClient, RegisterWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
61
|
-
* // const { SWFClient, RegisterWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
62
|
-
* const client = new SWFClient(config);
|
|
63
|
-
* const command = new RegisterWorkflowTypeCommand(input);
|
|
64
|
-
* const response = await client.send(command);
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @see {@link RegisterWorkflowTypeCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link RegisterWorkflowTypeCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
8
|
class RegisterWorkflowTypeCommand extends smithy_client_1.Command {
|
|
73
|
-
// Start section: command_properties
|
|
74
|
-
// End section: command_properties
|
|
75
9
|
constructor(input) {
|
|
76
|
-
// Start section: command_constructor
|
|
77
10
|
super();
|
|
78
11
|
this.input = input;
|
|
79
|
-
// End section: command_constructor
|
|
80
12
|
}
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
85
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
86
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -105,4 +34,3 @@ class RegisterWorkflowTypeCommand extends smithy_client_1.Command {
|
|
|
105
34
|
}
|
|
106
35
|
}
|
|
107
36
|
exports.RegisterWorkflowTypeCommand = RegisterWorkflowTypeCommand;
|
|
108
|
-
//# sourceMappingURL=RegisterWorkflowTypeCommand.js.map
|
|
@@ -5,73 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Records a <code>WorkflowExecutionCancelRequested</code> event in the currently running
|
|
10
|
-
* workflow execution identified by the given domain, workflowId, and runId. This logically
|
|
11
|
-
* requests the cancellation of the workflow execution as a whole. It is up to the decider to
|
|
12
|
-
* take appropriate actions when it receives an execution history with this event.</p>
|
|
13
|
-
*
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>If the runId isn't specified, the <code>WorkflowExecutionCancelRequested</code> event
|
|
16
|
-
* is recorded in the history of the current open workflow execution with the specified
|
|
17
|
-
* workflowId in the domain.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
*
|
|
20
|
-
* <note>
|
|
21
|
-
* <p>Because this action allows the workflow to properly clean up and gracefully close, it
|
|
22
|
-
* should be used instead of <a>TerminateWorkflowExecution</a> when
|
|
23
|
-
* possible.</p>
|
|
24
|
-
* </note>
|
|
25
|
-
* <p>
|
|
26
|
-
* <b>Access Control</b>
|
|
27
|
-
* </p>
|
|
28
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
29
|
-
* follows:</p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
33
|
-
* only specified domains.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
37
|
-
* action.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
44
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
45
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
46
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
47
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { SWFClient, RequestCancelWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
52
|
-
* // const { SWFClient, RequestCancelWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
53
|
-
* const client = new SWFClient(config);
|
|
54
|
-
* const command = new RequestCancelWorkflowExecutionCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link RequestCancelWorkflowExecutionCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link RequestCancelWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
8
|
class RequestCancelWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
9
|
constructor(input) {
|
|
67
|
-
// Start section: command_constructor
|
|
68
10
|
super();
|
|
69
11
|
this.input = input;
|
|
70
|
-
// End section: command_constructor
|
|
71
12
|
}
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
76
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -96,4 +34,3 @@ class RequestCancelWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
96
34
|
}
|
|
97
35
|
}
|
|
98
36
|
exports.RequestCancelWorkflowExecutionCommand = RequestCancelWorkflowExecutionCommand;
|
|
99
|
-
//# sourceMappingURL=RequestCancelWorkflowExecutionCommand.js.map
|
|
@@ -5,76 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
|
|
10
|
-
* by the <code>taskToken</code> was successfully canceled. Additional <code>details</code> can
|
|
11
|
-
* be provided using the <code>details</code> argument.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>These <code>details</code> (if provided) appear in the
|
|
14
|
-
* <code>ActivityTaskCanceled</code> event added to the workflow history.</p>
|
|
15
|
-
*
|
|
16
|
-
* <important>
|
|
17
|
-
* <p>Only use this operation if the <code>canceled</code> flag of a <a>RecordActivityTaskHeartbeat</a> request returns <code>true</code> and if the
|
|
18
|
-
* activity can be safely undone or abandoned.</p>
|
|
19
|
-
* </important>
|
|
20
|
-
*
|
|
21
|
-
* <p>A task is considered open from the time that it is scheduled until it is closed.
|
|
22
|
-
* Therefore a task is reported as open while a worker is processing it. A task is closed after
|
|
23
|
-
* it has been specified in a call to <a>RespondActivityTaskCompleted</a>,
|
|
24
|
-
* RespondActivityTaskCanceled, <a>RespondActivityTaskFailed</a>, or the task has
|
|
25
|
-
* <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
|
|
26
|
-
* out</a>.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>Access Control</b>
|
|
30
|
-
* </p>
|
|
31
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
32
|
-
* follows:</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
36
|
-
* only specified domains.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
40
|
-
* action.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
47
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
48
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
49
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
50
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { SWFClient, RespondActivityTaskCanceledCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
55
|
-
* // const { SWFClient, RespondActivityTaskCanceledCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
56
|
-
* const client = new SWFClient(config);
|
|
57
|
-
* const command = new RespondActivityTaskCanceledCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link RespondActivityTaskCanceledCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link RespondActivityTaskCanceledCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
8
|
class RespondActivityTaskCanceledCommand extends smithy_client_1.Command {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
9
|
constructor(input) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
10
|
super();
|
|
72
11
|
this.input = input;
|
|
73
|
-
// End section: command_constructor
|
|
74
12
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
79
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -99,4 +34,3 @@ class RespondActivityTaskCanceledCommand extends smithy_client_1.Command {
|
|
|
99
34
|
}
|
|
100
35
|
}
|
|
101
36
|
exports.RespondActivityTaskCanceledCommand = RespondActivityTaskCanceledCommand;
|
|
102
|
-
//# sourceMappingURL=RespondActivityTaskCanceledCommand.js.map
|
|
@@ -5,74 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
|
|
10
|
-
* by the <code>taskToken</code> completed successfully with a <code>result</code> (if provided).
|
|
11
|
-
* The <code>result</code> appears in the <code>ActivityTaskCompleted</code> event in the
|
|
12
|
-
* workflow history.</p>
|
|
13
|
-
*
|
|
14
|
-
* <important>
|
|
15
|
-
* <p>If the requested task doesn't complete successfully, use <a>RespondActivityTaskFailed</a> instead. If the worker finds that the task is
|
|
16
|
-
* canceled through the <code>canceled</code> flag returned by <a>RecordActivityTaskHeartbeat</a>, it should cancel the task, clean up and then call
|
|
17
|
-
* <a>RespondActivityTaskCanceled</a>.</p>
|
|
18
|
-
* </important>
|
|
19
|
-
*
|
|
20
|
-
* <p>A task is considered open from the time that it is scheduled until it is closed.
|
|
21
|
-
* Therefore a task is reported as open while a worker is processing it. A task is closed after
|
|
22
|
-
* it has been specified in a call to RespondActivityTaskCompleted, <a>RespondActivityTaskCanceled</a>, <a>RespondActivityTaskFailed</a>, or the
|
|
23
|
-
* task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
|
|
24
|
-
* out</a>.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>
|
|
27
|
-
* <b>Access Control</b>
|
|
28
|
-
* </p>
|
|
29
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
30
|
-
* follows:</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
34
|
-
* only specified domains.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
38
|
-
* action.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* </ul>
|
|
44
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
45
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
46
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
47
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
48
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { SWFClient, RespondActivityTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
53
|
-
* // const { SWFClient, RespondActivityTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
54
|
-
* const client = new SWFClient(config);
|
|
55
|
-
* const command = new RespondActivityTaskCompletedCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link RespondActivityTaskCompletedCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link RespondActivityTaskCompletedCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
8
|
class RespondActivityTaskCompletedCommand extends smithy_client_1.Command {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
9
|
constructor(input) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
10
|
super();
|
|
70
11
|
this.input = input;
|
|
71
|
-
// End section: command_constructor
|
|
72
12
|
}
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
77
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -97,4 +34,3 @@ class RespondActivityTaskCompletedCommand extends smithy_client_1.Command {
|
|
|
97
34
|
}
|
|
98
35
|
}
|
|
99
36
|
exports.RespondActivityTaskCompletedCommand = RespondActivityTaskCompletedCommand;
|
|
100
|
-
//# sourceMappingURL=RespondActivityTaskCompletedCommand.js.map
|
|
@@ -5,67 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
|
|
10
|
-
* by the <code>taskToken</code> has failed with <code>reason</code> (if specified). The
|
|
11
|
-
* <code>reason</code> and <code>details</code> appear in the <code>ActivityTaskFailed</code>
|
|
12
|
-
* event added to the workflow history.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>A task is considered open from the time that it is scheduled until it is closed.
|
|
15
|
-
* Therefore a task is reported as open while a worker is processing it. A task is closed after
|
|
16
|
-
* it has been specified in a call to <a>RespondActivityTaskCompleted</a>, <a>RespondActivityTaskCanceled</a>, RespondActivityTaskFailed, or the task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
|
|
17
|
-
* out</a>.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>
|
|
20
|
-
* <b>Access Control</b>
|
|
21
|
-
* </p>
|
|
22
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
23
|
-
* follows:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
27
|
-
* only specified domains.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
31
|
-
* action.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
38
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
39
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
40
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
41
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { SWFClient, RespondActivityTaskFailedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
46
|
-
* // const { SWFClient, RespondActivityTaskFailedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
47
|
-
* const client = new SWFClient(config);
|
|
48
|
-
* const command = new RespondActivityTaskFailedCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link RespondActivityTaskFailedCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link RespondActivityTaskFailedCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
8
|
class RespondActivityTaskFailedCommand extends smithy_client_1.Command {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
9
|
constructor(input) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
10
|
super();
|
|
63
11
|
this.input = input;
|
|
64
|
-
// End section: command_constructor
|
|
65
12
|
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
70
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -90,4 +34,3 @@ class RespondActivityTaskFailedCommand extends smithy_client_1.Command {
|
|
|
90
34
|
}
|
|
91
35
|
}
|
|
92
36
|
exports.RespondActivityTaskFailedCommand = RespondActivityTaskFailedCommand;
|
|
93
|
-
//# sourceMappingURL=RespondActivityTaskFailedCommand.js.map
|
|
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by deciders to tell the service that the <a>DecisionTask</a> identified
|
|
10
|
-
* by the <code>taskToken</code> has successfully completed. The <code>decisions</code> argument
|
|
11
|
-
* specifies the list of decisions made while processing the task.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>A <code>DecisionTaskCompleted</code> event is added to the workflow history. The
|
|
14
|
-
* <code>executionContext</code> specified is attached to the event in the workflow execution
|
|
15
|
-
* history.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>
|
|
18
|
-
* <b>Access Control</b>
|
|
19
|
-
* </p>
|
|
20
|
-
*
|
|
21
|
-
* <p>If an IAM policy grants permission to use <code>RespondDecisionTaskCompleted</code>, it
|
|
22
|
-
* can express permissions for the list of decisions in the <code>decisions</code> parameter.
|
|
23
|
-
* Each of the decisions has one or more parameters, much like a regular API call. To allow for
|
|
24
|
-
* policies to be as readable as possible, you can express permissions on decisions as if they
|
|
25
|
-
* were actual API calls, including applying conditions to some parameters. For more information,
|
|
26
|
-
* see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using
|
|
27
|
-
* IAM to Manage Access to Amazon SWF Workflows</a> in the
|
|
28
|
-
* <i>Amazon SWF Developer Guide</i>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { SWFClient, RespondDecisionTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
33
|
-
* // const { SWFClient, RespondDecisionTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
34
|
-
* const client = new SWFClient(config);
|
|
35
|
-
* const command = new RespondDecisionTaskCompletedCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link RespondDecisionTaskCompletedCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link RespondDecisionTaskCompletedCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class RespondDecisionTaskCompletedCommand extends smithy_client_1.Command {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
9
|
constructor(input) {
|
|
48
|
-
// Start section: command_constructor
|
|
49
10
|
super();
|
|
50
11
|
this.input = input;
|
|
51
|
-
// End section: command_constructor
|
|
52
12
|
}
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
57
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
58
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -77,4 +34,3 @@ class RespondDecisionTaskCompletedCommand extends smithy_client_1.Command {
|
|
|
77
34
|
}
|
|
78
35
|
}
|
|
79
36
|
exports.RespondDecisionTaskCompletedCommand = RespondDecisionTaskCompletedCommand;
|
|
80
|
-
//# sourceMappingURL=RespondDecisionTaskCompletedCommand.js.map
|
|
@@ -5,73 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Records a <code>WorkflowExecutionSignaled</code> event in the workflow execution
|
|
10
|
-
* history and creates a decision task for the workflow execution identified by the given domain,
|
|
11
|
-
* workflowId and runId. The event is recorded with the specified user defined signalName and
|
|
12
|
-
* input (if provided).</p>
|
|
13
|
-
*
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>If a runId isn't specified, then the <code>WorkflowExecutionSignaled</code> event is
|
|
16
|
-
* recorded in the history of the current open workflow with the matching workflowId in the
|
|
17
|
-
* domain.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
*
|
|
20
|
-
* <note>
|
|
21
|
-
* <p>If the specified workflow execution isn't open, this method fails with
|
|
22
|
-
* <code>UnknownResource</code>.</p>
|
|
23
|
-
* </note>
|
|
24
|
-
*
|
|
25
|
-
* <p>
|
|
26
|
-
* <b>Access Control</b>
|
|
27
|
-
* </p>
|
|
28
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
29
|
-
* follows:</p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
33
|
-
* only specified domains.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
37
|
-
* action.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
44
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
45
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
46
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
47
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { SWFClient, SignalWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
52
|
-
* // const { SWFClient, SignalWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
53
|
-
* const client = new SWFClient(config);
|
|
54
|
-
* const command = new SignalWorkflowExecutionCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link SignalWorkflowExecutionCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link SignalWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
8
|
class SignalWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
9
|
constructor(input) {
|
|
67
|
-
// Start section: command_constructor
|
|
68
10
|
super();
|
|
69
11
|
this.input = input;
|
|
70
|
-
// End section: command_constructor
|
|
71
12
|
}
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
76
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -96,4 +34,3 @@ class SignalWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
96
34
|
}
|
|
97
35
|
}
|
|
98
36
|
exports.SignalWorkflowExecutionCommand = SignalWorkflowExecutionCommand;
|
|
99
|
-
//# sourceMappingURL=SignalWorkflowExecutionCommand.js.map
|