listConnections

Lists all connection objects to which the caller has access.

Allows for optional filtering by the following properties:

  • state

  • environmentId

  • provider

  • attach point

Only Connection objects matching all filters will be returned.

Samples

// List All Connections
val resp = interconnectClient.listConnections()
// List Connections in available state
val resp = interconnectClient.listConnections {
    state = ConnectionState.fromValue("available")
}
// List Connections on specific Environment
val resp = interconnectClient.listConnections {
    environmentId = "mce-aws-acme-1"
}