{
  "info": {
    "_postman_id": "8067528f-50ed-4245-a81c-85a86b37b12a",
    "name": "Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.ListClosedWorkflowExecutions 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:49:01.000Z",
    "updatedAt": "2026-07-28T10:49:01.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-8067528f-50ed-4245-a81c-85a86b37b12a"
  },
  "item": [
    {
      "name": "#X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions",
      "item": [
        {
          "name": "Amazon SWF List Closed Workflow Executions",
          "id": "99880d5b-b67e-47e8-8b47-10f83a6b6c3b",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "SimpleWorkflowService.ListClosedWorkflowExecutions"
              },
              {
                "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  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"nextPageToken\": \"<string>\",\n  \"maximumPageSize\": \"<integer>\",\n  \"reverseOrder\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/?maximumPageSize=<string>&nextPageToken=<string>#X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "Pagination limit",
                  "key": "maximumPageSize",
                  "value": "<string>"
                },
                {
                  "description": "Pagination token",
                  "key": "nextPageToken",
                  "value": "<string>"
                }
              ],
              "hash": "X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions"
            },
            "description": "<p>Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.</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": "8940257b-927c-4f12-ae38-78653d4c0d64",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.ListClosedWorkflowExecutions"
                  },
                  {
                    "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  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"nextPageToken\": \"<string>\",\n  \"maximumPageSize\": \"<integer>\",\n  \"reverseOrder\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?maximumPageSize=<string>&nextPageToken=<string>#X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "Pagination limit",
                      "key": "maximumPageSize",
                      "value": "<string>"
                    },
                    {
                      "description": "Pagination token",
                      "key": "nextPageToken",
                      "value": "<string>"
                    }
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"executionInfos\": [\n    {\n      \"execution\": {\n        \"workflowId\": \"<string>\",\n        \"runId\": \"<string>\"\n      },\n      \"workflowType\": {\n        \"name\": \"<string>\",\n        \"version\": \"<string>\"\n      },\n      \"startTimestamp\": \"<dateTime>\",\n      \"executionStatus\": \"OPEN\",\n      \"closeTimestamp\": \"<dateTime>\",\n      \"closeStatus\": \"FAILED\",\n      \"parent\": {\n        \"workflowId\": \"<string>\",\n        \"runId\": \"<string>\"\n      },\n      \"tagList\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"cancelRequested\": \"<boolean>\"\n    },\n    {\n      \"execution\": {\n        \"workflowId\": \"<string>\",\n        \"runId\": \"<string>\"\n      },\n      \"workflowType\": {\n        \"name\": \"<string>\",\n        \"version\": \"<string>\"\n      },\n      \"startTimestamp\": \"<dateTime>\",\n      \"executionStatus\": \"OPEN\",\n      \"closeTimestamp\": \"<dateTime>\",\n      \"closeStatus\": \"TERMINATED\",\n      \"parent\": {\n        \"workflowId\": \"<string>\",\n        \"runId\": \"<string>\"\n      },\n      \"tagList\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"cancelRequested\": \"<boolean>\"\n    }\n  ],\n  \"nextPageToken\": \"<string>\"\n}",
              "createdAt": "2026-07-28T10:49:02.000Z",
              "updatedAt": "2026-07-28T10:49:02.000Z",
              "uid": "35240-8940257b-927c-4f12-ae38-78653d4c0d64"
            },
            {
              "id": "5ed03b09-4f69-4b4e-bbc6-9a52cabbc766",
              "name": "UnknownResourceFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.ListClosedWorkflowExecutions"
                  },
                  {
                    "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  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"nextPageToken\": \"<string>\",\n  \"maximumPageSize\": \"<integer>\",\n  \"reverseOrder\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?maximumPageSize=<string>&nextPageToken=<string>#X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "Pagination limit",
                      "key": "maximumPageSize",
                      "value": "<string>"
                    },
                    {
                      "description": "Pagination token",
                      "key": "nextPageToken",
                      "value": "<string>"
                    }
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:49:02.000Z",
              "updatedAt": "2026-07-28T10:49:02.000Z",
              "uid": "35240-5ed03b09-4f69-4b4e-bbc6-9a52cabbc766"
            },
            {
              "id": "ccd1472e-ae20-4157-adf2-95c5c3531bd5",
              "name": "OperationNotPermittedFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "SimpleWorkflowService.ListClosedWorkflowExecutions"
                  },
                  {
                    "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  \"closeStatusFilter\": {\n    \"status\": \"TIMED_OUT\"\n  },\n  \"typeFilter\": {\n    \"name\": \"<string>\",\n    \"version\": \"<string>\"\n  },\n  \"tagFilter\": {\n    \"tag\": \"<string>\"\n  },\n  \"nextPageToken\": \"<string>\",\n  \"maximumPageSize\": \"<integer>\",\n  \"reverseOrder\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?maximumPageSize=<string>&nextPageToken=<string>#X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "Pagination limit",
                      "key": "maximumPageSize",
                      "value": "<string>"
                    },
                    {
                      "description": "Pagination token",
                      "key": "nextPageToken",
                      "value": "<string>"
                    }
                  ],
                  "hash": "X-Amz-Target=SimpleWorkflowService.ListClosedWorkflowExecutions"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:49:02.000Z",
              "updatedAt": "2026-07-28T10:49:02.000Z",
              "uid": "35240-ccd1472e-ae20-4157-adf2-95c5c3531bd5"
            }
          ],
          "createdAt": "2026-07-28T10:49:02.000Z",
          "updatedAt": "2026-07-28T10:49:02.000Z",
          "uid": "35240-99880d5b-b67e-47e8-8b47-10f83a6b6c3b"
        }
      ],
      "id": "b79cc3a4-9135-4a94-b0be-1cfa6912f976",
      "createdAt": "2026-07-28T10:49:02.000Z",
      "updatedAt": "2026-07-28T10:49:02.000Z",
      "uid": "35240-b79cc3a4-9135-4a94-b0be-1cfa6912f976"
    }
  ],
  "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"
    }
  ]
}