Amazon SNS · Capability

Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing

Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing. 2 operations. Lead operation: Amazon Sns Publish a Message to an Sns Topic or Endpoint. Self-contained Naftiko capability covering one Amazon Sns business surface.

Run with Naftiko Amazon SnsPublishing

What You Can Do

POST
Publish — Amazon Sns Publish a Message to an Sns Topic or Endpoint
/v1/action-publish
POST
Publishbatch — Amazon Sns Publish up to 10 Messages to an Sns Topic in a Single Request
/v1/action-publishbatch

MCP Tools

amazon-sns-publish-message-sns

Amazon Sns Publish a Message to an Sns Topic or Endpoint

amazon-sns-publish-up-10

Amazon Sns Publish up to 10 Messages to an Sns Topic in a Single Request

Capability Spec

amazon-sns-publishing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing
  description: 'Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing. 2 operations. Lead operation: Amazon
    Sns Publish a Message to an Sns Topic or Endpoint. Self-contained Naftiko capability covering one Amazon Sns business
    surface.'
  tags:
  - Amazon Sns
  - Publishing
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_SNS_API_KEY: AMAZON_SNS_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-sns-publishing
    baseUri: https://sns.{region}.amazonaws.com
    description: Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing business capability. Self-contained,
      no shared references.
    resources:
    - name: ?Action=Publish
      path: /?Action=Publish
      operations:
      - name: publish
        method: POST
        description: Amazon Sns Publish a Message to an Sns Topic or Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?Action=PublishBatch
      path: /?Action=PublishBatch
      operations:
      - name: publishbatch
        method: POST
        description: Amazon Sns Publish up to 10 Messages to an Sns Topic in a Single Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.AMAZON_SNS_API_KEY}}'
  exposes:
  - type: rest
    namespace: amazon-sns-publishing-rest
    port: 8080
    description: REST adapter for Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/action-publish
      name: action-publish
      description: REST surface for ?Action=Publish.
      operations:
      - method: POST
        name: publish
        description: Amazon Sns Publish a Message to an Sns Topic or Endpoint
        call: amazon-sns-publishing.publish
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-publishbatch
      name: action-publishbatch
      description: REST surface for ?Action=PublishBatch.
      operations:
      - method: POST
        name: publishbatch
        description: Amazon Sns Publish up to 10 Messages to an Sns Topic in a Single Request
        call: amazon-sns-publishing.publishbatch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-sns-publishing-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon SNS Amazon Simple Notification Service (SNS) API — Publishing. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: amazon-sns-publish-message-sns
      description: Amazon Sns Publish a Message to an Sns Topic or Endpoint
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-sns-publishing.publish
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-sns-publish-up-10
      description: Amazon Sns Publish up to 10 Messages to an Sns Topic in a Single Request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-sns-publishing.publishbatch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.