1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateIPSet`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`detector_id(impl Into<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The detectorID that specifies the GuardDuty service whose IPSet you want to update.</p><br>
    ///   - [`ip_set_id(impl Into<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::ip_set_id) / [`set_ip_set_id(Option<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_ip_set_id):<br>required: **true**<br><p>The unique ID that specifies the IPSet that you want to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_name):<br>required: **false**<br><p>The unique ID that specifies the IPSet that you want to update.</p><br>
    ///   - [`location(impl Into<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_location):<br>required: **false**<br><p>The updated URI of the file that contains the IPSet. </p><br>
    ///   - [`activate(bool)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::activate) / [`set_activate(Option<bool>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_activate):<br>required: **false**<br><p>The updated Boolean value that specifies whether the IPSet is active or not.</p><br>
    /// - On success, responds with [`UpdateIpSetOutput`](crate::operation::update_ip_set::UpdateIpSetOutput)
    /// - On failure, responds with [`SdkError<UpdateIPSetError>`](crate::operation::update_ip_set::UpdateIPSetError)
    pub fn update_ip_set(&self) -> crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder {
        crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::new(self.handle.clone())
    }
}