aws_sdk_guardduty/client/
delete_ip_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 [`DeleteIPSet`](crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`detector_id(impl Into<String>)`](crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector associated with the IPSet.</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    ///   - [`ip_set_id(impl Into<String>)`](crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder::ip_set_id) / [`set_ip_set_id(Option<String>)`](crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder::set_ip_set_id):<br>required: **true**<br><p>The unique ID of the IPSet to delete.</p><br>
8    /// - On success, responds with [`DeleteIpSetOutput`](crate::operation::delete_ip_set::DeleteIpSetOutput)
9    /// - On failure, responds with [`SdkError<DeleteIPSetError>`](crate::operation::delete_ip_set::DeleteIPSetError)
10    pub fn delete_ip_set(&self) -> crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder {
11        crate::operation::delete_ip_set::builders::DeleteIPSetFluentBuilder::new(self.handle.clone())
12    }
13}