aws-sdk-securityhub 1.111.0

AWS SDK for AWS SecurityHub
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GenerateRecommendedPolicyV2`](crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`metadata_uid(impl Into<String>)`](crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder::metadata_uid) / [`set_metadata_uid(Option<String>)`](crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder::set_metadata_uid):<br>required: **true**<br><p>The unique identifier (ID) of Security Hub OCSF findings found under the <code>metadata.uid</code> field of the finding.</p><br>
    /// - On success, responds with [`GenerateRecommendedPolicyV2Output`](crate::operation::generate_recommended_policy_v2::GenerateRecommendedPolicyV2Output)
    /// - On failure, responds with [`SdkError<GenerateRecommendedPolicyV2Error>`](crate::operation::generate_recommended_policy_v2::GenerateRecommendedPolicyV2Error)
    pub fn generate_recommended_policy_v2(
        &self,
    ) -> crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder {
        crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder::new(self.handle.clone())
    }
}