1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetModel`](crate::operation::get_model::builders::GetModelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`api_id(impl Into<String>)`](crate::operation::get_model::builders::GetModelFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_model::builders::GetModelFluentBuilder::set_api_id):<br>required: **true**<br><p>The API identifier.</p><br>
    ///   - [`model_id(impl Into<String>)`](crate::operation::get_model::builders::GetModelFluentBuilder::model_id) / [`set_model_id(Option<String>)`](crate::operation::get_model::builders::GetModelFluentBuilder::set_model_id):<br>required: **true**<br><p>The model ID.</p><br>
    /// - On success, responds with [`GetModelOutput`](crate::operation::get_model::GetModelOutput) with field(s):
    ///   - [`content_type(Option<String>)`](crate::operation::get_model::GetModelOutput::content_type): <p>The content-type for the model, for example, "application/json".</p>
    ///   - [`description(Option<String>)`](crate::operation::get_model::GetModelOutput::description): <p>The description of the model.</p>
    ///   - [`model_id(Option<String>)`](crate::operation::get_model::GetModelOutput::model_id): <p>The model identifier.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_model::GetModelOutput::name): <p>The name of the model. Must be alphanumeric.</p>
    ///   - [`schema(Option<String>)`](crate::operation::get_model::GetModelOutput::schema): <p>The schema for the model. For application/json models, this should be JSON schema draft 4 model.</p>
    /// - On failure, responds with [`SdkError<GetModelError>`](crate::operation::get_model::GetModelError)
    pub fn get_model(&self) -> crate::operation::get_model::builders::GetModelFluentBuilder {
        crate::operation::get_model::builders::GetModelFluentBuilder::new(self.handle.clone())
    }
}