aws_sdk_guardduty/client/archive_findings.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 [`ArchiveFindings`](crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder::set_detector_id):<br>required: **true**<br><p>The ID of the detector that specifies the GuardDuty service whose findings you want to archive.</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 /// - [`finding_ids(impl Into<String>)`](crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder::finding_ids) / [`set_finding_ids(Option<Vec::<String>>)`](crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder::set_finding_ids):<br>required: **true**<br><p>The IDs of the findings that you want to archive.</p><br>
8 /// - On success, responds with [`ArchiveFindingsOutput`](crate::operation::archive_findings::ArchiveFindingsOutput)
9 /// - On failure, responds with [`SdkError<ArchiveFindingsError>`](crate::operation::archive_findings::ArchiveFindingsError)
10 pub fn archive_findings(&self) -> crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder {
11 crate::operation::archive_findings::builders::ArchiveFindingsFluentBuilder::new(self.handle.clone())
12 }
13}