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