Amazon Kinesis · Capability

Amazon Kinesis Data Streams API — Policies

Amazon Kinesis Data Streams API — Policies. 3 operations. Lead operation: Amazon Kinesis Delete a resource policy. Self-contained Naftiko capability covering one Amazon Kinesis business surface.

Run with Naftiko Amazon KinesisPolicies

What You Can Do

POST
Deleteresourcepolicy — Amazon Kinesis Delete a resource policy
/v1/x-amz-target-kinesis-20131202-deleteresourcepolicy
POST
Getresourcepolicy — Amazon Kinesis Retrieve a resource policy
/v1/x-amz-target-kinesis-20131202-getresourcepolicy
POST
Putresourcepolicy — Amazon Kinesis Attach a resource policy to a stream
/v1/x-amz-target-kinesis-20131202-putresourcepolicy

MCP Tools

amazon-kinesis-delete-resource-policy

Amazon Kinesis Delete a resource policy

amazon-kinesis-retrieve-resource-policy

Amazon Kinesis Retrieve a resource policy

read-only
amazon-kinesis-attach-resource-policy

Amazon Kinesis Attach a resource policy to a stream

Capability Spec

data-streams-policies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Kinesis Data Streams API — Policies
  description: 'Amazon Kinesis Data Streams API — Policies. 3 operations. Lead operation: Amazon Kinesis Delete a resource
    policy. Self-contained Naftiko capability covering one Amazon Kinesis business surface.'
  tags:
  - Amazon Kinesis
  - Policies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_KINESIS_API_KEY: AMAZON_KINESIS_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-streams-policies
    baseUri: https://kinesis.{region}.amazonaws.com
    description: Amazon Kinesis Data Streams API — Policies business capability. Self-contained, no shared references.
    resources:
    - name: '#X-Amz-Target=Kinesis_20131202.DeleteResourcePolicy'
      path: /#X-Amz-Target=Kinesis_20131202.DeleteResourcePolicy
      operations:
      - name: deleteresourcepolicy
        method: POST
        description: Amazon Kinesis Delete a resource policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=Kinesis_20131202.GetResourcePolicy'
      path: /#X-Amz-Target=Kinesis_20131202.GetResourcePolicy
      operations:
      - name: getresourcepolicy
        method: POST
        description: Amazon Kinesis Retrieve a resource policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=Kinesis_20131202.PutResourcePolicy'
      path: /#X-Amz-Target=Kinesis_20131202.PutResourcePolicy
      operations:
      - name: putresourcepolicy
        method: POST
        description: Amazon Kinesis Attach a resource policy to a stream
        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_KINESIS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: data-streams-policies-rest
    port: 8080
    description: REST adapter for Amazon Kinesis Data Streams API — Policies. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/x-amz-target-kinesis-20131202-deleteresourcepolicy
      name: x-amz-target-kinesis-20131202-deleteresourcepolicy
      description: 'REST surface for #X-Amz-Target=Kinesis_20131202.DeleteResourcePolicy.'
      operations:
      - method: POST
        name: deleteresourcepolicy
        description: Amazon Kinesis Delete a resource policy
        call: data-streams-policies.deleteresourcepolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-kinesis-20131202-getresourcepolicy
      name: x-amz-target-kinesis-20131202-getresourcepolicy
      description: 'REST surface for #X-Amz-Target=Kinesis_20131202.GetResourcePolicy.'
      operations:
      - method: POST
        name: getresourcepolicy
        description: Amazon Kinesis Retrieve a resource policy
        call: data-streams-policies.getresourcepolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-kinesis-20131202-putresourcepolicy
      name: x-amz-target-kinesis-20131202-putresourcepolicy
      description: 'REST surface for #X-Amz-Target=Kinesis_20131202.PutResourcePolicy.'
      operations:
      - method: POST
        name: putresourcepolicy
        description: Amazon Kinesis Attach a resource policy to a stream
        call: data-streams-policies.putresourcepolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-streams-policies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Kinesis Data Streams API — Policies. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amazon-kinesis-delete-resource-policy
      description: Amazon Kinesis Delete a resource policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-streams-policies.deleteresourcepolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-kinesis-retrieve-resource-policy
      description: Amazon Kinesis Retrieve a resource policy
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: data-streams-policies.getresourcepolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-kinesis-attach-resource-policy
      description: Amazon Kinesis Attach a resource policy to a stream
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-streams-policies.putresourcepolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.