listOperations

Lists operations that match the criteria that you specify.

Samples

import aws.sdk.kotlin.services.servicediscovery.model.OperationFilter
fun main() { 
   //sampleStart 
   // This example gets the operations that have a STATUS of either PENDING or SUCCESS.
val resp = serviceDiscoveryClient.listOperations {
    filters = listOf<OperationFilter>(
        OperationFilter {
            name = OperationFilterName.fromValue("STATUS")
            condition = FilterCondition.fromValue("IN")
            values = listOf<String>(
                "PENDING",
                "SUCCESS"
            )
        }            
    )
} 
   //sampleEnd
}