{
  "info": {
    "_postman_id": "2345d834-3611-4d6e-8529-8f45e289f084",
    "name": "Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions API",
    "description": "<fullname>Amazon Simple Workflow Service</fullname> <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a <i>task</i> represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.</p> <p>Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.</p> <p>This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the <i> <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/\">Amazon SWF Developer Guide</a> </i>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:48:03.000Z",
    "updatedAt": "2026-07-28T10:48:03.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-2345d834-3611-4d6e-8529-8f45e289f084"
  },
  "item": [
    {
      "name": "#X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions",
      "item": [
        {
          "name": "Amazon SWF Count Closed Workflow Executions",
          "id": "a46e18ed-5439-43e4-bf09-362befa57180",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "SimpleWorkflowService.CountClosedWorkflowExecutions"
              },
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain\": \"<string>\",\n  \"startTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"closeTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"executionFilter\": {\n    \"workflowId\": \"<string>\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions"
            },
            "description": "<p>Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria.</p> <note> <p>This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.</p> </note> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the following parameters by using a <code>Condition</code> element with the appropriate keys.</p> <ul> <li> <p> <code>tagFilter.tag</code>: String constraint. The key is <code>swf:tagFilter.tag</code>.</p> </li> <li> <p> <code>typeFilter.name</code>: String constraint. The key is <code>swf:typeFilter.name</code>.</p> </li> <li> <p> <code>typeFilter.version</code>: String constraint. The key is <code>swf:typeFilter.version</code>.</p> </li> </ul> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. 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 Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
          },
          "response": [
            {
              "id": "f39a2146-3f21-4fe5-bad5-9f9e4426ed98",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.CountClosedWorkflowExecutions"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"domain\": \"<string>\",\n  \"startTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"closeTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"executionFilter\": {\n    \"workflowId\": \"<string>\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"count\": \"<integer>\",\n  \"truncated\": \"<boolean>\"\n}",
              "createdAt": "2026-07-28T10:48:04.000Z",
              "updatedAt": "2026-07-28T10:48:04.000Z",
              "uid": "35240-f39a2146-3f21-4fe5-bad5-9f9e4426ed98"
            },
            {
              "id": "2db22adf-c841-4122-821c-66fa5ccbe8be",
              "name": "UnknownResourceFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.CountClosedWorkflowExecutions"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"domain\": \"<string>\",\n  \"startTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"closeTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"executionFilter\": {\n    \"workflowId\": \"<string>\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:48:04.000Z",
              "updatedAt": "2026-07-28T10:48:04.000Z",
              "uid": "35240-2db22adf-c841-4122-821c-66fa5ccbe8be"
            },
            {
              "id": "5c2385e2-cc80-41b7-9fb5-0ba012668253",
              "name": "OperationNotPermittedFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.CountClosedWorkflowExecutions"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"domain\": \"<string>\",\n  \"startTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"closeTimeFilter\": {\n    \"oldestDate\": \"<dateTime>\",\n    \"latestDate\": \"<dateTime>\"\n  },\n  \"executionFilter\": {\n    \"workflowId\": \"<string>\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.CountClosedWorkflowExecutions"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:48:04.000Z",
              "updatedAt": "2026-07-28T10:48:04.000Z",
              "uid": "35240-5c2385e2-cc80-41b7-9fb5-0ba012668253"
            }
          ],
          "createdAt": "2026-07-28T10:48:04.000Z",
          "updatedAt": "2026-07-28T10:48:04.000Z",
          "uid": "35240-a46e18ed-5439-43e4-bf09-362befa57180"
        }
      ],
      "id": "e782b798-149b-43d4-9f1a-575ff14f9af4",
      "createdAt": "2026-07-28T10:48:04.000Z",
      "updatedAt": "2026-07-28T10:48:04.000Z",
      "uid": "35240-e782b798-149b-43d4-9f1a-575ff14f9af4"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://swf.{{region}}.amazonaws.com"
    }
  ]
}