Amazon Serverless Application Repository Serverless Application Repository Operations API

The Serverless Application Repository Operations API from Amazon Serverless Application Repository — 4 operation(s) for serverless application repository operations.

Operations 4

POST /applications/{ApplicationId}/templates Create Cloud Formation Template #
GET /applications/{ApplicationId}/templates/{TemplateId} Get Cloud Formation Template #
GET /applications/{ApplicationId}/dependencies List Application Dependencies #
POST /applications/{ApplicationId}/unshare Unshare Application #

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:amazon-serverless-application-repository-operations-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-serverless-application-repository-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWSServerlessApplicationRepository Operations API
  version: '2017-09-08'
  description: Generated from AWS's published Smithy model for AWSServerlessApplicationRepository. 4 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://serverlessrepo.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /applications/{ApplicationId}/templates:
    post:
      operationId: CreateCloudFormationTemplate
      summary: Create Cloud Formation Template
      description: Creates an AWS CloudFormation template.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCloudFormationTemplateResponse'
        '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'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCloudFormationTemplateRequest'
      tags:
      - Operations
  /applications/{ApplicationId}/templates/{TemplateId}:
    get:
      operationId: GetCloudFormationTemplate
      summary: Get Cloud Formation Template
      description: Gets the specified AWS CloudFormation template.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCloudFormationTemplateResponse'
        '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'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCloudFormationTemplateRequest'
      tags:
      - Operations
  /applications/{ApplicationId}/dependencies:
    get:
      operationId: ListApplicationDependencies
      summary: List Application Dependencies
      description: Retrieves the list of applications nested in the containing application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListApplicationDependenciesResponse'
        '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'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListApplicationDependenciesRequest'
      tags:
      - Operations
  /applications/{ApplicationId}/unshare:
    post:
      operationId: UnshareApplication
      summary: Unshare Application
      description: Unshares an application from an AWS Organization.This operation can be called only from the organization's
        master account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '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'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnshareApplicationRequest'
      tags:
      - Operations
components:
  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: serverlessrepo
  schemas:
    ApplicationDependencySummary:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The Amazon Resource Name (ARN) of the nested application.
        SemanticVersion:
          type: string
          description: The semantic version of the nested application.
      required:
      - ApplicationId
      - SemanticVersion
    BadRequestException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: '400'
        Message:
          type: string
          description: One of the parameters in the request is invalid.
    CreateCloudFormationTemplateRequest:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The Amazon Resource Name (ARN) of the application.
        SemanticVersion:
          type: string
          description: 'The semantic version of the application: https://semver.org/'
      required:
      - ApplicationId
    CreateCloudFormationTemplateResponse:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The application Amazon Resource Name (ARN).
        CreationTime:
          type: string
          description: The date and time this resource was created.
        ExpirationTime:
          type: string
          description: The date and time this template expires. Templates expire 1 hour after creation.
        SemanticVersion:
          type: string
          description: 'The semantic version of the application: https://semver.org/'
        Status:
          type: string
          enum:
          - PREPARING
          - ACTIVE
          - EXPIRED
          description: 'Status of the template creation workflow.Possible values: PREPARING | ACTIVE | EXPIRED'
        TemplateId:
          type: string
          description: 'The UUID returned by CreateCloudFormationTemplate.Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}'
        TemplateUrl:
          type: string
          description: A link to the template that can be used to deploy the application using AWS CloudFormation.
    ForbiddenException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: '403'
        Message:
          type: string
          description: The client is not authenticated.
    GetCloudFormationTemplateRequest:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The Amazon Resource Name (ARN) of the application.
        TemplateId:
          type: string
          description: 'The UUID returned by CreateCloudFormationTemplate.Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}'
      required:
      - ApplicationId
      - TemplateId
    GetCloudFormationTemplateResponse:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The application Amazon Resource Name (ARN).
        CreationTime:
          type: string
          description: The date and time this resource was created.
        ExpirationTime:
          type: string
          description: The date and time this template expires. Templates expire 1 hour after creation.
        SemanticVersion:
          type: string
          description: 'The semantic version of the application: https://semver.org/'
        Status:
          type: string
          enum:
          - PREPARING
          - ACTIVE
          - EXPIRED
          description: 'Status of the template creation workflow.Possible values: PREPARING | ACTIVE | EXPIRED'
        TemplateId:
          type: string
          description: 'The UUID returned by CreateCloudFormationTemplate.Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}'
        TemplateUrl:
          type: string
          description: A link to the template that can be used to deploy the application using AWS CloudFormation.
    InternalServerErrorException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: '500'
        Message:
          type: string
          description: The AWS Serverless Application Repository service encountered an internal error.
    ListApplicationDependenciesRequest:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The Amazon Resource Name (ARN) of the application.
        MaxItems:
          type: integer
          description: The total number of items to return.
        NextToken:
          type: string
          description: A token to specify where to start paginating.
        SemanticVersion:
          type: string
          description: The semantic version of the application to get.
      required:
      - ApplicationId
    ListApplicationDependenciesResponse:
      type: object
      properties:
        Dependencies:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationDependencySummary'
          description: An array of application summaries nested in the application.
        NextToken:
          type: string
          description: The token to request the next page of results.
    NotFoundException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: '404'
        Message:
          type: string
          description: The resource (for example, an access policy statement) specified in the request doesn't exist.
    TooManyRequestsException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: '429'
        Message:
          type: string
          description: The client is sending more than the allowed number of requests per unit of time.
    UnshareApplicationRequest:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The Amazon Resource Name (ARN) of the application.
        OrganizationId:
          type: string
          description: The AWS Organization ID to unshare the application from.
      required:
      - ApplicationId
      - OrganizationId
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/serverlessapplicationrepository/service/2017-09-08/serverlessapplicationrepository-2017-09-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)