Amazon Detective · Capability

Amazon Detective — Datasources

Amazon Detective — Datasources. 4 operations. Lead operation: Amazon Detective Batch Get Graph Member Datasources. Self-contained Naftiko capability covering one Amazon Detective business surface.

Run with Naftiko Amazon DetectiveDatasources

What You Can Do

POST
Batchgetgraphmemberdatasources — Amazon Detective Batch Get Graph Member Datasources
/v1/graph/datasources/get
POST
Listdatasourcepackages — Amazon Detective List Datasource Packages
/v1/graph/datasources/list
POST
Updatedatasourcepackages — Amazon Detective Update Datasource Packages
/v1/graph/datasources/update
POST
Batchgetmembershipdatasources — Amazon Detective Batch Get Membership Datasources
/v1/membership/datasources/get

MCP Tools

amazon-detective-batch-get-graph

Amazon Detective Batch Get Graph Member Datasources

read-only
amazon-detective-list-datasource-packages

Amazon Detective List Datasource Packages

read-only
amazon-detective-update-datasource-packages

Amazon Detective Update Datasource Packages

amazon-detective-batch-get-membership

Amazon Detective Batch Get Membership Datasources

read-only

Capability Spec

amazon-detective-datasources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Detective — Datasources
  description: 'Amazon Detective — Datasources. 4 operations. Lead operation: Amazon Detective Batch Get Graph Member Datasources.
    Self-contained Naftiko capability covering one Amazon Detective business surface.'
  tags:
  - Amazon Detective
  - Datasources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_DETECTIVE_API_KEY: AMAZON_DETECTIVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-detective-datasources
    baseUri: https://api.detective.{region}.amazonaws.com
    description: Amazon Detective — Datasources business capability. Self-contained, no shared references.
    resources:
    - name: graph-datasources-get
      path: /graph/datasources/get
      operations:
      - name: batchgetgraphmemberdatasources
        method: POST
        description: Amazon Detective Batch Get Graph Member Datasources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: graph-datasources-list
      path: /graph/datasources/list
      operations:
      - name: listdatasourcepackages
        method: POST
        description: Amazon Detective List Datasource Packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: graph-datasources-update
      path: /graph/datasources/update
      operations:
      - name: updatedatasourcepackages
        method: POST
        description: Amazon Detective Update Datasource Packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: membership-datasources-get
      path: /membership/datasources/get
      operations:
      - name: batchgetmembershipdatasources
        method: POST
        description: Amazon Detective Batch Get Membership Datasources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_DETECTIVE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-detective-datasources-rest
    port: 8080
    description: REST adapter for Amazon Detective — Datasources. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/graph/datasources/get
      name: graph-datasources-get
      description: REST surface for graph-datasources-get.
      operations:
      - method: POST
        name: batchgetgraphmemberdatasources
        description: Amazon Detective Batch Get Graph Member Datasources
        call: amazon-detective-datasources.batchgetgraphmemberdatasources
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/graph/datasources/list
      name: graph-datasources-list
      description: REST surface for graph-datasources-list.
      operations:
      - method: POST
        name: listdatasourcepackages
        description: Amazon Detective List Datasource Packages
        call: amazon-detective-datasources.listdatasourcepackages
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/graph/datasources/update
      name: graph-datasources-update
      description: REST surface for graph-datasources-update.
      operations:
      - method: POST
        name: updatedatasourcepackages
        description: Amazon Detective Update Datasource Packages
        call: amazon-detective-datasources.updatedatasourcepackages
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/membership/datasources/get
      name: membership-datasources-get
      description: REST surface for membership-datasources-get.
      operations:
      - method: POST
        name: batchgetmembershipdatasources
        description: Amazon Detective Batch Get Membership Datasources
        call: amazon-detective-datasources.batchgetmembershipdatasources
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-detective-datasources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Detective — Datasources. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-detective-batch-get-graph
      description: Amazon Detective Batch Get Graph Member Datasources
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-detective-datasources.batchgetgraphmemberdatasources
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-list-datasource-packages
      description: Amazon Detective List Datasource Packages
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-detective-datasources.listdatasourcepackages
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-update-datasource-packages
      description: Amazon Detective Update Datasource Packages
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-detective-datasources.updatedatasourcepackages
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-batch-get-membership
      description: Amazon Detective Batch Get Membership Datasources
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-detective-datasources.batchgetmembershipdatasources
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.