CloudFront Functions API

The Functions API from CloudFront — 2 operation(s) for functions.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /2020-05-31/function List CloudFront Functions · ListFunctions #
Ask an LLM
“Which CloudFront Functions have I written in this account?”
“Can I see all my edge functions in one list?”
Tell an agent
List all of my CloudFront Functions.
Show me every edge function in my account.
POST /2020-05-31/function Create a CloudFront Function · CreateFunction #
Ask an LLM
“How do I write a new lightweight function that runs at the edge?”
“Can I create a CloudFront Function to rewrite requests or headers?”
Tell an agent
Create a new CloudFront Function.
Add a new lightweight function to run at the CloudFront edge.
GET /2020-05-31/function/{Name} Describe a CloudFront Function · DescribeFunction #
Ask an LLM
“What stage and status is a particular CloudFront Function in?”
“Can I look up the metadata of one function by its name?”
Tell an agent
Describe CloudFront Function {name}.
Show the status and metadata of function {name}.
DELETE /2020-05-31/function/{Name} Delete a CloudFront Function · DeleteFunction #
Ask an LLM
“How do I remove a CloudFront Function I no longer need?”
“Can I delete an edge function that isn't associated with any distribution?”
Tell an agent destructive · confirm first
Delete CloudFront Function {name}.
Remove the edge function named {name}.

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/cloudfront:cloudfront-functions-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 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

cloudfront-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon CloudFront Functions API
  description: 'Best-effort OpenAPI 3.1 description of a subset of the Amazon CloudFront

    REST API (API version 2020-05-31). CloudFront is AWS''s global content

    delivery network. Requests are signed with AWS Signature Version 4 using

    the `cloudfront` service name and the `us-east-1` region. This document

    covers commonly used distribution, invalidation, origin access control,

    cache policy, function, and public key operations; CloudFront exposes

    over 100 additional operations not enumerated here.'
  version: '2020-05-31'
  contact:
    name: AWS CloudFront
    url: https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html
servers:
- url: https://cloudfront.amazonaws.com
security:
- sigv4: []
tags:
- name: Functions
paths:
  /2020-05-31/function:
    get:
      summary: ListFunctions
      operationId: listFunctions
      tags:
      - Functions
      responses:
        '200':
          description: List of functions
    post:
      summary: CreateFunction
      operationId: createFunction
      tags:
      - Functions
      responses:
        '201':
          description: Function created
  /2020-05-31/function/{Name}:
    parameters:
    - in: path
      name: Name
      required: true
      schema:
        type: string
    get:
      summary: DescribeFunction
      operationId: describeFunction
      tags:
      - Functions
      responses:
        '200':
          description: Function details
    delete:
      summary: DeleteFunction
      operationId: deleteFunction
      tags:
      - Functions
      responses:
        '204':
          description: Function deleted
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: 'AWS Signature Version 4. Signing service name is `cloudfront`,

        signing region is `us-east-1`. Authorization is supplied via

        `Authorization` and `X-Amz-Date` headers (and `X-Amz-Security-Token`

        when using temporary credentials).

        '