Amazon Detective · Capability

Amazon Detective — Invitations

Amazon Detective — Invitations. 4 operations. Lead operation: Amazon Detective Accept Invitation. Self-contained Naftiko capability covering one Amazon Detective business surface.

Run with Naftiko Amazon DetectiveInvitations

What You Can Do

PUT
Acceptinvitation — Amazon Detective Accept Invitation
/v1/invitation
PUT
Rejectinvitation — Amazon Detective Reject Invitation
/v1/invitation/removal
POST
Listinvitations — Amazon Detective List Invitations
/v1/invitations/list
POST
Disassociatemembership — Amazon Detective Disassociate Membership
/v1/membership/removal

MCP Tools

amazon-detective-accept-invitation

Amazon Detective Accept Invitation

idempotent
amazon-detective-reject-invitation

Amazon Detective Reject Invitation

idempotent
amazon-detective-list-invitations

Amazon Detective List Invitations

read-only
amazon-detective-disassociate-membership

Amazon Detective Disassociate Membership

Capability Spec

amazon-detective-invitations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Detective — Invitations
  description: 'Amazon Detective — Invitations. 4 operations. Lead operation: Amazon Detective Accept Invitation. Self-contained
    Naftiko capability covering one Amazon Detective business surface.'
  tags:
  - Amazon Detective
  - Invitations
  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-invitations
    baseUri: https://api.detective.{region}.amazonaws.com
    description: Amazon Detective — Invitations business capability. Self-contained, no shared references.
    resources:
    - name: invitation
      path: /invitation
      operations:
      - name: acceptinvitation
        method: PUT
        description: Amazon Detective Accept Invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: invitation-removal
      path: /invitation/removal
      operations:
      - name: rejectinvitation
        method: PUT
        description: Amazon Detective Reject Invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: invitations-list
      path: /invitations/list
      operations:
      - name: listinvitations
        method: POST
        description: Amazon Detective List Invitations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: membership-removal
      path: /membership/removal
      operations:
      - name: disassociatemembership
        method: POST
        description: Amazon Detective Disassociate Membership
        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-invitations-rest
    port: 8080
    description: REST adapter for Amazon Detective — Invitations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/invitation
      name: invitation
      description: REST surface for invitation.
      operations:
      - method: PUT
        name: acceptinvitation
        description: Amazon Detective Accept Invitation
        call: amazon-detective-invitations.acceptinvitation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/invitation/removal
      name: invitation-removal
      description: REST surface for invitation-removal.
      operations:
      - method: PUT
        name: rejectinvitation
        description: Amazon Detective Reject Invitation
        call: amazon-detective-invitations.rejectinvitation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/invitations/list
      name: invitations-list
      description: REST surface for invitations-list.
      operations:
      - method: POST
        name: listinvitations
        description: Amazon Detective List Invitations
        call: amazon-detective-invitations.listinvitations
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/membership/removal
      name: membership-removal
      description: REST surface for membership-removal.
      operations:
      - method: POST
        name: disassociatemembership
        description: Amazon Detective Disassociate Membership
        call: amazon-detective-invitations.disassociatemembership
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-detective-invitations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Detective — Invitations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-detective-accept-invitation
      description: Amazon Detective Accept Invitation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-detective-invitations.acceptinvitation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-reject-invitation
      description: Amazon Detective Reject Invitation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-detective-invitations.rejectinvitation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-list-invitations
      description: Amazon Detective List Invitations
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-detective-invitations.listinvitations
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-detective-disassociate-membership
      description: Amazon Detective Disassociate Membership
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-detective-invitations.disassociatemembership
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.