ListConnectionFunctions - Amazon CloudFront

ListConnectionFunctions

Lists connection functions.

Request Syntax

POST /2020-05-31/connection-functions HTTP/1.1 <?xml version="1.0" encoding="UTF-8"?> <ListConnectionFunctionsRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/"> <Marker>string</Marker> <MaxItems>integer</MaxItems> <Stage>string</Stage> </ListConnectionFunctionsRequest>

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in XML format.

ListConnectionFunctionsRequest

Root level tag for the ListConnectionFunctionsRequest parameters.

Required: Yes

Marker

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.

Type: String

Required: No

MaxItems

The maximum number of connection functions that you want returned in the response.

Type: Integer

Required: No

Stage

The connection function's stage.

Type: String

Valid Values: DEVELOPMENT | LIVE

Required: No

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <ListConnectionFunctionsResult> <ConnectionFunctions> <ConnectionFunctionSummary> <ConnectionFunctionArn>string</ConnectionFunctionArn> <ConnectionFunctionConfig> <Comment>string</Comment> <KeyValueStoreAssociations> <Items> <KeyValueStoreAssociation> <KeyValueStoreARN>string</KeyValueStoreARN> </KeyValueStoreAssociation> </Items> <Quantity>integer</Quantity> </KeyValueStoreAssociations> <Runtime>string</Runtime> </ConnectionFunctionConfig> <CreatedTime>timestamp</CreatedTime> <Id>string</Id> <LastModifiedTime>timestamp</LastModifiedTime> <Name>string</Name> <Stage>string</Stage> <Status>string</Status> </ConnectionFunctionSummary> </ConnectionFunctions> <NextMarker>string</NextMarker> </ListConnectionFunctionsResult>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

ListConnectionFunctionsResult

Root level tag for the ListConnectionFunctionsResult parameters.

Required: Yes

ConnectionFunctions

A list of connection functions.

Type: Array of ConnectionFunctionSummary objects

NextMarker

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.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDenied

Access denied.

HTTP Status Code: 403

InvalidArgument

An argument is invalid.

HTTP Status Code: 400

UnsupportedOperation

This operation is not supported in this AWS Region.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: