openapi: 3.1.0 info: title: Amazon CloudFront CachePolicies 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). '