aws_sdk_guardduty/client/
update_threat_intel_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 [`UpdateThreatIntelSet`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`detector_id(impl Into<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The detectorID that specifies the GuardDuty service whose ThreatIntelSet 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    ///   - [`threat_intel_set_id(impl Into<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::threat_intel_set_id) / [`set_threat_intel_set_id(Option<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::set_threat_intel_set_id):<br>required: **true**<br><p>The unique ID that specifies the ThreatIntelSet that you want to update.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::set_name):<br>required: **false**<br><p>The unique ID that specifies the ThreatIntelSet that you want to update.</p><br>
9    ///   - [`location(impl Into<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::set_location):<br>required: **false**<br><p>The updated URI of the file that contains the ThreateIntelSet.</p><br>
10    ///   - [`activate(bool)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::activate) / [`set_activate(Option<bool>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::set_activate):<br>required: **false**<br><p>The updated Boolean value that specifies whether the ThreateIntelSet is active or not.</p><br>
11    ///   - [`expected_bucket_owner(impl Into<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::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 [`UpdateThreatIntelSetOutput`](crate::operation::update_threat_intel_set::UpdateThreatIntelSetOutput)
13    /// - On failure, responds with [`SdkError<UpdateThreatIntelSetError>`](crate::operation::update_threat_intel_set::UpdateThreatIntelSetError)
14    pub fn update_threat_intel_set(&self) -> crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder {
15        crate::operation::update_threat_intel_set::builders::UpdateThreatIntelSetFluentBuilder::new(self.handle.clone())
16    }
17}