@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
|
@@ -6,68 +6,11 @@ export interface RespondActivityTaskCompletedCommandInput extends RespondActivit
|
|
|
6
6
|
}
|
|
7
7
|
export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
|
|
11
|
-
* by the <code>taskToken</code> completed successfully with a <code>result</code> (if provided).
|
|
12
|
-
* The <code>result</code> appears in the <code>ActivityTaskCompleted</code> event in the
|
|
13
|
-
* workflow history.</p>
|
|
14
|
-
*
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>If the requested task doesn't complete successfully, use <a>RespondActivityTaskFailed</a> instead. If the worker finds that the task is
|
|
17
|
-
* canceled through the <code>canceled</code> flag returned by <a>RecordActivityTaskHeartbeat</a>, it should cancel the task, clean up and then call
|
|
18
|
-
* <a>RespondActivityTaskCanceled</a>.</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 RespondActivityTaskCompleted, <a>RespondActivityTaskCanceled</a>, <a>RespondActivityTaskFailed</a>, or the
|
|
24
|
-
* task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
|
|
25
|
-
* out</a>.</p>
|
|
26
|
-
*
|
|
27
|
-
* <p>
|
|
28
|
-
* <b>Access Control</b>
|
|
29
|
-
* </p>
|
|
30
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
31
|
-
* follows:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
35
|
-
* only specified domains.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
39
|
-
* action.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
46
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
47
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
48
|
-
* 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
|
|
49
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { SWFClient, RespondActivityTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
54
|
-
* // const { SWFClient, RespondActivityTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
55
|
-
* const client = new SWFClient(config);
|
|
56
|
-
* const command = new RespondActivityTaskCompletedCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link RespondActivityTaskCompletedCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link RespondActivityTaskCompletedCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
9
|
+
|
|
65
10
|
export declare class RespondActivityTaskCompletedCommand extends $Command<RespondActivityTaskCompletedCommandInput, RespondActivityTaskCompletedCommandOutput, SWFClientResolvedConfig> {
|
|
66
11
|
readonly input: RespondActivityTaskCompletedCommandInput;
|
|
67
12
|
constructor(input: RespondActivityTaskCompletedCommandInput);
|
|
68
|
-
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
13
|
+
|
|
71
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RespondActivityTaskCompletedCommandInput, RespondActivityTaskCompletedCommandOutput>;
|
|
72
15
|
private serialize;
|
|
73
16
|
private deserialize;
|
|
@@ -6,61 +6,11 @@ export interface RespondActivityTaskFailedCommandInput extends RespondActivityTa
|
|
|
6
6
|
}
|
|
7
7
|
export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
|
|
11
|
-
* by the <code>taskToken</code> has failed with <code>reason</code> (if specified). The
|
|
12
|
-
* <code>reason</code> and <code>details</code> appear in the <code>ActivityTaskFailed</code>
|
|
13
|
-
* event added to the workflow history.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>A task is considered open from the time that it is scheduled until it is closed.
|
|
16
|
-
* Therefore a task is reported as open while a worker is processing it. A task is closed after
|
|
17
|
-
* 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
|
|
18
|
-
* out</a>.</p>
|
|
19
|
-
*
|
|
20
|
-
* <p>
|
|
21
|
-
* <b>Access Control</b>
|
|
22
|
-
* </p>
|
|
23
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
24
|
-
* follows:</p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
28
|
-
* only specified domains.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
32
|
-
* action.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* </ul>
|
|
38
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
39
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
40
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
41
|
-
* 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
|
|
42
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { SWFClient, RespondActivityTaskFailedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
47
|
-
* // const { SWFClient, RespondActivityTaskFailedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
48
|
-
* const client = new SWFClient(config);
|
|
49
|
-
* const command = new RespondActivityTaskFailedCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link RespondActivityTaskFailedCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link RespondActivityTaskFailedCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
9
|
+
|
|
58
10
|
export declare class RespondActivityTaskFailedCommand extends $Command<RespondActivityTaskFailedCommandInput, RespondActivityTaskFailedCommandOutput, SWFClientResolvedConfig> {
|
|
59
11
|
readonly input: RespondActivityTaskFailedCommandInput;
|
|
60
12
|
constructor(input: RespondActivityTaskFailedCommandInput);
|
|
61
|
-
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
13
|
+
|
|
64
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RespondActivityTaskFailedCommandInput, RespondActivityTaskFailedCommandOutput>;
|
|
65
15
|
private serialize;
|
|
66
16
|
private deserialize;
|
|
@@ -6,48 +6,11 @@ export interface RespondDecisionTaskCompletedCommandInput extends RespondDecisio
|
|
|
6
6
|
}
|
|
7
7
|
export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Used by deciders to tell the service that the <a>DecisionTask</a> identified
|
|
11
|
-
* by the <code>taskToken</code> has successfully completed. The <code>decisions</code> argument
|
|
12
|
-
* specifies the list of decisions made while processing the task.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>A <code>DecisionTaskCompleted</code> event is added to the workflow history. The
|
|
15
|
-
* <code>executionContext</code> specified is attached to the event in the workflow execution
|
|
16
|
-
* history.</p>
|
|
17
|
-
*
|
|
18
|
-
* <p>
|
|
19
|
-
* <b>Access Control</b>
|
|
20
|
-
* </p>
|
|
21
|
-
*
|
|
22
|
-
* <p>If an IAM policy grants permission to use <code>RespondDecisionTaskCompleted</code>, it
|
|
23
|
-
* can express permissions for the list of decisions in the <code>decisions</code> parameter.
|
|
24
|
-
* Each of the decisions has one or more parameters, much like a regular API call. To allow for
|
|
25
|
-
* policies to be as readable as possible, you can express permissions on decisions as if they
|
|
26
|
-
* were actual API calls, including applying conditions to some parameters. For more information,
|
|
27
|
-
* see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using
|
|
28
|
-
* IAM to Manage Access to Amazon SWF Workflows</a> in the
|
|
29
|
-
* <i>Amazon SWF Developer Guide</i>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { SWFClient, RespondDecisionTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
34
|
-
* // const { SWFClient, RespondDecisionTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
35
|
-
* const client = new SWFClient(config);
|
|
36
|
-
* const command = new RespondDecisionTaskCompletedCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link RespondDecisionTaskCompletedCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link RespondDecisionTaskCompletedCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
9
|
+
|
|
45
10
|
export declare class RespondDecisionTaskCompletedCommand extends $Command<RespondDecisionTaskCompletedCommandInput, RespondDecisionTaskCompletedCommandOutput, SWFClientResolvedConfig> {
|
|
46
11
|
readonly input: RespondDecisionTaskCompletedCommandInput;
|
|
47
12
|
constructor(input: RespondDecisionTaskCompletedCommandInput);
|
|
48
|
-
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
13
|
+
|
|
51
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RespondDecisionTaskCompletedCommandInput, RespondDecisionTaskCompletedCommandOutput>;
|
|
52
15
|
private serialize;
|
|
53
16
|
private deserialize;
|
|
@@ -6,67 +6,11 @@ export interface SignalWorkflowExecutionCommandInput extends SignalWorkflowExecu
|
|
|
6
6
|
}
|
|
7
7
|
export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Records a <code>WorkflowExecutionSignaled</code> event in the workflow execution
|
|
11
|
-
* history and creates a decision task for the workflow execution identified by the given domain,
|
|
12
|
-
* workflowId and runId. The event is recorded with the specified user defined signalName and
|
|
13
|
-
* input (if provided).</p>
|
|
14
|
-
*
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>If a runId isn't specified, then the <code>WorkflowExecutionSignaled</code> event is
|
|
17
|
-
* recorded in the history of the current open workflow with the matching workflowId in the
|
|
18
|
-
* domain.</p>
|
|
19
|
-
* </note>
|
|
20
|
-
*
|
|
21
|
-
* <note>
|
|
22
|
-
* <p>If the specified workflow execution isn't open, this method fails with
|
|
23
|
-
* <code>UnknownResource</code>.</p>
|
|
24
|
-
* </note>
|
|
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, SignalWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
53
|
-
* // const { SWFClient, SignalWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
54
|
-
* const client = new SWFClient(config);
|
|
55
|
-
* const command = new SignalWorkflowExecutionCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link SignalWorkflowExecutionCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link SignalWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
9
|
+
|
|
64
10
|
export declare class SignalWorkflowExecutionCommand extends $Command<SignalWorkflowExecutionCommandInput, SignalWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
|
|
65
11
|
readonly input: SignalWorkflowExecutionCommandInput;
|
|
66
12
|
constructor(input: SignalWorkflowExecutionCommandInput);
|
|
67
|
-
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
13
|
+
|
|
70
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SignalWorkflowExecutionCommandInput, SignalWorkflowExecutionCommandOutput>;
|
|
71
15
|
private serialize;
|
|
72
16
|
private deserialize;
|
|
@@ -6,94 +6,11 @@ export interface StartWorkflowExecutionCommandInput extends StartWorkflowExecuti
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Starts an execution of the workflow type in the specified domain using the provided
|
|
11
|
-
* <code>workflowId</code> and input data.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>This action returns the newly started workflow execution.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>
|
|
16
|
-
* <b>Access Control</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
19
|
-
* follows:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
23
|
-
* only specified domains.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
27
|
-
* action.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
31
|
-
* the appropriate keys.</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>tagList.member.0</code>: The key is <code>swf:tagList.member.0</code>.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>
|
|
39
|
-
* <code>tagList.member.1</code>: The key is <code>swf:tagList.member.1</code>.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <code>tagList.member.2</code>: The key is <code>swf:tagList.member.2</code>.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>tagList.member.3</code>: The key is <code>swf:tagList.member.3</code>.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <code>tagList.member.4</code>: The key is <code>swf:tagList.member.4</code>.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>
|
|
55
|
-
* <code>taskList</code>: String constraint. The key is
|
|
56
|
-
* <code>swf:taskList.name</code>.</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
* <code>workflowType.name</code>: String constraint. The key is
|
|
61
|
-
* <code>swf:workflowType.name</code>.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>
|
|
65
|
-
* <code>workflowType.version</code>: String constraint. The key is
|
|
66
|
-
* <code>swf:workflowType.version</code>.</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* </ul>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ul>
|
|
71
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
72
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
73
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
74
|
-
* 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
|
|
75
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
76
|
-
* @example
|
|
77
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
78
|
-
* ```javascript
|
|
79
|
-
* import { SWFClient, StartWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
80
|
-
* // const { SWFClient, StartWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
81
|
-
* const client = new SWFClient(config);
|
|
82
|
-
* const command = new StartWorkflowExecutionCommand(input);
|
|
83
|
-
* const response = await client.send(command);
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* @see {@link StartWorkflowExecutionCommandInput} for command's `input` shape.
|
|
87
|
-
* @see {@link StartWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
88
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
9
|
+
|
|
91
10
|
export declare class StartWorkflowExecutionCommand extends $Command<StartWorkflowExecutionCommandInput, StartWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
|
|
92
11
|
readonly input: StartWorkflowExecutionCommandInput;
|
|
93
12
|
constructor(input: StartWorkflowExecutionCommandInput);
|
|
94
|
-
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
13
|
+
|
|
97
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartWorkflowExecutionCommandInput, StartWorkflowExecutionCommandOutput>;
|
|
98
15
|
private serialize;
|
|
99
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Add a tag to a Amazon SWF domain.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>Amazon SWF supports a maximum of 50 tags per resource.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { SWFClient, TagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
18
|
-
* // const { SWFClient, TagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
19
|
-
* const client = new SWFClient(config);
|
|
20
|
-
* const command = new TagResourceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SWFClientResolvedConfig> {
|
|
30
11
|
readonly input: TagResourceCommandInput;
|
|
31
12
|
constructor(input: TagResourceCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,72 +6,11 @@ export interface TerminateWorkflowExecutionCommandInput extends TerminateWorkflo
|
|
|
6
6
|
}
|
|
7
7
|
export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Records a <code>WorkflowExecutionTerminated</code> event and forces closure of the
|
|
11
|
-
* workflow execution identified by the given domain, runId, and workflowId. The child policy,
|
|
12
|
-
* registered with the workflow type or specified when starting this execution, is applied to any
|
|
13
|
-
* open child workflow executions of this workflow execution.</p>
|
|
14
|
-
*
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>If the identified workflow execution was in progress, it is terminated
|
|
17
|
-
* immediately.</p>
|
|
18
|
-
* </important>
|
|
19
|
-
*
|
|
20
|
-
* <note>
|
|
21
|
-
* <p>If a runId isn't specified, then the <code>WorkflowExecutionTerminated</code> event
|
|
22
|
-
* is recorded in the history of the current open workflow with the matching workflowId in the
|
|
23
|
-
* domain.</p>
|
|
24
|
-
* </note>
|
|
25
|
-
*
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>You should consider using <a>RequestCancelWorkflowExecution</a> action
|
|
28
|
-
* instead because it allows the workflow to gracefully close while <a>TerminateWorkflowExecution</a> doesn't.</p>
|
|
29
|
-
* </note>
|
|
30
|
-
*
|
|
31
|
-
* <p>
|
|
32
|
-
* <b>Access Control</b>
|
|
33
|
-
* </p>
|
|
34
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
35
|
-
* follows:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
39
|
-
* only specified domains.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
43
|
-
* action.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
50
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
51
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
52
|
-
* 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
|
|
53
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
54
|
-
* @example
|
|
55
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
56
|
-
* ```javascript
|
|
57
|
-
* import { SWFClient, TerminateWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
58
|
-
* // const { SWFClient, TerminateWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
59
|
-
* const client = new SWFClient(config);
|
|
60
|
-
* const command = new TerminateWorkflowExecutionCommand(input);
|
|
61
|
-
* const response = await client.send(command);
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @see {@link TerminateWorkflowExecutionCommandInput} for command's `input` shape.
|
|
65
|
-
* @see {@link TerminateWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
66
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
9
|
+
|
|
69
10
|
export declare class TerminateWorkflowExecutionCommand extends $Command<TerminateWorkflowExecutionCommandInput, TerminateWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
|
|
70
11
|
readonly input: TerminateWorkflowExecutionCommandInput;
|
|
71
12
|
constructor(input: TerminateWorkflowExecutionCommandInput);
|
|
72
|
-
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
13
|
+
|
|
75
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TerminateWorkflowExecutionCommandInput, TerminateWorkflowExecutionCommandOutput>;
|
|
76
15
|
private serialize;
|
|
77
16
|
private deserialize;
|
|
@@ -6,70 +6,11 @@ export interface UndeprecateActivityTypeCommandInput extends UndeprecateActivity
|
|
|
6
6
|
}
|
|
7
7
|
export interface UndeprecateActivityTypeCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Undeprecates a previously deprecated <i>activity type</i>. After an activity type has
|
|
11
|
-
* been undeprecated, you can create new tasks of that activity type.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
14
|
-
* exactly reflect recent updates and changes.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>
|
|
17
|
-
* <b>Access Control</b>
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
20
|
-
* follows:</p>
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
24
|
-
* only specified domains.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
28
|
-
* action.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
32
|
-
* the appropriate keys.</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <code>activityType.name</code>: String constraint. The key is
|
|
37
|
-
* <code>swf:activityType.name</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>activityType.version</code>: String constraint. The key is
|
|
42
|
-
* <code>swf:activityType.version</code>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
48
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
49
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
50
|
-
* 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
|
|
51
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { SWFClient, UndeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
56
|
-
* // const { SWFClient, UndeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
57
|
-
* const client = new SWFClient(config);
|
|
58
|
-
* const command = new UndeprecateActivityTypeCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link UndeprecateActivityTypeCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link UndeprecateActivityTypeCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
9
|
+
|
|
67
10
|
export declare class UndeprecateActivityTypeCommand extends $Command<UndeprecateActivityTypeCommandInput, UndeprecateActivityTypeCommandOutput, SWFClientResolvedConfig> {
|
|
68
11
|
readonly input: UndeprecateActivityTypeCommandInput;
|
|
69
12
|
constructor(input: UndeprecateActivityTypeCommandInput);
|
|
70
|
-
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
13
|
+
|
|
73
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UndeprecateActivityTypeCommandInput, UndeprecateActivityTypeCommandOutput>;
|
|
74
15
|
private serialize;
|
|
75
16
|
private deserialize;
|
|
@@ -6,57 +6,11 @@ export interface UndeprecateDomainCommandInput extends UndeprecateDomainInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UndeprecateDomainCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Undeprecates a previously deprecated domain. After a domain has been undeprecated it can be used
|
|
11
|
-
* to create new workflow executions or register new types.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
14
|
-
* exactly reflect recent updates and changes.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>
|
|
17
|
-
* <b>Access Control</b>
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
20
|
-
* follows:</p>
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
24
|
-
* only specified domains.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
28
|
-
* action.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
35
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
36
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
37
|
-
* 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
|
|
38
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { SWFClient, UndeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
43
|
-
* // const { SWFClient, UndeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
44
|
-
* const client = new SWFClient(config);
|
|
45
|
-
* const command = new UndeprecateDomainCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link UndeprecateDomainCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link UndeprecateDomainCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
9
|
+
|
|
54
10
|
export declare class UndeprecateDomainCommand extends $Command<UndeprecateDomainCommandInput, UndeprecateDomainCommandOutput, SWFClientResolvedConfig> {
|
|
55
11
|
readonly input: UndeprecateDomainCommandInput;
|
|
56
12
|
constructor(input: UndeprecateDomainCommandInput);
|
|
57
|
-
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
13
|
+
|
|
60
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UndeprecateDomainCommandInput, UndeprecateDomainCommandOutput>;
|
|
61
15
|
private serialize;
|
|
62
16
|
private deserialize;
|