CloudFront Connection Function API
The Connection Function API from CloudFront — 7 operation(s) for connection function.
The Connection Function API from CloudFront — 7 operation(s) for connection function.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/cloudfront:cloudfront-connection-function-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.1.0
info:
title: Amazon CloudFront Connection Function API
version: '2020-05-31'
description: Generated from AWS's published Smithy model for Amazon CloudFront. 8 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://cloudfront.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/2020-05-31/connection-function:
post:
operationId: CreateConnectionFunction
summary: Create Connection Function
description: Creates a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/CreateConnectionFunctionResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'409':
description: EntityAlreadyExists
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityAlreadyExists'
'400':
description: EntityLimitExceeded; InvalidArgument; InvalidTagging; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityLimitExceeded'
'413':
description: EntitySizeLimitExceeded
content:
text/xml:
schema:
$ref: '#/components/schemas/EntitySizeLimitExceeded'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/CreateConnectionFunctionRequest'
tags:
- Connection Function
/2020-05-31/connection-function/{Id}:
delete:
operationId: DeleteConnectionFunction
summary: Delete Connection Function
description: Deletes a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'409':
description: CannotDeleteEntityWhileInUse
content:
text/xml:
schema:
$ref: '#/components/schemas/CannotDeleteEntityWhileInUse'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'400':
description: InvalidArgument; InvalidIfMatchVersion; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
'412':
description: PreconditionFailed
content:
text/xml:
schema:
$ref: '#/components/schemas/PreconditionFailed'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/DeleteConnectionFunctionRequest'
tags:
- Connection Function
put:
operationId: UpdateConnectionFunction
summary: Update Connection Function
description: Updates a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/UpdateConnectionFunctionResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'413':
description: EntitySizeLimitExceeded
content:
text/xml:
schema:
$ref: '#/components/schemas/EntitySizeLimitExceeded'
'400':
description: InvalidArgument; InvalidIfMatchVersion; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
'412':
description: PreconditionFailed
content:
text/xml:
schema:
$ref: '#/components/schemas/PreconditionFailed'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/UpdateConnectionFunctionRequest'
tags:
- Connection Function
/2020-05-31/connection-function/{Identifier}/describe:
get:
operationId: DescribeConnectionFunction
summary: Describe Connection Function
description: Describes a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeConnectionFunctionResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'400':
description: InvalidArgument; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/DescribeConnectionFunctionRequest'
tags:
- Connection Function
/2020-05-31/connection-function/{Identifier}:
get:
operationId: GetConnectionFunction
summary: Get Connection Function
description: Gets a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/GetConnectionFunctionResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'400':
description: UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/UnsupportedOperation'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/GetConnectionFunctionRequest'
tags:
- Connection Function
/2020-05-31/connection-functions:
post:
operationId: ListConnectionFunctions
summary: List Connection Functions
description: Lists connection functions.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/ListConnectionFunctionsResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'400':
description: InvalidArgument; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/ListConnectionFunctionsRequest'
tags:
- Connection Function
/2020-05-31/connection-function/{Id}/publish:
post:
operationId: PublishConnectionFunction
summary: Publish Connection Function
description: Publishes a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/PublishConnectionFunctionResult'
'403':
description: AccessDenied
content:
text/xml:
schema:
$ref: '#/components/schemas/AccessDenied'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'400':
description: InvalidArgument; InvalidIfMatchVersion; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
'412':
description: PreconditionFailed
content:
text/xml:
schema:
$ref: '#/components/schemas/PreconditionFailed'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/PublishConnectionFunctionRequest'
tags:
- Connection Function
/2020-05-31/connection-function/{Id}/test:
post:
operationId: TestConnectionFunction
summary: Test Connection Function
description: Tests a connection function.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/TestConnectionFunctionResult'
'404':
description: EntityNotFound
content:
text/xml:
schema:
$ref: '#/components/schemas/EntityNotFound'
'400':
description: InvalidArgument; InvalidIfMatchVersion; UnsupportedOperation
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidArgument'
'412':
description: PreconditionFailed
content:
text/xml:
schema:
$ref: '#/components/schemas/PreconditionFailed'
'500':
description: TestFunctionFailed
content:
text/xml:
schema:
$ref: '#/components/schemas/TestFunctionFailed'
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/TestConnectionFunctionRequest'
tags:
- Connection Function
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: cloudfront
schemas:
AccessDenied:
type: object
properties:
Message:
type: string
CannotDeleteEntityWhileInUse:
type: object
properties:
Message:
type: string
ConnectionFunctionSummary:
type: object
properties:
Name:
type: string
description: The connection function name.
Id:
type: string
description: The connection function ID.
ConnectionFunctionConfig:
$ref: '#/components/schemas/FunctionConfig'
ConnectionFunctionArn:
type: string
description: The connection function Amazon Resource Name (ARN).
Status:
type: string
description: The connection function status.
Stage:
type: string
enum:
- DEVELOPMENT
- LIVE
description: The connection function stage.
CreatedTime:
type: string
format: date-time
description: The connection function created time.
LastModifiedTime:
type: string
format: date-time
description: The connection function last modified time.
required:
- Name
- Id
- ConnectionFunctionConfig
- ConnectionFunctionArn
- Status
- Stage
- CreatedTime
- LastModifiedTime
ConnectionFunctionTestResult:
type: object
properties:
ConnectionFunctionSummary:
$ref: '#/components/schemas/ConnectionFunctionSummary'
ComputeUtilization:
type: string
description: The connection function compute utilization.
ConnectionFunctionExecutionLogs:
type: array
items:
type: string
description: The connection function execution logs.
ConnectionFunctionErrorMessage:
type: string
description: The connection function error message.
ConnectionFunctionOutput:
type: string
description: The connection function output.
CreateConnectionFunctionRequest:
type: object
properties:
Name:
type: string
description: A name for the connection function.
ConnectionFunctionConfig:
$ref: '#/components/schemas/FunctionConfig'
ConnectionFunctionCode:
type: string
format: byte
description: The code for the connection function.
Tags:
$ref: '#/components/schemas/Tags'
required:
- Name
- ConnectionFunctionConfig
- ConnectionFunctionCode
CreateConnectionFunctionResult:
type: object
properties:
ConnectionFunctionSummary:
$ref: '#/components/schemas/ConnectionFunctionSummary'
Location:
type: string
description: The location of the connection function.
ETag:
type: string
description: The version identifier for the current version of the connection function.
DeleteConnectionFunctionRequest:
type: object
properties:
Id:
type: string
description: The connection function's ID.
IfMatch:
type: string
description: The current version (ETag value) of the connection function you are deleting.
required:
- Id
- IfMatch
DescribeConnectionFunctionRequest:
type: object
properties:
Identifier:
type: string
description: The connection function's identifier.
Stage:
type: string
enum:
- DEVELOPMENT
- LIVE
description: The connection function's stage.
required:
- Identifier
DescribeConnectionFunctionResult:
type: object
properties:
ConnectionFunctionSummary:
$ref: '#/components/schemas/ConnectionFunctionSummary'
ETag:
type: string
description: The version identifier for the current version of the connection function.
EntityAlreadyExists:
type: object
properties:
Message:
type: string
EntityLimitExceeded:
type: object
properties:
Message:
type: string
EntityNotFound:
type: object
properties:
Message:
type: string
EntitySizeLimitExceeded:
type: object
properties:
Message:
type: string
FunctionConfig:
type: object
properties:
Comment:
type: string
description: A comment to describe the function.
Runtime:
type: string
enum:
- cloudfront-js-1.0
- cloudfront-js-2.0
description: The function's runtime environment version.
KeyValueStoreAssociations:
$ref: '#/components/schemas/KeyValueStoreAssociations'
required:
- Comment
- Runtime
GetConnectionFunctionRequest:
type: object
properties:
Identifier:
type: string
description: The connection function's identifier.
Stage:
type: string
enum:
- DEVELOPMENT
- LIVE
description: The connection function's stage.
required:
- Identifier
GetConnectionFunctionResult:
type: object
properties:
ConnectionFunctionCode:
type: string
format: byte
description: The connection function's code.
ETag:
type: string
description: The version identifier for the current version of the connection function.
ContentType:
type: string
description: The connection function's content type.
InvalidArgument:
type: object
properties:
Message:
type: string
KeyValueStoreAssociation:
type: object
properties:
KeyValueStoreARN:
type: string
description: The Amazon Resource Name (ARN) of the key value store association.
required:
- KeyValueStoreARN
KeyValueStoreAssociations:
type: object
properties:
Quantity:
type: integer
description: The quantity of key value store associations.
Items:
type: array
items:
$ref: '#/components/schemas/KeyValueStoreAssociation'
description: The items of the key value store association.
required:
- Quantity
ListConnectionFunctionsRequest:
type: object
properties:
Marker:
type: string
description: Use this field when paginating results to indicate where to begin in your list. The response includes
items in the list that occur after the marker. To get the next page of the list, set this field's value to the
value of NextMarker from the current page's response.
MaxItems:
type: integer
description: The maximum number of connection functions that you want returned in the response.
Stage:
type: string
enum:
- DEVELOPMENT
- LIVE
description: The connection function's stage.
ListConnectionFunctionsResult:
type: object
properties:
NextMarker:
type: string
description: Indicates the next page of connection functions. To get the next page of the list, use this value in
the Marker field of your request.
ConnectionFunctions:
type: array
items:
$ref: '#/components/schemas/ConnectionFunctionSummary'
description: A list of connection functions.
PreconditionFailed:
type: object
properties:
Message:
type: string
PublishConnectionFunctionRequest:
type: object
properties:
Id:
type: string
description: The connection function ID.
IfMatch:
type: string
description: The current version (ETag value) of the connection function.
required:
- Id
- IfMatch
PublishConnectionFunctionResult:
type: object
properties:
ConnectionFunctionSummary:
$ref: '#/components/schemas/ConnectionFunctionSummary'
Tag:
type: object
properties:
Key:
type: string
description: 'A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters
include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.'
Value:
type: string
description: 'A string that contains an optional Tag value. The string length should be between 0 and 256 characters.
Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.'
required:
- Key
Tags:
type: object
properties:
Items:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A complex type that contains Tag elements.
TestConnectionFunctionRequest:
type: object
properties:
Id:
type: string
description: The connection function ID.
IfMatch:
type: string
description: The current version (ETag value) of the connection function.
Stage:
type: string
enum:
- DEVELOPMENT
- LIVE
description: The connection function stage.
ConnectionObject:
type: string
format: byte
description: The connection object.
required:
- Id
- IfMatch
- ConnectionObject
TestConnectionFunctionResult:
type: object
properties:
ConnectionFunctionTestResult:
$ref: '#/components/schemas/ConnectionFunctionTestResult'
TestFunctionFailed:
type: object
properties:
Message:
type: string
UnsupportedOperation:
type: object
properties:
Message:
type: string
UpdateConnectionFunctionRequest:
type: object
properties:
Id:
type: string
description: The connection function ID.
IfMatch:
type: string
description: The current version (ETag value) of the connection function you are updating.
ConnectionFunctionConfig:
$ref: '#/components/schemas/FunctionConfig'
ConnectionFunctionCode:
type: string
format: byte
description: The connection function code.
required:
- Id
- IfMatch
- ConnectionFunctionConfig
- ConnectionFunctionCode
UpdateConnectionFunctionResult:
type: object
properties:
ConnectionFunctionSummary:
$ref: '#/components/schemas/ConnectionFunctionSummary'
ETag:
type: string
description: The version identifier for the current version of the connection function.
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/cloudfront/service/2020-05-31/cloudfront-2020-05-31.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)