

# DeleteDetectorRequest
<a name="API_iotevents-data_DeleteDetectorRequest"></a>

Information used to delete the detector model.

## Contents
<a name="API_iotevents-data_DeleteDetectorRequest_Contents"></a>

 ** detectorModelName **   <a name="iotevents-Type-iotevents-data_DeleteDetectorRequest-detectorModelName"></a>
The name of the detector model that was used to create the detector instance.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** messageId **   <a name="iotevents-Type-iotevents-data_DeleteDetectorRequest-messageId"></a>
The ID to assign to the `DeleteDetectorRequest`. Each `"messageId"` must be unique within each batch sent.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** keyValue **   <a name="iotevents-Type-iotevents-data_DeleteDetectorRequest-keyValue"></a>
The value of the [key](https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateDetectorModel.html#iotevents-CreateDetectorModel-request-key) used to identify the detector.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9\-_:]+$`   
Required: No

## See Also
<a name="API_iotevents-data_DeleteDetectorRequest_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-data-2018-10-23/DeleteDetectorRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-data-2018-10-23/DeleteDetectorRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-data-2018-10-23/DeleteDetectorRequest) 