listRules

Lists the rules in the account. You can filter the results by status and page through them using maxResults and nextToken.

Samples

// Lists the published rules in the account, one page at a time.
val resp = networkSecurityManagerClient.listRules {
    maxResults = 10
    status = EntityStatusFilter.fromValue("ACTIVE")
}