GET /connections/{connectionId} – Retrieves a connection by its ID.
Headers:
Authorization: Bearer <access_token>
Body:
Path Parameters:
Query Parameters:
200 OK
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
GET /connections/exampleConnectionId Copy
GET /connections/exampleConnectionId
GET /connections/exampleUserPoolId?provider=cognito-connection Copy
GET /connections/exampleUserPoolId?provider=cognito-connection
{ "connectionId": "connection_id", "name": "connection_name", "type": "connection_type", "status": "active|inactive", "createdAt": "2023-01-01T00:00:00Z", "updatedAt": "2023-01-01T00:00:00Z", "metadata": { "key": "value" }, "configuration": { "setting": "value" } } Copy
{ "connectionId": "connection_id", "name": "connection_name", "type": "connection_type", "status": "active|inactive", "createdAt": "2023-01-01T00:00:00Z", "updatedAt": "2023-01-01T00:00:00Z", "metadata": { "key": "value" }, "configuration": { "setting": "value" } }
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
GET /connections/{connectionId} – Retrieves a connection by its ID.
Remarks
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Body:
Path Parameters:
Query Parameters:
📤 Response
200 OK– JSON stringified object represented the retrieved connection Connection❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example