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 [`GetResourceDefinition`](crate::operation::get_resource_definition::builders::GetResourceDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_definition_id(impl Into<String>)`](crate::operation::get_resource_definition::builders::GetResourceDefinitionFluentBuilder::resource_definition_id) / [`set_resource_definition_id(Option<String>)`](crate::operation::get_resource_definition::builders::GetResourceDefinitionFluentBuilder::set_resource_definition_id):<br>required: **true**<br>The ID of the resource definition.<br>
    /// - On success, responds with [`GetResourceDefinitionOutput`](crate::operation::get_resource_definition::GetResourceDefinitionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::arn): The ARN of the definition.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the definition was created.
    ///   - [`id(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::id): The ID of the definition.
    ///   - [`last_updated_timestamp(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::last_updated_timestamp): The time, in milliseconds since the epoch, when the definition was last updated.
    ///   - [`latest_version(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::latest_version): The ID of the latest version associated with the definition.
    ///   - [`latest_version_arn(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::latest_version_arn): The ARN of the latest version associated with the definition.
    ///   - [`name(Option<String>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::name): The name of the definition.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_resource_definition::GetResourceDefinitionOutput::tags): Tag(s) attached to the resource arn.
    /// - On failure, responds with [`SdkError<GetResourceDefinitionError>`](crate::operation::get_resource_definition::GetResourceDefinitionError)
    pub fn get_resource_definition(&self) -> crate::operation::get_resource_definition::builders::GetResourceDefinitionFluentBuilder {
        crate::operation::get_resource_definition::builders::GetResourceDefinitionFluentBuilder::new(self.handle.clone())
    }
}