{ "opencollection": "1.0.0", "info": { "name": "Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountPendingActivityTasks API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "#X Amz Target=SimpleWorkflowService.CountPendingActivityTasks", "type": "folder" }, "items": [ { "info": { "name": "Amazon SWF Count Pending Activity Tasks", "type": "http" }, "http": { "method": "POST", "url": "http://swf.{region}.amazonaws.com/#X-Amz-Target=SimpleWorkflowService.CountPendingActivityTasks", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" }, { "name": "X-Amz-Target", "value": "SimpleWorkflowService.CountPendingActivityTasks" } ], "body": { "type": "json", "data": "{}" } }, "docs": "

Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and isn't guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 is returned.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows: