removeAttributesFromFindings

Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.

Samples


fun main() { 
   //sampleStart 
   // Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of
// the findings where an attribute with the specified key exists.
val resp = inspectorClient.removeAttributesFromFindings {
    findingArns = listOf<String>(
        "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU"
    )
    attributeKeys = listOf<String>(
        "key=Example,value=example"
    )
} 
   //sampleEnd
}