{
  "info": {
    "_postman_id": "1e1ea7ce-93ef-4ced-9235-f9354baee07e",
    "name": "Amazon Redshift Data Metadata Result Retrieval API",
    "description": "The Amazon Redshift Data API enables you to run SQL statements on Amazon Redshift clusters and Amazon Redshift Serverless workgroups without managing database connections or drivers. The Data API handles connection management, authentication via IAM or Secrets Manager, and supports asynchronous execution of SQL statements with result retrieval through a statement identifier. Ideal for building serverless applications, integrating with AWS Lambda, and running ad-hoc queries programmatically.\n\nContact Support:\n Name: Amazon Web Services",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T00:52:10.000Z",
    "updatedAt": "2026-07-28T00:52:10.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-1e1ea7ce-93ef-4ced-9235-f9354baee07e"
  },
  "item": [
    {
      "name": "GetStatementResult",
      "item": [
        {
          "name": "Amazon Redshift Get the Results of a Sql Statement",
          "id": "a35d339e-788f-4146-ac51-d7782254ffb6",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Id\": \"<uuid>\",\n  \"NextToken\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/GetStatementResult",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "GetStatementResult"
              ]
            },
            "description": "Fetches the result of a SQL statement that was submitted with ExecuteStatement or BatchExecuteStatement. The statement must have completed successfully (status FINISHED). Results are paginated and the maximum result size is 100 MB. Use the NextToken parameter to retrieve subsequent pages."
          },
          "response": [
            {
              "id": "9385b660-8fbc-4131-a4dc-cde0d71df099",
              "name": "Statement results retrieved successfully",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "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  \"Id\": \"<uuid>\",\n  \"NextToken\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/GetStatementResult",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "GetStatementResult"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"Records\": [\n    [\n      {\n        \"blobValue\": \"<string>\",\n        \"booleanValue\": \"<boolean>\",\n        \"doubleValue\": \"<double>\",\n        \"isNull\": \"<boolean>\",\n        \"longValue\": \"<long>\",\n        \"stringValue\": \"<string>\"\n      },\n      {\n        \"blobValue\": \"<string>\",\n        \"booleanValue\": \"<boolean>\",\n        \"doubleValue\": \"<double>\",\n        \"isNull\": \"<boolean>\",\n        \"longValue\": \"<long>\",\n        \"stringValue\": \"<string>\"\n      }\n    ],\n    [\n      {\n        \"blobValue\": \"<string>\",\n        \"booleanValue\": \"<boolean>\",\n        \"doubleValue\": \"<double>\",\n        \"isNull\": \"<boolean>\",\n        \"longValue\": \"<long>\",\n        \"stringValue\": \"<string>\"\n      },\n      {\n        \"blobValue\": \"<string>\",\n        \"booleanValue\": \"<boolean>\",\n        \"doubleValue\": \"<double>\",\n        \"isNull\": \"<boolean>\",\n        \"longValue\": \"<long>\",\n        \"stringValue\": \"<string>\"\n      }\n    ]\n  ],\n  \"ColumnMetadata\": [\n    {\n      \"name\": \"<string>\",\n      \"label\": \"<string>\",\n      \"typeName\": \"<string>\",\n      \"columnDefault\": \"<string>\",\n      \"isCaseSensitive\": \"<boolean>\",\n      \"isCurrency\": \"<boolean>\",\n      \"isSigned\": \"<boolean>\",\n      \"nullable\": 2,\n      \"precision\": \"<integer>\",\n      \"scale\": \"<integer>\",\n      \"length\": \"<integer>\",\n      \"schemaName\": \"<string>\",\n      \"tableName\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"label\": \"<string>\",\n      \"typeName\": \"<string>\",\n      \"columnDefault\": \"<string>\",\n      \"isCaseSensitive\": \"<boolean>\",\n      \"isCurrency\": \"<boolean>\",\n      \"isSigned\": \"<boolean>\",\n      \"nullable\": 0,\n      \"precision\": \"<integer>\",\n      \"scale\": \"<integer>\",\n      \"length\": \"<integer>\",\n      \"schemaName\": \"<string>\",\n      \"tableName\": \"<string>\"\n    }\n  ],\n  \"TotalNumRows\": \"<long>\",\n  \"NextToken\": \"<string>\"\n}",
              "createdAt": "2026-07-28T00:52:11.000Z",
              "updatedAt": "2026-07-28T00:52:11.000Z",
              "uid": "35240-9385b660-8fbc-4131-a4dc-cde0d71df099"
            },
            {
              "id": "36d8a277-47a9-4532-abce-ea24580dc87c",
              "name": "Invalid request - validation error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "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  \"Id\": \"<uuid>\",\n  \"NextToken\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/GetStatementResult",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "GetStatementResult"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"Message\": \"<string>\"\n}",
              "createdAt": "2026-07-28T00:52:11.000Z",
              "updatedAt": "2026-07-28T00:52:11.000Z",
              "uid": "35240-36d8a277-47a9-4532-abce-ea24580dc87c"
            },
            {
              "id": "04ad7b64-13df-48e0-9640-937f632002cb",
              "name": "Statement not found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "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  \"Id\": \"<uuid>\",\n  \"NextToken\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/GetStatementResult",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "GetStatementResult"
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"Message\": \"<string>\",\n  \"ResourceId\": \"<string>\"\n}",
              "createdAt": "2026-07-28T00:52:11.000Z",
              "updatedAt": "2026-07-28T00:52:11.000Z",
              "uid": "35240-04ad7b64-13df-48e0-9640-937f632002cb"
            },
            {
              "id": "affd6296-2a7e-40a9-b24f-5ce5a49e9575",
              "name": "Internal server error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "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  \"Id\": \"<uuid>\",\n  \"NextToken\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/GetStatementResult",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "GetStatementResult"
                  ]
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"Message\": \"<string>\"\n}",
              "createdAt": "2026-07-28T00:52:11.000Z",
              "updatedAt": "2026-07-28T00:52:11.000Z",
              "uid": "35240-affd6296-2a7e-40a9-b24f-5ce5a49e9575"
            }
          ],
          "createdAt": "2026-07-28T00:52:11.000Z",
          "updatedAt": "2026-07-28T00:52:11.000Z",
          "uid": "35240-a35d339e-788f-4146-ac51-d7782254ffb6"
        }
      ],
      "id": "21a0f3af-19d4-4846-8122-ddf096d8a9aa",
      "createdAt": "2026-07-28T00:52:11.000Z",
      "updatedAt": "2026-07-28T00:52:11.000Z",
      "uid": "35240-21a0f3af-19d4-4846-8122-ddf096d8a9aa"
    }
  ],
  "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": "https://redshift-data.{{region}}.amazonaws.com"
    }
  ]
}