aws_sdk_guardduty/client/
get_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 [`GetTrustedEntitySet`](crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`detector_id(impl Into<String>)`](crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the GuardDuty detector associated with this trusted entity set.</p><br>
7    ///   - [`trusted_entity_set_id(impl Into<String>)`](crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder::trusted_entity_set_id) / [`set_trusted_entity_set_id(Option<String>)`](crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder::set_trusted_entity_set_id):<br>required: **true**<br><p>The unique ID that helps GuardDuty identify the trusted entity set.</p><br>
8    /// - On success, responds with [`GetTrustedEntitySetOutput`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput) with field(s):
9    ///   - [`name(Option<String>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::name): <p>The name of the threat entity set associated with the specified <code>trustedEntitySetId</code>.</p>
10    ///   - [`format(Option<TrustedEntitySetFormat>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::format): <p>The format of the file that contains the trusted entity set.</p>
11    ///   - [`location(Option<String>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::location): <p>The URI of the file that contains the trusted entity set.</p>
12    ///   - [`expected_bucket_owner(Option<String>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::expected_bucket_owner): <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter.</p>
13    ///   - [`status(Option<TrustedEntitySetStatus>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::status): <p>The status of the associated trusted entity set.</p>
14    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::tags): <p>The tags associated with trusted entity set resource.</p>
15    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::created_at): <p>The timestamp when the associated trusted entity set was created.</p>
16    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::updated_at): <p>The timestamp when the associated trusted entity set was updated.</p>
17    ///   - [`error_details(Option<String>)`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetOutput::error_details): <p>The error details when the status is shown as <code>ERROR</code>.</p>
18    /// - On failure, responds with [`SdkError<GetTrustedEntitySetError>`](crate::operation::get_trusted_entity_set::GetTrustedEntitySetError)
19    pub fn get_trusted_entity_set(&self) -> crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder {
20        crate::operation::get_trusted_entity_set::builders::GetTrustedEntitySetFluentBuilder::new(self.handle.clone())
21    }
22}