batchGetAutomationRules
inline suspend fun SecurityHubClient.batchGetAutomationRules(crossinline block: BatchGetAutomationRulesRequest.Builder.() -> Unit): BatchGetAutomationRulesResponse
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
Samples
fun main() {
//sampleStart
// The following example updates the specified automation rules.
val resp = securityHubClient.batchGetAutomationRules {
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
}