1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCoreDefinitionVersion`](crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`core_definition_id(impl Into<String>)`](crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder::core_definition_id) / [`set_core_definition_id(Option<String>)`](crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder::set_core_definition_id):<br>required: **true**<br>The ID of the core definition.<br>
    ///   - [`core_definition_version_id(impl Into<String>)`](crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder::core_definition_version_id) / [`set_core_definition_version_id(Option<String>)`](crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder::set_core_definition_version_id):<br>required: **true**<br>The ID of the core definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListCoreDefinitionVersions'' requests. If the version is the last one that was associated with a core definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.<br>
    /// - On success, responds with [`GetCoreDefinitionVersionOutput`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::arn): The ARN of the core definition version.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the core definition version was created.
    ///   - [`definition(Option<CoreDefinitionVersion>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::definition): Information about the core definition version.
    ///   - [`id(Option<String>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::id): The ID of the core definition version.
    ///   - [`next_token(Option<String>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::next_token): The token for the next set of results, or ''null'' if there are no additional results.
    ///   - [`version(Option<String>)`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionOutput::version): The version of the core definition version.
    /// - On failure, responds with [`SdkError<GetCoreDefinitionVersionError>`](crate::operation::get_core_definition_version::GetCoreDefinitionVersionError)
    pub fn get_core_definition_version(&self) -> crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder {
        crate::operation::get_core_definition_version::builders::GetCoreDefinitionVersionFluentBuilder::new(self.handle.clone())
    }
}