listServices
inline suspend fun EcsClient.listServices(crossinline block: ListServicesRequest.Builder.() -> Unit): ListServicesResponse
Returns a list of services. You can filter the results by cluster, launch type, and scheduling strategy.
Samples
fun main() {
//sampleStart
// This example lists the services running in the default cluster for an account.
val resp = ecsClient.listServices()
//sampleEnd
}