aws_sdk_iotfleetwise/client/
get_decoder_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 [`GetDecoderManifest`](crate::operation::get_decoder_manifest::builders::GetDecoderManifestFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_decoder_manifest::builders::GetDecoderManifestFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_decoder_manifest::builders::GetDecoderManifestFluentBuilder::set_name):<br>required: **true**<br><p>The name of the decoder manifest to retrieve information about.</p><br>
7    /// - On success, responds with [`GetDecoderManifestOutput`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::name): <p>The name of the decoder manifest.</p>
9    ///   - [`arn(String)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::arn): <p>The Amazon Resource Name (ARN) of the decoder manifest.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::description): <p>A brief description of the decoder manifest.</p>
11    ///   - [`model_manifest_arn(Option<String>)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::model_manifest_arn): <p>The ARN of a vehicle model (model manifest) associated with the decoder manifest.</p>
12    ///   - [`status(Option<ManifestStatus>)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::status): <p>The state of the decoder manifest. If the status is <code>ACTIVE</code>, the decoder manifest can't be edited. If the status is marked <code>DRAFT</code>, you can edit the decoder manifest.</p>
13    ///   - [`creation_time(DateTime)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::creation_time): <p>The time the decoder manifest was created in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
14    ///   - [`last_modification_time(DateTime)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::last_modification_time): <p>The time the decoder manifest was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
15    ///   - [`message(Option<String>)`](crate::operation::get_decoder_manifest::GetDecoderManifestOutput::message): <p>The detailed message for the decoder manifest. When a decoder manifest is in an <code>INVALID</code> status, the message contains detailed reason and help information.</p>
16    /// - On failure, responds with [`SdkError<GetDecoderManifestError>`](crate::operation::get_decoder_manifest::GetDecoderManifestError)
17    pub fn get_decoder_manifest(&self) -> crate::operation::get_decoder_manifest::builders::GetDecoderManifestFluentBuilder {
18        crate::operation::get_decoder_manifest::builders::GetDecoderManifestFluentBuilder::new(self.handle.clone())
19    }
20}