

# Detection
<a name="API_Detection"></a>

Contains information about the detected behavior.

## Contents
<a name="API_Detection_Contents"></a>

 ** anomaly **   <a name="guardduty-Type-Detection-anomaly"></a>
The details about the anomalous activity that caused GuardDuty to generate the finding.  
Type: [Anomaly](API_Anomaly.md) object  
Required: No

 ** sequence **   <a name="guardduty-Type-Detection-sequence"></a>
The details about the attack sequence.  
Type: [Sequence](API_Sequence.md) object  
Required: No

## See Also
<a name="API_Detection_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/guardduty-2017-11-28/Detection) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/Detection) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/Detection) 