aws-sdk-iotfleetwise 1.106.0

AWS SDK for AWS IoT FleetWise
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetStateTemplate`](crate::operation::get_state_template::builders::GetStateTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_state_template::builders::GetStateTemplateFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_state_template::builders::GetStateTemplateFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique ID of the state template.</p><br>
    /// - On success, responds with [`GetStateTemplateOutput`](crate::operation::get_state_template::GetStateTemplateOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::get_state_template::GetStateTemplateOutput::name): <p>The name of the state template.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_state_template::GetStateTemplateOutput::arn): <p>The Amazon Resource Name (ARN) of the state template.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_state_template::GetStateTemplateOutput::description): <p>A brief description of the state template.</p>
    ///   - [`signal_catalog_arn(Option<String>)`](crate::operation::get_state_template::GetStateTemplateOutput::signal_catalog_arn): <p>The ARN of the signal catalog associated with the state template.</p>
    ///   - [`state_template_properties(Option<Vec::<String>>)`](crate::operation::get_state_template::GetStateTemplateOutput::state_template_properties): <p>A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.</p>
    ///   - [`data_extra_dimensions(Option<Vec::<String>>)`](crate::operation::get_state_template::GetStateTemplateOutput::data_extra_dimensions): <p>A list of vehicle attributes associated with the payload published on the state template's MQTT topic.</p> <p>Default: An empty array</p>
    ///   - [`metadata_extra_dimensions(Option<Vec::<String>>)`](crate::operation::get_state_template::GetStateTemplateOutput::metadata_extra_dimensions): <p>A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic.</p> <p>Default: An empty array</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::get_state_template::GetStateTemplateOutput::creation_time): <p>The time the state template was created in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
    ///   - [`last_modification_time(Option<DateTime>)`](crate::operation::get_state_template::GetStateTemplateOutput::last_modification_time): <p>The time the state template was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
    ///   - [`id(Option<String>)`](crate::operation::get_state_template::GetStateTemplateOutput::id): <p>The unique ID of the state template.</p>
    /// - On failure, responds with [`SdkError<GetStateTemplateError>`](crate::operation::get_state_template::GetStateTemplateError)
    pub fn get_state_template(&self) -> crate::operation::get_state_template::builders::GetStateTemplateFluentBuilder {
        crate::operation::get_state_template::builders::GetStateTemplateFluentBuilder::new(self.handle.clone())
    }
}