aws_sdk_guardduty/client/update_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 [`UpdateIPSet`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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> <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::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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::set_expected_bucket_owner):<br>required: **false**<br><p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p><br>
12 /// - On success, responds with [`UpdateIpSetOutput`](crate::operation::update_ip_set::UpdateIpSetOutput)
13 /// - On failure, responds with [`SdkError<UpdateIPSetError>`](crate::operation::update_ip_set::UpdateIPSetError)
14 pub fn update_ip_set(&self) -> crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder {
15 crate::operation::update_ip_set::builders::UpdateIPSetFluentBuilder::new(self.handle.clone())
16 }
17}