1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetGroupVersion`](crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`group_id(impl Into<String>)`](crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder::set_group_id):<br>required: **true**<br>The ID of the Greengrass group.<br>
    ///   - [`group_version_id(impl Into<String>)`](crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder::group_version_id) / [`set_group_version_id(Option<String>)`](crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder::set_group_version_id):<br>required: **true**<br>The ID of the group version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListGroupVersions'' requests. If the version is the last one that was associated with a group, the value also maps to the ''LatestVersion'' property of the corresponding ''GroupInformation'' object.<br>
    /// - On success, responds with [`GetGroupVersionOutput`](crate::operation::get_group_version::GetGroupVersionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_group_version::GetGroupVersionOutput::arn): The ARN of the group version.
    ///   - [`creation_timestamp(Option<String>)`](crate::operation::get_group_version::GetGroupVersionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the group version was created.
    ///   - [`definition(Option<GroupVersion>)`](crate::operation::get_group_version::GetGroupVersionOutput::definition): Information about the group version definition.
    ///   - [`id(Option<String>)`](crate::operation::get_group_version::GetGroupVersionOutput::id): The ID of the group that the version is associated with.
    ///   - [`version(Option<String>)`](crate::operation::get_group_version::GetGroupVersionOutput::version): The ID of the group version.
    /// - On failure, responds with [`SdkError<GetGroupVersionError>`](crate::operation::get_group_version::GetGroupVersionError)
    pub fn get_group_version(&self) -> crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder {
        crate::operation::get_group_version::builders::GetGroupVersionFluentBuilder::new(self.handle.clone())
    }
}