Amazon Supply Chain · Capability

AWS Supply Chain API — Tags

AWS Supply Chain API — Tags. 3 operations. Lead operation: Amazon List Tags for Resource. Self-contained Naftiko capability covering one Amazon Supply Chain business surface.

Run with Naftiko Amazon Supply ChainTags

What You Can Do

GET
Listtagsforresource — Amazon List Tags for Resource
/v1/api/instances/{instanceid}/tags
POST
Tagresource — Amazon Tag Resource
/v1/api/instances/{instanceid}/tags
DELETE
Untagresource — Amazon Untag Resource
/v1/api/instances/{instanceid}/tags

MCP Tools

amazon-list-tags-resource

Amazon List Tags for Resource

read-only idempotent
amazon-tag-resource

Amazon Tag Resource

amazon-untag-resource

Amazon Untag Resource

idempotent

Capability Spec

amazon-supply-chain-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AWS Supply Chain API — Tags
  description: 'AWS Supply Chain API — Tags. 3 operations. Lead operation: Amazon List Tags for Resource. Self-contained Naftiko
    capability covering one Amazon Supply Chain business surface.'
  tags:
  - Amazon Supply Chain
  - Tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_SUPPLY_CHAIN_API_KEY: AMAZON_SUPPLY_CHAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-supply-chain-tags
    baseUri: https://scn.amazonaws.com
    description: AWS Supply Chain API — Tags business capability. Self-contained, no shared references.
    resources:
    - name: api-instances-instanceId-tags
      path: /api/instances/{instanceId}/tags
      operations:
      - name: listtagsforresource
        method: GET
        description: Amazon List Tags for Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: path
          type: string
          required: true
      - name: tagresource
        method: POST
        description: Amazon Tag Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: untagresource
        method: DELETE
        description: Amazon Untag Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: instanceId
          in: path
          type: string
          required: true
        - name: tagKeys
          in: query
          type: array
          description: Tag keys to remove
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_SUPPLY_CHAIN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-supply-chain-tags-rest
    port: 8080
    description: REST adapter for AWS Supply Chain API — Tags. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/instances/{instanceid}/tags
      name: api-instances-instanceid-tags
      description: REST surface for api-instances-instanceId-tags.
      operations:
      - method: GET
        name: listtagsforresource
        description: Amazon List Tags for Resource
        call: amazon-supply-chain-tags.listtagsforresource
        with:
          instanceId: rest.instanceId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: tagresource
        description: Amazon Tag Resource
        call: amazon-supply-chain-tags.tagresource
        with:
          instanceId: rest.instanceId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: untagresource
        description: Amazon Untag Resource
        call: amazon-supply-chain-tags.untagresource
        with:
          instanceId: rest.instanceId
          tagKeys: rest.tagKeys
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-supply-chain-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for AWS Supply Chain API — Tags. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-list-tags-resource
      description: Amazon List Tags for Resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-supply-chain-tags.listtagsforresource
      with:
        instanceId: tools.instanceId
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-tag-resource
      description: Amazon Tag Resource
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-supply-chain-tags.tagresource
      with:
        instanceId: tools.instanceId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-untag-resource
      description: Amazon Untag Resource
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amazon-supply-chain-tags.untagresource
      with:
        instanceId: tools.instanceId
        tagKeys: tools.tagKeys
      outputParameters:
      - type: object
        mapping: $.