@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.
Files changed (340) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/SWF.js +0 -19
  3. package/dist-cjs/SWFClient.js +0 -24
  4. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +0 -71
  5. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +0 -71
  6. package/dist-cjs/commands/CountPendingActivityTasksCommand.js +0 -52
  7. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +0 -52
  8. package/dist-cjs/commands/DeprecateActivityTypeCommand.js +0 -67
  9. package/dist-cjs/commands/DeprecateDomainCommand.js +0 -56
  10. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +0 -68
  11. package/dist-cjs/commands/DescribeActivityTypeCommand.js +0 -63
  12. package/dist-cjs/commands/DescribeDomainCommand.js +0 -49
  13. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +0 -53
  14. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +0 -63
  15. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +0 -54
  16. package/dist-cjs/commands/ListActivityTypesCommand.js +0 -52
  17. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +0 -72
  18. package/dist-cjs/commands/ListDomainsCommand.js +0 -56
  19. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +0 -72
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  21. package/dist-cjs/commands/ListWorkflowTypesCommand.js +0 -49
  22. package/dist-cjs/commands/PollForActivityTaskCommand.js +0 -60
  23. package/dist-cjs/commands/PollForDecisionTaskCommand.js +0 -72
  24. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +0 -72
  25. package/dist-cjs/commands/RegisterActivityTypeCommand.js +0 -71
  26. package/dist-cjs/commands/RegisterDomainCommand.js +0 -48
  27. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +0 -72
  28. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +0 -63
  29. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +0 -66
  30. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +0 -64
  31. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +0 -57
  32. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +0 -44
  33. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +0 -63
  34. package/dist-cjs/commands/StartWorkflowExecutionCommand.js +0 -90
  35. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  36. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +0 -68
  37. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +0 -66
  38. package/dist-cjs/commands/UndeprecateDomainCommand.js +0 -53
  39. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +0 -66
  40. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  41. package/dist-cjs/commands/index.js +40 -0
  42. package/dist-cjs/endpoints.js +1 -2
  43. package/dist-cjs/index.js +4 -48
  44. package/dist-cjs/models/index.js +0 -1
  45. package/dist-cjs/models/models_0.js +0 -454
  46. package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -11
  47. package/dist-cjs/pagination/Interfaces.js +0 -1
  48. package/dist-cjs/pagination/ListActivityTypesPaginator.js +0 -11
  49. package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -11
  50. package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
  51. package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -11
  52. package/dist-cjs/pagination/ListWorkflowTypesPaginator.js +0 -11
  53. package/dist-cjs/pagination/PollForDecisionTaskPaginator.js +0 -11
  54. package/dist-cjs/pagination/index.js +11 -0
  55. package/dist-cjs/protocols/Aws_json1_0.js +0 -6
  56. package/dist-cjs/runtimeConfig.browser.js +1 -6
  57. package/dist-cjs/runtimeConfig.js +2 -7
  58. package/dist-cjs/runtimeConfig.native.js +0 -4
  59. package/dist-cjs/runtimeConfig.shared.js +0 -4
  60. package/dist-es/SWF.js +0 -1
  61. package/dist-es/SWFClient.js +0 -1
  62. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +0 -1
  63. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +0 -1
  64. package/dist-es/commands/CountPendingActivityTasksCommand.js +0 -1
  65. package/dist-es/commands/CountPendingDecisionTasksCommand.js +0 -1
  66. package/dist-es/commands/DeprecateActivityTypeCommand.js +0 -1
  67. package/dist-es/commands/DeprecateDomainCommand.js +0 -1
  68. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +0 -1
  69. package/dist-es/commands/DescribeActivityTypeCommand.js +0 -1
  70. package/dist-es/commands/DescribeDomainCommand.js +0 -1
  71. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +0 -1
  72. package/dist-es/commands/DescribeWorkflowTypeCommand.js +0 -1
  73. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +0 -1
  74. package/dist-es/commands/ListActivityTypesCommand.js +0 -1
  75. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +0 -1
  76. package/dist-es/commands/ListDomainsCommand.js +0 -1
  77. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +0 -1
  78. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  79. package/dist-es/commands/ListWorkflowTypesCommand.js +0 -1
  80. package/dist-es/commands/PollForActivityTaskCommand.js +0 -1
  81. package/dist-es/commands/PollForDecisionTaskCommand.js +0 -1
  82. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +0 -1
  83. package/dist-es/commands/RegisterActivityTypeCommand.js +0 -1
  84. package/dist-es/commands/RegisterDomainCommand.js +0 -1
  85. package/dist-es/commands/RegisterWorkflowTypeCommand.js +0 -1
  86. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +0 -1
  87. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +0 -1
  88. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +0 -1
  89. package/dist-es/commands/RespondActivityTaskFailedCommand.js +0 -1
  90. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +0 -1
  91. package/dist-es/commands/SignalWorkflowExecutionCommand.js +0 -1
  92. package/dist-es/commands/StartWorkflowExecutionCommand.js +0 -1
  93. package/dist-es/commands/TagResourceCommand.js +0 -1
  94. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +0 -1
  95. package/dist-es/commands/UndeprecateActivityTypeCommand.js +0 -1
  96. package/dist-es/commands/UndeprecateDomainCommand.js +0 -1
  97. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +0 -1
  98. package/dist-es/commands/UntagResourceCommand.js +0 -1
  99. package/dist-es/commands/index.js +37 -0
  100. package/dist-es/endpoints.js +1 -2
  101. package/dist-es/index.js +4 -48
  102. package/dist-es/models/index.js +0 -1
  103. package/dist-es/models/models_0.js +0 -1
  104. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -1
  105. package/dist-es/pagination/Interfaces.js +0 -1
  106. package/dist-es/pagination/ListActivityTypesPaginator.js +0 -1
  107. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -1
  108. package/dist-es/pagination/ListDomainsPaginator.js +0 -1
  109. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -1
  110. package/dist-es/pagination/ListWorkflowTypesPaginator.js +0 -1
  111. package/dist-es/pagination/PollForDecisionTaskPaginator.js +0 -1
  112. package/dist-es/pagination/index.js +8 -0
  113. package/dist-es/protocols/Aws_json1_0.js +0 -1
  114. package/dist-es/runtimeConfig.browser.js +1 -2
  115. package/dist-es/runtimeConfig.js +2 -3
  116. package/dist-es/runtimeConfig.native.js +0 -1
  117. package/dist-es/runtimeConfig.shared.js +0 -1
  118. package/dist-types/commands/index.d.ts +37 -0
  119. package/dist-types/index.d.ts +4 -47
  120. package/dist-types/pagination/index.d.ts +8 -0
  121. package/dist-types/ts3.4/SWF.d.ts +16 -1467
  122. package/dist-types/ts3.4/SWFClient.d.ts +24 -104
  123. package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -66
  124. package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -66
  125. package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +2 -47
  126. package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +2 -47
  127. package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +2 -62
  128. package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +2 -51
  129. package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +2 -63
  130. package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +2 -58
  131. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -44
  132. package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +2 -48
  133. package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +2 -58
  134. package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -49
  135. package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +2 -47
  136. package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -67
  137. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +0 -58
  138. package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -67
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +2 -44
  141. package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +2 -55
  142. package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +2 -67
  143. package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -67
  144. package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +2 -66
  145. package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +2 -43
  146. package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +2 -67
  147. package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -58
  148. package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +2 -61
  149. package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +2 -59
  150. package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +2 -52
  151. package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -39
  152. package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +2 -58
  153. package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +2 -85
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  155. package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +2 -63
  156. package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +2 -61
  157. package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +2 -48
  158. package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -61
  159. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  161. package/dist-types/ts3.4/index.d.ts +4 -47
  162. package/dist-types/ts3.4/models/models_0.d.ts +865 -4636
  163. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  164. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  165. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  166. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  167. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  168. package/package.json +33 -30
  169. package/dist-cjs/SWF.js.map +0 -1
  170. package/dist-cjs/SWFClient.js.map +0 -1
  171. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
  172. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
  173. package/dist-cjs/commands/CountPendingActivityTasksCommand.js.map +0 -1
  174. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js.map +0 -1
  175. package/dist-cjs/commands/DeprecateActivityTypeCommand.js.map +0 -1
  176. package/dist-cjs/commands/DeprecateDomainCommand.js.map +0 -1
  177. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
  178. package/dist-cjs/commands/DescribeActivityTypeCommand.js.map +0 -1
  179. package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
  180. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
  181. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js.map +0 -1
  182. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
  183. package/dist-cjs/commands/ListActivityTypesCommand.js.map +0 -1
  184. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
  185. package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
  186. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
  187. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  188. package/dist-cjs/commands/ListWorkflowTypesCommand.js.map +0 -1
  189. package/dist-cjs/commands/PollForActivityTaskCommand.js.map +0 -1
  190. package/dist-cjs/commands/PollForDecisionTaskCommand.js.map +0 -1
  191. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
  192. package/dist-cjs/commands/RegisterActivityTypeCommand.js.map +0 -1
  193. package/dist-cjs/commands/RegisterDomainCommand.js.map +0 -1
  194. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js.map +0 -1
  195. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
  196. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
  197. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
  198. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js.map +0 -1
  199. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
  200. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js.map +0 -1
  201. package/dist-cjs/commands/StartWorkflowExecutionCommand.js.map +0 -1
  202. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  203. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
  204. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js.map +0 -1
  205. package/dist-cjs/commands/UndeprecateDomainCommand.js.map +0 -1
  206. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
  207. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  208. package/dist-cjs/endpoints.js.map +0 -1
  209. package/dist-cjs/index.js.map +0 -1
  210. package/dist-cjs/models/index.js.map +0 -1
  211. package/dist-cjs/models/models_0.js.map +0 -1
  212. package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
  213. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  214. package/dist-cjs/pagination/ListActivityTypesPaginator.js.map +0 -1
  215. package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
  217. package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
  218. package/dist-cjs/pagination/ListWorkflowTypesPaginator.js.map +0 -1
  219. package/dist-cjs/pagination/PollForDecisionTaskPaginator.js.map +0 -1
  220. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  221. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  222. package/dist-cjs/runtimeConfig.js.map +0 -1
  223. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  224. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  225. package/dist-es/SWF.js.map +0 -1
  226. package/dist-es/SWFClient.js.map +0 -1
  227. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
  228. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
  229. package/dist-es/commands/CountPendingActivityTasksCommand.js.map +0 -1
  230. package/dist-es/commands/CountPendingDecisionTasksCommand.js.map +0 -1
  231. package/dist-es/commands/DeprecateActivityTypeCommand.js.map +0 -1
  232. package/dist-es/commands/DeprecateDomainCommand.js.map +0 -1
  233. package/dist-es/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
  234. package/dist-es/commands/DescribeActivityTypeCommand.js.map +0 -1
  235. package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
  236. package/dist-es/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
  237. package/dist-es/commands/DescribeWorkflowTypeCommand.js.map +0 -1
  238. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
  239. package/dist-es/commands/ListActivityTypesCommand.js.map +0 -1
  240. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
  241. package/dist-es/commands/ListDomainsCommand.js.map +0 -1
  242. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
  243. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  244. package/dist-es/commands/ListWorkflowTypesCommand.js.map +0 -1
  245. package/dist-es/commands/PollForActivityTaskCommand.js.map +0 -1
  246. package/dist-es/commands/PollForDecisionTaskCommand.js.map +0 -1
  247. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
  248. package/dist-es/commands/RegisterActivityTypeCommand.js.map +0 -1
  249. package/dist-es/commands/RegisterDomainCommand.js.map +0 -1
  250. package/dist-es/commands/RegisterWorkflowTypeCommand.js.map +0 -1
  251. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
  252. package/dist-es/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
  253. package/dist-es/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
  254. package/dist-es/commands/RespondActivityTaskFailedCommand.js.map +0 -1
  255. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
  256. package/dist-es/commands/SignalWorkflowExecutionCommand.js.map +0 -1
  257. package/dist-es/commands/StartWorkflowExecutionCommand.js.map +0 -1
  258. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  259. package/dist-es/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
  260. package/dist-es/commands/UndeprecateActivityTypeCommand.js.map +0 -1
  261. package/dist-es/commands/UndeprecateDomainCommand.js.map +0 -1
  262. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
  263. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  264. package/dist-es/endpoints.js.map +0 -1
  265. package/dist-es/index.js.map +0 -1
  266. package/dist-es/models/index.js.map +0 -1
  267. package/dist-es/models/models_0.js.map +0 -1
  268. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
  269. package/dist-es/pagination/Interfaces.js.map +0 -1
  270. package/dist-es/pagination/ListActivityTypesPaginator.js.map +0 -1
  271. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
  272. package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
  273. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
  274. package/dist-es/pagination/ListWorkflowTypesPaginator.js.map +0 -1
  275. package/dist-es/pagination/PollForDecisionTaskPaginator.js.map +0 -1
  276. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  277. package/dist-es/runtimeConfig.browser.js.map +0 -1
  278. package/dist-es/runtimeConfig.js.map +0 -1
  279. package/dist-es/runtimeConfig.native.js.map +0 -1
  280. package/dist-es/runtimeConfig.shared.js.map +0 -1
  281. package/jest.config.js +0 -4
  282. package/src/SWF.ts +0 -2640
  283. package/src/SWFClient.ts +0 -446
  284. package/src/commands/CountClosedWorkflowExecutionsCommand.ts +0 -144
  285. package/src/commands/CountOpenWorkflowExecutionsCommand.ts +0 -144
  286. package/src/commands/CountPendingActivityTasksCommand.ts +0 -125
  287. package/src/commands/CountPendingDecisionTasksCommand.ts +0 -125
  288. package/src/commands/DeprecateActivityTypeCommand.ts +0 -137
  289. package/src/commands/DeprecateDomainCommand.ts +0 -126
  290. package/src/commands/DeprecateWorkflowTypeCommand.ts +0 -138
  291. package/src/commands/DescribeActivityTypeCommand.ts +0 -133
  292. package/src/commands/DescribeDomainCommand.ts +0 -119
  293. package/src/commands/DescribeWorkflowExecutionCommand.ts +0 -126
  294. package/src/commands/DescribeWorkflowTypeCommand.ts +0 -133
  295. package/src/commands/GetWorkflowExecutionHistoryCommand.ts +0 -127
  296. package/src/commands/ListActivityTypesCommand.ts +0 -122
  297. package/src/commands/ListClosedWorkflowExecutionsCommand.ts +0 -145
  298. package/src/commands/ListDomainsCommand.ts +0 -126
  299. package/src/commands/ListOpenWorkflowExecutionsCommand.ts +0 -145
  300. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  301. package/src/commands/ListWorkflowTypesCommand.ts +0 -119
  302. package/src/commands/PollForActivityTaskCommand.ts +0 -130
  303. package/src/commands/PollForDecisionTaskCommand.ts +0 -142
  304. package/src/commands/RecordActivityTaskHeartbeatCommand.ts +0 -145
  305. package/src/commands/RegisterActivityTypeCommand.ts +0 -141
  306. package/src/commands/RegisterDomainCommand.ts +0 -118
  307. package/src/commands/RegisterWorkflowTypeCommand.ts +0 -142
  308. package/src/commands/RequestCancelWorkflowExecutionCommand.ts +0 -139
  309. package/src/commands/RespondActivityTaskCanceledCommand.ts +0 -139
  310. package/src/commands/RespondActivityTaskCompletedCommand.ts +0 -137
  311. package/src/commands/RespondActivityTaskFailedCommand.ts +0 -130
  312. package/src/commands/RespondDecisionTaskCompletedCommand.ts +0 -117
  313. package/src/commands/SignalWorkflowExecutionCommand.ts +0 -133
  314. package/src/commands/StartWorkflowExecutionCommand.ts +0 -160
  315. package/src/commands/TagResourceCommand.ts +0 -98
  316. package/src/commands/TerminateWorkflowExecutionCommand.ts +0 -141
  317. package/src/commands/UndeprecateActivityTypeCommand.ts +0 -136
  318. package/src/commands/UndeprecateDomainCommand.ts +0 -123
  319. package/src/commands/UndeprecateWorkflowTypeCommand.ts +0 -136
  320. package/src/commands/UntagResourceCommand.ts +0 -95
  321. package/src/endpoints.ts +0 -86
  322. package/src/index.ts +0 -48
  323. package/src/models/index.ts +0 -1
  324. package/src/models/models_0.ts +0 -7233
  325. package/src/pagination/GetWorkflowExecutionHistoryPaginator.ts +0 -59
  326. package/src/pagination/Interfaces.ts +0 -8
  327. package/src/pagination/ListActivityTypesPaginator.ts +0 -59
  328. package/src/pagination/ListClosedWorkflowExecutionsPaginator.ts +0 -59
  329. package/src/pagination/ListDomainsPaginator.ts +0 -55
  330. package/src/pagination/ListOpenWorkflowExecutionsPaginator.ts +0 -59
  331. package/src/pagination/ListWorkflowTypesPaginator.ts +0 -59
  332. package/src/pagination/PollForDecisionTaskPaginator.ts +0 -59
  333. package/src/protocols/Aws_json1_0.ts +0 -5978
  334. package/src/runtimeConfig.browser.ts +0 -41
  335. package/src/runtimeConfig.native.ts +0 -17
  336. package/src/runtimeConfig.shared.ts +0 -17
  337. package/src/runtimeConfig.ts +0 -46
  338. package/tsconfig.es.json +0 -10
  339. package/tsconfig.json +0 -33
  340. package/tsconfig.types.json +0 -9
@@ -6,53 +6,11 @@ export interface ListWorkflowTypesCommandInput extends ListWorkflowTypesInput {
6
6
  }
7
7
  export interface ListWorkflowTypesCommandOutput extends WorkflowTypeInfos, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns information about workflow types in the specified domain. The results may be
11
- * split into multiple pages that can be retrieved by making the call repeatedly.</p>
12
- * <p>
13
- * <b>Access Control</b>
14
- * </p>
15
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
16
- * follows:</p>
17
- * <ul>
18
- * <li>
19
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
20
- * only specified domains.</p>
21
- * </li>
22
- * <li>
23
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
24
- * action.</p>
25
- * </li>
26
- * <li>
27
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
28
- * </li>
29
- * </ul>
30
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
31
- * parameter values fall outside the specified constraints, the action fails. The associated
32
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
33
- * 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
34
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { SWFClient, ListWorkflowTypesCommand } from "@aws-sdk/client-swf"; // ES Modules import
39
- * // const { SWFClient, ListWorkflowTypesCommand } = require("@aws-sdk/client-swf"); // CommonJS import
40
- * const client = new SWFClient(config);
41
- * const command = new ListWorkflowTypesCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link ListWorkflowTypesCommandInput} for command's `input` shape.
46
- * @see {@link ListWorkflowTypesCommandOutput} for command's `response` shape.
47
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
9
+
50
10
  export declare class ListWorkflowTypesCommand extends $Command<ListWorkflowTypesCommandInput, ListWorkflowTypesCommandOutput, SWFClientResolvedConfig> {
51
11
  readonly input: ListWorkflowTypesCommandInput;
52
12
  constructor(input: ListWorkflowTypesCommandInput);
53
- /**
54
- * @internal
55
- */
13
+
56
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowTypesCommandInput, ListWorkflowTypesCommandOutput>;
57
15
  private serialize;
58
16
  private deserialize;
@@ -6,64 +6,11 @@ export interface PollForActivityTaskCommandInput extends PollForActivityTaskInpu
6
6
  }
7
7
  export interface PollForActivityTaskCommandOutput extends ActivityTask, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Used by workers to get an <a>ActivityTask</a> from the specified activity
11
- * <code>taskList</code>. This initiates a long poll, where the service holds the HTTP
12
- * connection open and responds as soon as a task becomes available. The maximum time the service
13
- * holds on to the request before responding is 60 seconds. If no task is available within 60
14
- * seconds, the poll returns an empty result. An empty result, in this context, means that an
15
- * ActivityTask is returned, but that the value of taskToken is an empty string. If a task is
16
- * returned, the worker should use its type to identify and process it correctly.</p>
17
- * <important>
18
- * <p>Workers should set their client side socket timeout to at least 70 seconds (10
19
- * seconds higher than the maximum time service may hold the poll request).</p>
20
- * </important>
21
- * <p>
22
- * <b>Access Control</b>
23
- * </p>
24
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
25
- * follows:</p>
26
- * <ul>
27
- * <li>
28
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
29
- * only specified domains.</p>
30
- * </li>
31
- * <li>
32
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
33
- * action.</p>
34
- * </li>
35
- * <li>
36
- * <p>Constrain the <code>taskList.name</code> parameter by using a
37
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
38
- * action to access only certain task lists.</p>
39
- * </li>
40
- * </ul>
41
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
42
- * parameter values fall outside the specified constraints, the action fails. The associated
43
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
44
- * 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
45
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { SWFClient, PollForActivityTaskCommand } from "@aws-sdk/client-swf"; // ES Modules import
50
- * // const { SWFClient, PollForActivityTaskCommand } = require("@aws-sdk/client-swf"); // CommonJS import
51
- * const client = new SWFClient(config);
52
- * const command = new PollForActivityTaskCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link PollForActivityTaskCommandInput} for command's `input` shape.
57
- * @see {@link PollForActivityTaskCommandOutput} for command's `response` shape.
58
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
9
+
61
10
  export declare class PollForActivityTaskCommand extends $Command<PollForActivityTaskCommandInput, PollForActivityTaskCommandOutput, SWFClientResolvedConfig> {
62
11
  readonly input: PollForActivityTaskCommandInput;
63
12
  constructor(input: PollForActivityTaskCommandInput);
64
- /**
65
- * @internal
66
- */
13
+
67
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PollForActivityTaskCommandInput, PollForActivityTaskCommandOutput>;
68
15
  private serialize;
69
16
  private deserialize;
@@ -6,76 +6,11 @@ export interface PollForDecisionTaskCommandInput extends PollForDecisionTaskInpu
6
6
  }
7
7
  export interface PollForDecisionTaskCommandOutput extends DecisionTask, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Used by deciders to get a <a>DecisionTask</a> from the specified decision
11
- * <code>taskList</code>. A decision task may be returned for any open workflow execution that
12
- * is using the specified task list. The task includes a paginated view of the history of the
13
- * workflow execution. The decider should use the workflow type and the history to determine how
14
- * to properly handle the task.</p>
15
- * <p>This action initiates a long poll, where the service holds the HTTP connection open and
16
- * responds as soon a task becomes available. If no decision task is available in the specified
17
- * task list before the timeout of 60 seconds expires, an empty result is returned. An empty
18
- * result, in this context, means that a DecisionTask is returned, but that the value of
19
- * taskToken is an empty string.</p>
20
- * <important>
21
- * <p>Deciders should set their client side socket timeout to at least 70 seconds (10
22
- * seconds higher than the timeout).</p>
23
- * </important>
24
- * <important>
25
- * <p>Because the number of workflow history events for a single workflow execution might
26
- * be very large, the result returned might be split up across a number of pages. To retrieve
27
- * subsequent pages, make additional calls to <code>PollForDecisionTask</code> using the
28
- * <code>nextPageToken</code> returned by the initial call. Note that you do
29
- * <i>not</i> call <code>GetWorkflowExecutionHistory</code> with this
30
- * <code>nextPageToken</code>. Instead, call <code>PollForDecisionTask</code>
31
- * again.</p>
32
- * </important>
33
- * <p>
34
- * <b>Access Control</b>
35
- * </p>
36
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
37
- * follows:</p>
38
- * <ul>
39
- * <li>
40
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
41
- * only specified domains.</p>
42
- * </li>
43
- * <li>
44
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
45
- * action.</p>
46
- * </li>
47
- * <li>
48
- * <p>Constrain the <code>taskList.name</code> parameter by using a
49
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
50
- * action to access only certain task lists.</p>
51
- * </li>
52
- * </ul>
53
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
54
- * parameter values fall outside the specified constraints, the action fails. The associated
55
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
56
- * 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
57
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { SWFClient, PollForDecisionTaskCommand } from "@aws-sdk/client-swf"; // ES Modules import
62
- * // const { SWFClient, PollForDecisionTaskCommand } = require("@aws-sdk/client-swf"); // CommonJS import
63
- * const client = new SWFClient(config);
64
- * const command = new PollForDecisionTaskCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link PollForDecisionTaskCommandInput} for command's `input` shape.
69
- * @see {@link PollForDecisionTaskCommandOutput} for command's `response` shape.
70
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
9
+
73
10
  export declare class PollForDecisionTaskCommand extends $Command<PollForDecisionTaskCommandInput, PollForDecisionTaskCommandOutput, SWFClientResolvedConfig> {
74
11
  readonly input: PollForDecisionTaskCommandInput;
75
12
  constructor(input: PollForDecisionTaskCommandInput);
76
- /**
77
- * @internal
78
- */
13
+
79
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PollForDecisionTaskCommandInput, PollForDecisionTaskCommandOutput>;
80
15
  private serialize;
81
16
  private deserialize;
@@ -6,76 +6,11 @@ export interface RecordActivityTaskHeartbeatCommandInput extends RecordActivityT
6
6
  }
7
7
  export interface RecordActivityTaskHeartbeatCommandOutput extends ActivityTaskStatus, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Used by activity workers to report to the service that the <a>ActivityTask</a> represented by the specified <code>taskToken</code> is still making progress. The worker
11
- * can also specify details of the progress, for example percent complete, using the
12
- * <code>details</code> parameter. This action can also be used by the worker as a mechanism to
13
- * check if cancellation is being requested for the activity task. If a cancellation is being
14
- * attempted for the specified task, then the boolean <code>cancelRequested</code> flag returned
15
- * by the service is set to <code>true</code>.</p>
16
- * <p>This action resets the <code>taskHeartbeatTimeout</code> clock. The
17
- * <code>taskHeartbeatTimeout</code> is specified in <a>RegisterActivityType</a>.</p>
18
- * <p>This action doesn't in itself create an event in the workflow execution history.
19
- * However, if the task times out, the workflow execution history contains a
20
- * <code>ActivityTaskTimedOut</code> event that contains the information from the last
21
- * heartbeat generated by the activity worker.</p>
22
- * <note>
23
- * <p>The <code>taskStartToCloseTimeout</code> of an activity type is the maximum duration
24
- * of an activity task, regardless of the number of <a>RecordActivityTaskHeartbeat</a> requests received. The <code>taskStartToCloseTimeout</code> is also specified in <a>RegisterActivityType</a>.</p>
25
- * </note>
26
- * <note>
27
- * <p>This operation is only useful for long-lived activities to report liveliness of the
28
- * task and to determine if a cancellation is being attempted.</p>
29
- * </note>
30
- * <important>
31
- * <p>If the <code>cancelRequested</code> flag returns <code>true</code>, a cancellation is
32
- * being attempted. If the worker can cancel the activity, it should respond with <a>RespondActivityTaskCanceled</a>. Otherwise, it should ignore the cancellation
33
- * request.</p>
34
- * </important>
35
- * <p>
36
- * <b>Access Control</b>
37
- * </p>
38
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
39
- * follows:</p>
40
- * <ul>
41
- * <li>
42
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
43
- * only specified domains.</p>
44
- * </li>
45
- * <li>
46
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
47
- * action.</p>
48
- * </li>
49
- * <li>
50
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
51
- * </li>
52
- * </ul>
53
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
54
- * parameter values fall outside the specified constraints, the action fails. The associated
55
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
56
- * 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
57
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { SWFClient, RecordActivityTaskHeartbeatCommand } from "@aws-sdk/client-swf"; // ES Modules import
62
- * // const { SWFClient, RecordActivityTaskHeartbeatCommand } = require("@aws-sdk/client-swf"); // CommonJS import
63
- * const client = new SWFClient(config);
64
- * const command = new RecordActivityTaskHeartbeatCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link RecordActivityTaskHeartbeatCommandInput} for command's `input` shape.
69
- * @see {@link RecordActivityTaskHeartbeatCommandOutput} for command's `response` shape.
70
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
9
+
73
10
  export declare class RecordActivityTaskHeartbeatCommand extends $Command<RecordActivityTaskHeartbeatCommandInput, RecordActivityTaskHeartbeatCommandOutput, SWFClientResolvedConfig> {
74
11
  readonly input: RecordActivityTaskHeartbeatCommandInput;
75
12
  constructor(input: RecordActivityTaskHeartbeatCommandInput);
76
- /**
77
- * @internal
78
- */
13
+
79
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RecordActivityTaskHeartbeatCommandInput, RecordActivityTaskHeartbeatCommandOutput>;
80
15
  private serialize;
81
16
  private deserialize;
@@ -6,75 +6,11 @@ export interface RegisterActivityTypeCommandInput extends RegisterActivityTypeIn
6
6
  }
7
7
  export interface RegisterActivityTypeCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Registers a new <i>activity type</i> along with its configuration
11
- * settings in the specified domain.</p>
12
- * <important>
13
- * <p>A <code>TypeAlreadyExists</code> fault is returned if the type already exists in the
14
- * domain. You cannot change any configuration settings of the type after its registration, and
15
- * it 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, RegisterActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
61
- * // const { SWFClient, RegisterActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
62
- * const client = new SWFClient(config);
63
- * const command = new RegisterActivityTypeCommand(input);
64
- * const response = await client.send(command);
65
- * ```
66
- *
67
- * @see {@link RegisterActivityTypeCommandInput} for command's `input` shape.
68
- * @see {@link RegisterActivityTypeCommandOutput} for command's `response` shape.
69
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
70
- *
71
- */
9
+
72
10
  export declare class RegisterActivityTypeCommand extends $Command<RegisterActivityTypeCommandInput, RegisterActivityTypeCommandOutput, SWFClientResolvedConfig> {
73
11
  readonly input: RegisterActivityTypeCommandInput;
74
12
  constructor(input: RegisterActivityTypeCommandInput);
75
- /**
76
- * @internal
77
- */
13
+
78
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterActivityTypeCommandInput, RegisterActivityTypeCommandOutput>;
79
15
  private serialize;
80
16
  private deserialize;
@@ -6,52 +6,11 @@ export interface RegisterDomainCommandInput extends RegisterDomainInput {
6
6
  }
7
7
  export interface RegisterDomainCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Registers a new domain.</p>
11
- * <p>
12
- * <b>Access Control</b>
13
- * </p>
14
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
15
- * follows:</p>
16
- * <ul>
17
- * <li>
18
- * <p>You cannot use an IAM policy to control domain access for this action. The name of
19
- * the domain being registered is available as the resource of this action.</p>
20
- * </li>
21
- * <li>
22
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
23
- * action.</p>
24
- * </li>
25
- * <li>
26
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
27
- * </li>
28
- * </ul>
29
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
30
- * parameter values fall outside the specified constraints, the action fails. The associated
31
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
32
- * 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
33
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { SWFClient, RegisterDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
38
- * // const { SWFClient, RegisterDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
39
- * const client = new SWFClient(config);
40
- * const command = new RegisterDomainCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link RegisterDomainCommandInput} for command's `input` shape.
45
- * @see {@link RegisterDomainCommandOutput} for command's `response` shape.
46
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
9
+
49
10
  export declare class RegisterDomainCommand extends $Command<RegisterDomainCommandInput, RegisterDomainCommandOutput, SWFClientResolvedConfig> {
50
11
  readonly input: RegisterDomainCommandInput;
51
12
  constructor(input: RegisterDomainCommandInput);
52
- /**
53
- * @internal
54
- */
13
+
55
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterDomainCommandInput, RegisterDomainCommandOutput>;
56
15
  private serialize;
57
16
  private deserialize;
@@ -6,76 +6,11 @@ export interface RegisterWorkflowTypeCommandInput extends RegisterWorkflowTypeIn
6
6
  }
7
7
  export interface RegisterWorkflowTypeCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Registers a new <i>workflow type</i> and its configuration settings in
11
- * the specified domain.</p>
12
- * <p>The retention period for the workflow history is set by the <a>RegisterDomain</a> action.</p>
13
- * <important>
14
- * <p>If the type already exists, then a <code>TypeAlreadyExists</code> fault is returned.
15
- * You cannot change the configuration settings of a workflow type once it is registered and it
16
- * must be registered as a new version.</p>
17
- * </important>
18
- * <p>
19
- * <b>Access Control</b>
20
- * </p>
21
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
22
- * follows:</p>
23
- * <ul>
24
- * <li>
25
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
26
- * only specified domains.</p>
27
- * </li>
28
- * <li>
29
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
30
- * action.</p>
31
- * </li>
32
- * <li>
33
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
34
- * the appropriate keys.</p>
35
- * <ul>
36
- * <li>
37
- * <p>
38
- * <code>defaultTaskList.name</code>: String constraint. The key is
39
- * <code>swf:defaultTaskList.name</code>.</p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>
44
- * </li>
45
- * <li>
46
- * <p>
47
- * <code>version</code>: String constraint. The key is
48
- * <code>swf:version</code>.</p>
49
- * </li>
50
- * </ul>
51
- * </li>
52
- * </ul>
53
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
54
- * parameter values fall outside the specified constraints, the action fails. The associated
55
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
56
- * 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
57
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { SWFClient, RegisterWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
62
- * // const { SWFClient, RegisterWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
63
- * const client = new SWFClient(config);
64
- * const command = new RegisterWorkflowTypeCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link RegisterWorkflowTypeCommandInput} for command's `input` shape.
69
- * @see {@link RegisterWorkflowTypeCommandOutput} for command's `response` shape.
70
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
9
+
73
10
  export declare class RegisterWorkflowTypeCommand extends $Command<RegisterWorkflowTypeCommandInput, RegisterWorkflowTypeCommandOutput, SWFClientResolvedConfig> {
74
11
  readonly input: RegisterWorkflowTypeCommandInput;
75
12
  constructor(input: RegisterWorkflowTypeCommandInput);
76
- /**
77
- * @internal
78
- */
13
+
79
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterWorkflowTypeCommandInput, RegisterWorkflowTypeCommandOutput>;
80
15
  private serialize;
81
16
  private deserialize;
@@ -6,67 +6,11 @@ export interface RequestCancelWorkflowExecutionCommandInput extends RequestCance
6
6
  }
7
7
  export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Records a <code>WorkflowExecutionCancelRequested</code> event in the currently running
11
- * workflow execution identified by the given domain, workflowId, and runId. This logically
12
- * requests the cancellation of the workflow execution as a whole. It is up to the decider to
13
- * take appropriate actions when it receives an execution history with this event.</p>
14
- *
15
- * <note>
16
- * <p>If the runId isn't specified, the <code>WorkflowExecutionCancelRequested</code> event
17
- * is recorded in the history of the current open workflow execution with the specified
18
- * workflowId in the domain.</p>
19
- * </note>
20
- *
21
- * <note>
22
- * <p>Because this action allows the workflow to properly clean up and gracefully close, it
23
- * should be used instead of <a>TerminateWorkflowExecution</a> when
24
- * possible.</p>
25
- * </note>
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, RequestCancelWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
53
- * // const { SWFClient, RequestCancelWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
54
- * const client = new SWFClient(config);
55
- * const command = new RequestCancelWorkflowExecutionCommand(input);
56
- * const response = await client.send(command);
57
- * ```
58
- *
59
- * @see {@link RequestCancelWorkflowExecutionCommandInput} for command's `input` shape.
60
- * @see {@link RequestCancelWorkflowExecutionCommandOutput} for command's `response` shape.
61
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
62
- *
63
- */
9
+
64
10
  export declare class RequestCancelWorkflowExecutionCommand extends $Command<RequestCancelWorkflowExecutionCommandInput, RequestCancelWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
65
11
  readonly input: RequestCancelWorkflowExecutionCommandInput;
66
12
  constructor(input: RequestCancelWorkflowExecutionCommandInput);
67
- /**
68
- * @internal
69
- */
13
+
70
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RequestCancelWorkflowExecutionCommandInput, RequestCancelWorkflowExecutionCommandOutput>;
71
15
  private serialize;
72
16
  private deserialize;
@@ -6,70 +6,11 @@ export interface RespondActivityTaskCanceledCommandInput extends RespondActivity
6
6
  }
7
7
  export interface RespondActivityTaskCanceledCommandOutput 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> was successfully canceled. Additional <code>details</code> can
12
- * be provided using the <code>details</code> argument.</p>
13
- *
14
- * <p>These <code>details</code> (if provided) appear in the
15
- * <code>ActivityTaskCanceled</code> event added to the workflow history.</p>
16
- *
17
- * <important>
18
- * <p>Only use this operation if the <code>canceled</code> flag of a <a>RecordActivityTaskHeartbeat</a> request returns <code>true</code> and if the
19
- * activity can be safely undone or abandoned.</p>
20
- * </important>
21
- *
22
- * <p>A task is considered open from the time that it is scheduled until it is closed.
23
- * Therefore a task is reported as open while a worker is processing it. A task is closed after
24
- * it has been specified in a call to <a>RespondActivityTaskCompleted</a>,
25
- * RespondActivityTaskCanceled, <a>RespondActivityTaskFailed</a>, or the task has
26
- * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
27
- * out</a>.</p>
28
- *
29
- * <p>
30
- * <b>Access Control</b>
31
- * </p>
32
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
33
- * follows:</p>
34
- * <ul>
35
- * <li>
36
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
37
- * only specified domains.</p>
38
- * </li>
39
- * <li>
40
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
41
- * action.</p>
42
- * </li>
43
- * <li>
44
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
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, RespondActivityTaskCanceledCommand } from "@aws-sdk/client-swf"; // ES Modules import
56
- * // const { SWFClient, RespondActivityTaskCanceledCommand } = require("@aws-sdk/client-swf"); // CommonJS import
57
- * const client = new SWFClient(config);
58
- * const command = new RespondActivityTaskCanceledCommand(input);
59
- * const response = await client.send(command);
60
- * ```
61
- *
62
- * @see {@link RespondActivityTaskCanceledCommandInput} for command's `input` shape.
63
- * @see {@link RespondActivityTaskCanceledCommandOutput} for command's `response` shape.
64
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
65
- *
66
- */
9
+
67
10
  export declare class RespondActivityTaskCanceledCommand extends $Command<RespondActivityTaskCanceledCommandInput, RespondActivityTaskCanceledCommandOutput, SWFClientResolvedConfig> {
68
11
  readonly input: RespondActivityTaskCanceledCommandInput;
69
12
  constructor(input: RespondActivityTaskCanceledCommandInput);
70
- /**
71
- * @internal
72
- */
13
+
73
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RespondActivityTaskCanceledCommandInput, RespondActivityTaskCanceledCommandOutput>;
74
15
  private serialize;
75
16
  private deserialize;