Amazon MSK Msk Policy API

The Msk Policy API from Amazon MSK — 1 operation(s) for msk policy.

Operations 3

DELETE /v1/clusters/{ClusterArn}/policy Delete Cluster Policy #
GET /v1/clusters/{ClusterArn}/policy Get Cluster Policy #
PUT /v1/clusters/{ClusterArn}/policy Put Cluster Policy #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-msk:amazon-msk-policy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-msk-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Managed Streaming for Kafka Policy API
  version: '2018-11-14'
  description: Generated from AWS's published Smithy model for Managed Streaming for Kafka. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://kafka.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Policy
paths:
  /v1/clusters/{ClusterArn}/policy:
    delete:
      operationId: DeleteClusterPolicy
      summary: Delete Cluster Policy
      description: Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteClusterPolicyResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteClusterPolicyRequest'
      tags:
      - Policy
    get:
      operationId: GetClusterPolicy
      summary: Get Cluster Policy
      description: Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetClusterPolicyResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetClusterPolicyRequest'
      tags:
      - Policy
    put:
      operationId: PutClusterPolicy
      summary: Put Cluster Policy
      description: Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutClusterPolicyResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutClusterPolicyRequest'
      tags:
      - Policy
components:
  schemas:
    DeleteClusterPolicyResponse:
      type: object
      properties: {}
    PutClusterPolicyRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the cluster.
        CurrentVersion:
          type: string
          description: The policy version.
        Policy:
          type: string
          description: The policy.
      required:
      - ClusterArn
      - Policy
    DeleteClusterPolicyRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the cluster.
      required:
      - ClusterArn
    PutClusterPolicyResponse:
      type: object
      properties:
        CurrentVersion:
          type: string
          description: The policy version.
    GetClusterPolicyResponse:
      type: object
      properties:
        CurrentVersion:
          type: string
          description: The version of cluster policy.
        Policy:
          type: string
          description: The cluster policy.
    BadRequestException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    ForbiddenException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    GetClusterPolicyRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the cluster.
      required:
      - ClusterArn
    InternalServerErrorException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    NotFoundException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: kafka
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/kafka/service/2018-11-14/kafka-2018-11-14.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)