Amazon Serverless Application Repository Policies API

Application policy management

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-serverless-application-repository-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

amazon-serverless-application-repository-policies-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Serverless Application Repository Applications Policies API
  description: The AWS Serverless Application Repository enables teams, organizations, and individual developers to find, deploy, and publish serverless applications. It provides programmatic access to create, manage, and deploy SAM-based serverless applications and manage their versions and policies.
  version: 2017-09-08
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/serverless/serverlessrepo/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  x-generated-from: documentation
servers:
- url: https://serverlessrepo.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
      description: The AWS region.
security:
- AWSSignatureV4: []
tags:
- name: Policies
  description: Application policy management
paths:
  /applications/{applicationId}/policy:
    get:
      operationId: GetApplicationPolicy
      summary: Amazon Serverless Application Repository Get Application Policy
      description: Retrieves the policy for the application.
      tags:
      - Policies
      parameters:
      - name: applicationId
        in: path
        required: true
        description: The Amazon Resource Name (ARN) of the application.
        schema:
          type: string
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statements:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApplicationPolicyStatement'
              examples:
                GetApplicationPolicy200Example:
                  summary: Default GetApplicationPolicy 200 response
                  x-microcks-default: true
                  value:
                    statements:
                    - statementId: policy-stmt-001
                      principals:
                      - '*'
                      actions:
                      - serverlessrepo:Deploy
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      operationId: PutApplicationPolicy
      summary: Amazon Serverless Application Repository Put Application Policy
      description: Sets the permission policy for an application.
      tags:
      - Policies
      parameters:
      - name: applicationId
        in: path
        required: true
        description: The Amazon Resource Name (ARN) of the application.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - statements
              properties:
                statements:
                  type: array
                  items:
                    $ref: '#/components/schemas/ApplicationPolicyStatement'
      responses:
        '200':
          description: Policy updated.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statements:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApplicationPolicyStatement'
              examples:
                PutApplicationPolicy200Example:
                  summary: Default PutApplicationPolicy 200 response
                  x-microcks-default: true
                  value:
                    statements:
                    - statementId: policy-stmt-001
                      principals:
                      - '*'
                      actions:
                      - serverlessrepo:Deploy
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    ApplicationPolicyStatement:
      type: object
      description: Policy statement for an application.
      properties:
        statementId:
          type: string
          description: A unique ID for the statement.
          example: policy-stmt-001
        principals:
          type: array
          items:
            type: string
          description: An array of AWS account IDs or * for public access.
        actions:
          type: array
          items:
            type: string
          description: For each action, specify the permission to be granted.
  securitySchemes:
    AWSSignatureV4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4 authentication