aws_sdk_securityhub/client/get_insight_results.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 [`GetInsightResults`](crate::operation::get_insight_results::builders::GetInsightResultsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`insight_arn(impl Into<String>)`](crate::operation::get_insight_results::builders::GetInsightResultsFluentBuilder::insight_arn) / [`set_insight_arn(Option<String>)`](crate::operation::get_insight_results::builders::GetInsightResultsFluentBuilder::set_insight_arn):<br>required: **true**<br><p>The ARN of the insight for which to return results.</p><br>
7 /// - On success, responds with [`GetInsightResultsOutput`](crate::operation::get_insight_results::GetInsightResultsOutput) with field(s):
8 /// - [`insight_results(Option<InsightResults>)`](crate::operation::get_insight_results::GetInsightResultsOutput::insight_results): <p>The insight results returned by the operation.</p>
9 /// - On failure, responds with [`SdkError<GetInsightResultsError>`](crate::operation::get_insight_results::GetInsightResultsError)
10 pub fn get_insight_results(&self) -> crate::operation::get_insight_results::builders::GetInsightResultsFluentBuilder {
11 crate::operation::get_insight_results::builders::GetInsightResultsFluentBuilder::new(self.handle.clone())
12 }
13}