listAutomationRules

abstract suspend fun listAutomationRules(input: ListAutomationRulesRequest = ListAutomationRulesRequest { }): ListAutomationRulesResponse

A list of automation rules and their metadata for the calling account.

Samples


fun main() { 
   //sampleStart 
   // The following example lists automation rules and rule metadata in the calling account.
val resp = securityHubClient.listAutomationRules {
    nextToken = "example-token"
    maxResults = 2
} 
   //sampleEnd
}