aws_sdk_guardduty/client/delete_threat_entity_set.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteThreatEntitySet`](crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector associated with the threat entity set resource.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p><br>
7 /// - [`threat_entity_set_id(impl Into<String>)`](crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder::threat_entity_set_id) / [`set_threat_entity_set_id(Option<String>)`](crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder::set_threat_entity_set_id):<br>required: **true**<br><p>The unique ID that helps GuardDuty identify which threat entity set needs to be deleted.</p><br>
8 /// - On success, responds with [`DeleteThreatEntitySetOutput`](crate::operation::delete_threat_entity_set::DeleteThreatEntitySetOutput)
9 /// - On failure, responds with [`SdkError<DeleteThreatEntitySetError>`](crate::operation::delete_threat_entity_set::DeleteThreatEntitySetError)
10 pub fn delete_threat_entity_set(&self) -> crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder {
11 crate::operation::delete_threat_entity_set::builders::DeleteThreatEntitySetFluentBuilder::new(self.handle.clone())
12 }
13}