1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDeviceDefinition`](crate::operation::get_device_definition::builders::GetDeviceDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`device_definition_id(impl Into<String>)`](crate::operation::get_device_definition::builders::GetDeviceDefinitionFluentBuilder::device_definition_id) / [`set_device_definition_id(Option<String>)`](crate::operation::get_device_definition::builders::GetDeviceDefinitionFluentBuilder::set_device_definition_id):<br>required: **true**<br>The ID of the device definition.<br>
    /// - On success, responds with [`GetDeviceDefinitionOutput`](crate::operation::get_device_definition::GetDeviceDefinitionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::arn): The ARN of the definition.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the definition was created.
    ///   - [`id(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::id): The ID of the definition.
    ///   - [`last_updated_timestamp(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::last_updated_timestamp): The time, in milliseconds since the epoch, when the definition was last updated.
    ///   - [`latest_version(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::latest_version): The ID of the latest version associated with the definition.
    ///   - [`latest_version_arn(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::latest_version_arn): The ARN of the latest version associated with the definition.
    ///   - [`name(Option<String>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::name): The name of the definition.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_device_definition::GetDeviceDefinitionOutput::tags): Tag(s) attached to the resource arn.
    /// - On failure, responds with [`SdkError<GetDeviceDefinitionError>`](crate::operation::get_device_definition::GetDeviceDefinitionError)
    pub fn get_device_definition(&self) -> crate::operation::get_device_definition::builders::GetDeviceDefinitionFluentBuilder {
        crate::operation::get_device_definition::builders::GetDeviceDefinitionFluentBuilder::new(self.handle.clone())
    }
}