Amazon Redshift · Capability

Amazon Redshift Data API — Statement Management

Amazon Redshift Data API — Statement Management. 3 operations. Lead operation: Amazon Redshift Cancel a Running Sql Statement. Self-contained Naftiko capability covering one Amazon Redshift business surface.

Run with Naftiko Amazon RedshiftStatement Management

What You Can Do

POST
Cancelstatement — Amazon Redshift Cancel a Running Sql Statement
/v1/cancelstatement
POST
Describestatement — Amazon Redshift Describe a Sql Statement Execution
/v1/describestatement
POST
Liststatements — Amazon Redshift List Sql Statement Executions
/v1/liststatements

MCP Tools

amazon-redshift-cancel-running-sql

Amazon Redshift Cancel a Running Sql Statement

amazon-redshift-describe-sql-statement

Amazon Redshift Describe a Sql Statement Execution

amazon-redshift-list-sql-statement

Amazon Redshift List Sql Statement Executions

read-only

Capability Spec

data-statement-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Redshift Data API — Statement Management
  description: 'Amazon Redshift Data API — Statement Management. 3 operations. Lead operation: Amazon Redshift Cancel a Running
    Sql Statement. Self-contained Naftiko capability covering one Amazon Redshift business surface.'
  tags:
  - Amazon Redshift
  - Statement Management
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_REDSHIFT_API_KEY: AMAZON_REDSHIFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-statement-management
    baseUri: https://redshift-data.{region}.amazonaws.com
    description: Amazon Redshift Data API — Statement Management business capability. Self-contained, no shared references.
    resources:
    - name: CancelStatement
      path: /CancelStatement
      operations:
      - name: cancelstatement
        method: POST
        description: Amazon Redshift Cancel a Running Sql Statement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: DescribeStatement
      path: /DescribeStatement
      operations:
      - name: describestatement
        method: POST
        description: Amazon Redshift Describe a Sql Statement Execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ListStatements
      path: /ListStatements
      operations:
      - name: liststatements
        method: POST
        description: Amazon Redshift List Sql Statement Executions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_REDSHIFT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: data-statement-management-rest
    port: 8080
    description: REST adapter for Amazon Redshift Data API — Statement Management. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/cancelstatement
      name: cancelstatement
      description: REST surface for CancelStatement.
      operations:
      - method: POST
        name: cancelstatement
        description: Amazon Redshift Cancel a Running Sql Statement
        call: data-statement-management.cancelstatement
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/describestatement
      name: describestatement
      description: REST surface for DescribeStatement.
      operations:
      - method: POST
        name: describestatement
        description: Amazon Redshift Describe a Sql Statement Execution
        call: data-statement-management.describestatement
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/liststatements
      name: liststatements
      description: REST surface for ListStatements.
      operations:
      - method: POST
        name: liststatements
        description: Amazon Redshift List Sql Statement Executions
        call: data-statement-management.liststatements
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-statement-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Redshift Data API — Statement Management. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: amazon-redshift-cancel-running-sql
      description: Amazon Redshift Cancel a Running Sql Statement
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-statement-management.cancelstatement
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-redshift-describe-sql-statement
      description: Amazon Redshift Describe a Sql Statement Execution
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-statement-management.describestatement
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-redshift-list-sql-statement
      description: Amazon Redshift List Sql Statement Executions
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: data-statement-management.liststatements
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.