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 [`BatchGetCodeSnippet`](crate::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`finding_arns(Vec<String>)`](crate::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder::finding_arns) / [`set_finding_arns(Option<Vec<String>>)`](crate::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder::set_finding_arns): <p>An array of finding ARNs for the findings you want to retrieve code snippets from.</p>
    /// - On success, responds with [`BatchGetCodeSnippetOutput`](crate::operation::batch_get_code_snippet::BatchGetCodeSnippetOutput) with field(s):
    ///   - [`code_snippet_results(Option<Vec<CodeSnippetResult>>)`](crate::operation::batch_get_code_snippet::BatchGetCodeSnippetOutput::code_snippet_results): <p>The retrieved code snippets associated with the provided finding ARNs.</p>
    ///   - [`errors(Option<Vec<CodeSnippetError>>)`](crate::operation::batch_get_code_snippet::BatchGetCodeSnippetOutput::errors): <p>Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.</p>
    /// - On failure, responds with [`SdkError<BatchGetCodeSnippetError>`](crate::operation::batch_get_code_snippet::BatchGetCodeSnippetError)
    pub fn batch_get_code_snippet(&self) -> crate::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder {
        crate::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder::new(self.handle.clone())
    }
}