deleteInsight

Deletes the insight specified by the InsightArn.

Samples


fun main() { 
   //sampleStart 
   // The following example deletes a custom insight in Security Hub.
val resp = securityHubClient.deleteInsight {
    insightArn = "arn:aws:securityhub:us-west-1:123456789012:insight/123456789012/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
} 
   //sampleEnd
}