aws_sdk_guardduty/client/delete_trusted_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 [`DeleteTrustedEntitySet`](crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector associated with the trusted 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 /// - [`trusted_entity_set_id(impl Into<String>)`](crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder::trusted_entity_set_id) / [`set_trusted_entity_set_id(Option<String>)`](crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder::set_trusted_entity_set_id):<br>required: **true**<br><p>The unique ID that helps GuardDuty identify which trusted entity set needs to be deleted.</p><br>
8 /// - On success, responds with [`DeleteTrustedEntitySetOutput`](crate::operation::delete_trusted_entity_set::DeleteTrustedEntitySetOutput)
9 /// - On failure, responds with [`SdkError<DeleteTrustedEntitySetError>`](crate::operation::delete_trusted_entity_set::DeleteTrustedEntitySetError)
10 pub fn delete_trusted_entity_set(&self) -> crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder {
11 crate::operation::delete_trusted_entity_set::builders::DeleteTrustedEntitySetFluentBuilder::new(self.handle.clone())
12 }
13}