batchDeleteAutomationRules

Deletes one or more automation rules.

Samples


fun main() { 
   //sampleStart 
   // The following example deletes the specified automation rules.
val resp = securityHubClient.batchDeleteAutomationRules {
    automationRulesArns = listOf<String>(
        "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
    )
} 
   //sampleEnd
}