aws_sdk_guardduty/client/update_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 [`UpdateTrustedEntitySet`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the GuardDuty detector associated with the threat entity set that 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 /// - [`trusted_entity_set_id(impl Into<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::trusted_entity_set_id) / [`set_trusted_entity_set_id(Option<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::set_trusted_entity_set_id):<br>required: **true**<br><p>The ID returned by GuardDuty after updating the trusted entity set resource.</p><br>
8 /// - [`name(impl Into<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::set_name):<br>required: **false**<br><p>A user-friendly name to identify the trusted entity set.</p> <p>The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).</p><br>
9 /// - [`location(impl Into<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::set_location):<br>required: **false**<br><p>The URI of the file that contains the trusted entity set.</p><br>
10 /// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::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>
11 /// - [`activate(bool)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::activate) / [`set_activate(Option<bool>)`](crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::set_activate):<br>required: **false**<br><p>A boolean value that indicates whether GuardDuty is to start using this updated trusted entity set. After you update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated entity set to be effective.</p><br>
12 /// - On success, responds with [`UpdateTrustedEntitySetOutput`](crate::operation::update_trusted_entity_set::UpdateTrustedEntitySetOutput)
13 /// - On failure, responds with [`SdkError<UpdateTrustedEntitySetError>`](crate::operation::update_trusted_entity_set::UpdateTrustedEntitySetError)
14 pub fn update_trusted_entity_set(&self) -> crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder {
15 crate::operation::update_trusted_entity_set::builders::UpdateTrustedEntitySetFluentBuilder::new(self.handle.clone())
16 }
17}