Amazon Fraud Detector · Capability

Amazon Fraud Detector API — Tags

Amazon Fraud Detector API — Tags. 2 operations. Lead operation: List Tags For Resource. Self-contained Naftiko capability covering one Amazon Fraud Detector business surface.

Run with Naftiko Amazon Fraud DetectorTags

What You Can Do

GET
Listtagsforresource — List Tags For Resource
/v1/tags/{resourcearn}
POST
Tagresource — Tag Resource
/v1/tags/{resourcearn}

MCP Tools

list-tags-resource

List Tags For Resource

read-only idempotent
tag-resource

Tag Resource

Capability Spec

amazon-fraud-detector-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Fraud Detector API — Tags
  description: 'Amazon Fraud Detector API — Tags. 2 operations. Lead operation: List Tags For Resource. Self-contained Naftiko
    capability covering one Amazon Fraud Detector business surface.'
  tags:
  - Amazon Fraud Detector
  - Tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_FRAUD_DETECTOR_API_KEY: AMAZON_FRAUD_DETECTOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-fraud-detector-tags
    baseUri: https://frauddetector.{region}.amazonaws.com
    description: Amazon Fraud Detector API — Tags business capability. Self-contained, no shared references.
    resources:
    - name: tags-resourceARN
      path: /tags/{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
          description: The ARN of the resource.
          required: true
      - name: tagresource
        method: POST
        description: Tag Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceARN
          in: path
          type: string
          description: The ARN of the resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_FRAUD_DETECTOR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-fraud-detector-tags-rest
    port: 8080
    description: REST adapter for Amazon Fraud Detector API — Tags. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tags/{resourcearn}
      name: tags-resourcearn
      description: REST surface for tags-resourceARN.
      operations:
      - method: GET
        name: listtagsforresource
        description: List Tags For Resource
        call: amazon-fraud-detector-tags.listtagsforresource
        with:
          resourceARN: rest.resourceARN
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: tagresource
        description: Tag Resource
        call: amazon-fraud-detector-tags.tagresource
        with:
          resourceARN: rest.resourceARN
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-fraud-detector-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Fraud Detector 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-fraud-detector-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-fraud-detector-tags.tagresource
      with:
        resourceARN: tools.resourceARN
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.