aws_sdk_personalize/client/
describe_algorithm.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 [`DescribeAlgorithm`](crate::operation::describe_algorithm::builders::DescribeAlgorithmFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`algorithm_arn(impl Into<String>)`](crate::operation::describe_algorithm::builders::DescribeAlgorithmFluentBuilder::algorithm_arn) / [`set_algorithm_arn(Option<String>)`](crate::operation::describe_algorithm::builders::DescribeAlgorithmFluentBuilder::set_algorithm_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the algorithm to describe.</p><br>
7    /// - On success, responds with [`DescribeAlgorithmOutput`](crate::operation::describe_algorithm::DescribeAlgorithmOutput) with field(s):
8    ///   - [`algorithm(Option<Algorithm>)`](crate::operation::describe_algorithm::DescribeAlgorithmOutput::algorithm): <p>A listing of the properties of the algorithm.</p>
9    /// - On failure, responds with [`SdkError<DescribeAlgorithmError>`](crate::operation::describe_algorithm::DescribeAlgorithmError)
10    pub fn describe_algorithm(&self) -> crate::operation::describe_algorithm::builders::DescribeAlgorithmFluentBuilder {
11        crate::operation::describe_algorithm::builders::DescribeAlgorithmFluentBuilder::new(self.handle.clone())
12    }
13}