aws_sdk_lookoutvision/client/
describe_model.rs

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 [`DescribeModel`](crate::operation::describe_model::builders::DescribeModelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_name(impl Into<String>)`](crate::operation::describe_model::builders::DescribeModelFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::describe_model::builders::DescribeModelFluentBuilder::set_project_name):<br>required: **true**<br><p>The project that contains the version of a model that you want to describe.</p><br>
    ///   - [`model_version(impl Into<String>)`](crate::operation::describe_model::builders::DescribeModelFluentBuilder::model_version) / [`set_model_version(Option<String>)`](crate::operation::describe_model::builders::DescribeModelFluentBuilder::set_model_version):<br>required: **true**<br><p>The version of the model that you want to describe.</p><br>
    /// - On success, responds with [`DescribeModelOutput`](crate::operation::describe_model::DescribeModelOutput) with field(s):
    ///   - [`model_description(Option<ModelDescription>)`](crate::operation::describe_model::DescribeModelOutput::model_description): <p>Contains the description of the model.</p>
    /// - On failure, responds with [`SdkError<DescribeModelError>`](crate::operation::describe_model::DescribeModelError)
    pub fn describe_model(&self) -> crate::operation::describe_model::builders::DescribeModelFluentBuilder {
        crate::operation::describe_model::builders::DescribeModelFluentBuilder::new(self.handle.clone())
    }
}