aws_sdk_accessanalyzer/client/get_analyzer.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 [`GetAnalyzer`](crate::operation::get_analyzer::builders::GetAnalyzerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`analyzer_name(impl Into<String>)`](crate::operation::get_analyzer::builders::GetAnalyzerFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::get_analyzer::builders::GetAnalyzerFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer retrieved.</p><br>
7 /// - On success, responds with [`GetAnalyzerOutput`](crate::operation::get_analyzer::GetAnalyzerOutput) with field(s):
8 /// - [`analyzer(Option<AnalyzerSummary>)`](crate::operation::get_analyzer::GetAnalyzerOutput::analyzer): <p>An <code>AnalyzerSummary</code> object that contains information about the analyzer.</p>
9 /// - On failure, responds with [`SdkError<GetAnalyzerError>`](crate::operation::get_analyzer::GetAnalyzerError)
10 pub fn get_analyzer(&self) -> crate::operation::get_analyzer::builders::GetAnalyzerFluentBuilder {
11 crate::operation::get_analyzer::builders::GetAnalyzerFluentBuilder::new(self.handle.clone())
12 }
13}