aws_sdk_iotfleetwise/client/
get_model_manifest.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 [`GetModelManifest`](crate::operation::get_model_manifest::builders::GetModelManifestFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_model_manifest::builders::GetModelManifestFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_model_manifest::builders::GetModelManifestFluentBuilder::set_name):<br>required: **true**<br><p>The name of the vehicle model to retrieve information about.</p><br>
7    /// - On success, responds with [`GetModelManifestOutput`](crate::operation::get_model_manifest::GetModelManifestOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::get_model_manifest::GetModelManifestOutput::name): <p>The name of the vehicle model.</p>
9    ///   - [`arn(String)`](crate::operation::get_model_manifest::GetModelManifestOutput::arn): <p>The Amazon Resource Name (ARN) of the vehicle model.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_model_manifest::GetModelManifestOutput::description): <p>A brief description of the vehicle model.</p>
11    ///   - [`signal_catalog_arn(Option<String>)`](crate::operation::get_model_manifest::GetModelManifestOutput::signal_catalog_arn): <p>The ARN of the signal catalog associated with the vehicle model.</p>
12    ///   - [`status(Option<ManifestStatus>)`](crate::operation::get_model_manifest::GetModelManifestOutput::status): <p>The state of the vehicle model. If the status is <code>ACTIVE</code>, the vehicle model can't be edited. You can edit the vehicle model if the status is marked <code>DRAFT</code>.</p>
13    ///   - [`creation_time(DateTime)`](crate::operation::get_model_manifest::GetModelManifestOutput::creation_time): <p>The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
14    ///   - [`last_modification_time(DateTime)`](crate::operation::get_model_manifest::GetModelManifestOutput::last_modification_time): <p>The last time the vehicle model was modified.</p>
15    /// - On failure, responds with [`SdkError<GetModelManifestError>`](crate::operation::get_model_manifest::GetModelManifestError)
16    pub fn get_model_manifest(&self) -> crate::operation::get_model_manifest::builders::GetModelManifestFluentBuilder {
17        crate::operation::get_model_manifest::builders::GetModelManifestFluentBuilder::new(self.handle.clone())
18    }
19}