aws_sdk_securityhub/client/
batch_update_findings_v2.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 [`BatchUpdateFindingsV2`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`metadata_uids(impl Into<String>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::metadata_uids) / [`set_metadata_uids(Option<Vec::<String>>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::set_metadata_uids):<br>required: **false**<br><p>The list of finding <code>metadata.uid</code> to indicate findings to update. Finding <code>metadata.uid</code> is a globally unique identifier associated with the finding. Customers cannot use <code>MetadataUids</code> together with <code>FindingIdentifiers</code>.</p><br>
7    ///   - [`finding_identifiers(OcsfFindingIdentifier)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::finding_identifiers) / [`set_finding_identifiers(Option<Vec::<OcsfFindingIdentifier>>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::set_finding_identifiers):<br>required: **false**<br><p>Provides information to identify a specific V2 finding.</p><br>
8    ///   - [`comment(impl Into<String>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::set_comment):<br>required: **false**<br><p>The updated value for a user provided comment about the finding. Minimum character length 1. Maximum character length 512.</p><br>
9    ///   - [`severity_id(i32)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::severity_id) / [`set_severity_id(Option<i32>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::set_severity_id):<br>required: **false**<br><p>The updated value for the normalized severity identifier. The severity ID is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5, 99\]. When customer provides the updated severity ID, the string sibling severity will automatically be updated in the finding.</p><br>
10    ///   - [`status_id(i32)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::status_id) / [`set_status_id(Option<i32>)`](crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::set_status_id):<br>required: **false**<br><p>The updated value for the normalized status identifier. The status ID is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5, 6, 99\]. When customer provides the updated status ID, the string sibling status will automatically be updated in the finding.</p><br>
11    /// - On success, responds with [`BatchUpdateFindingsV2Output`](crate::operation::batch_update_findings_v2::BatchUpdateFindingsV2Output) with field(s):
12    ///   - [`processed_findings(Option<Vec::<BatchUpdateFindingsV2ProcessedFinding>>)`](crate::operation::batch_update_findings_v2::BatchUpdateFindingsV2Output::processed_findings): <p>The list of findings that were updated successfully.</p>
13    ///   - [`unprocessed_findings(Option<Vec::<BatchUpdateFindingsV2UnprocessedFinding>>)`](crate::operation::batch_update_findings_v2::BatchUpdateFindingsV2Output::unprocessed_findings): <p>The list of V2 findings that were not updated.</p>
14    /// - On failure, responds with [`SdkError<BatchUpdateFindingsV2Error>`](crate::operation::batch_update_findings_v2::BatchUpdateFindingsV2Error)
15    pub fn batch_update_findings_v2(&self) -> crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder {
16        crate::operation::batch_update_findings_v2::builders::BatchUpdateFindingsV2FluentBuilder::new(self.handle.clone())
17    }
18}