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 [`GetResourceDefinitionVersion`](crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_definition_id(impl Into<String>)`](crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder::resource_definition_id) / [`set_resource_definition_id(Option<String>)`](crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder::set_resource_definition_id):<br>required: **true**<br>The ID of the resource definition.<br>
    ///   - [`resource_definition_version_id(impl Into<String>)`](crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder::resource_definition_version_id) / [`set_resource_definition_version_id(Option<String>)`](crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder::set_resource_definition_version_id):<br>required: **true**<br>The ID of the resource definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListResourceDefinitionVersions'' requests. If the version is the last one that was associated with a resource definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.<br>
    /// - On success, responds with [`GetResourceDefinitionVersionOutput`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput::arn): Arn of the resource definition version.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the resource definition version was created.
    ///   - [`definition(Option<ResourceDefinitionVersion>)`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput::definition): Information about the definition.
    ///   - [`id(Option<String>)`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput::id): The ID of the resource definition version.
    ///   - [`version(Option<String>)`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionOutput::version): The version of the resource definition version.
    /// - On failure, responds with [`SdkError<GetResourceDefinitionVersionError>`](crate::operation::get_resource_definition_version::GetResourceDefinitionVersionError)
    pub fn get_resource_definition_version(
        &self,
    ) -> crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder {
        crate::operation::get_resource_definition_version::builders::GetResourceDefinitionVersionFluentBuilder::new(self.handle.clone())
    }
}