aws_sdk_securityhub/client/generate_recommended_policy_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 [`GenerateRecommendedPolicyV2`](crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GenerateRecommendedPolicyV2Output`](crate::operation::generate_recommended_policy_v2::GenerateRecommendedPolicyV2Output)
8 /// - On failure, responds with [`SdkError<GenerateRecommendedPolicyV2Error>`](crate::operation::generate_recommended_policy_v2::GenerateRecommendedPolicyV2Error)
9 pub fn generate_recommended_policy_v2(
10 &self,
11 ) -> crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder {
12 crate::operation::generate_recommended_policy_v2::builders::GenerateRecommendedPolicyV2FluentBuilder::new(self.handle.clone())
13 }
14}