Amazon Resource Explorer · Capability

Amazon Resource Explorer API — Tags

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

Run with Naftiko Amazon Resource ExplorerTags

What You Can Do

GET
Listtagsforresource — List Tags for Resource
/v1/listtagsforresource/{resourcearn}
POST
Tagresource — Tag Resource
/v1/tagresource/{resourcearn}
DELETE
Untagresource — Untag Resource
/v1/untagresource/{resourcearn}

MCP Tools

list-tags-resource

List Tags for Resource

read-only idempotent
tag-resource

Tag Resource

untag-resource

Untag Resource

idempotent

Capability Spec

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