aws_sdk_resourcegroups/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_name(impl Into<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::set_group_name):<br>required: **false**<br><p>Deprecated - don't use this parameter. Use <code>Group</code> instead.</p><br>
7 /// - [`group(impl Into<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::group) / [`set_group(Option<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::set_group):<br>required: **false**<br><p>The name or the Amazon resource name (ARN) of the resource group to retrieve.</p><br>
8 /// - On success, responds with [`GetGroupOutput`](crate::operation::get_group::GetGroupOutput) with field(s):
9 /// - [`group(Option<Group>)`](crate::operation::get_group::GetGroupOutput::group): <p>A structure that contains the metadata details for the specified resource group. Use <code>GetGroupQuery</code> and <code>GetGroupConfiguration</code> to get those additional details of the resource group.</p>
10 /// - On failure, responds with [`SdkError<GetGroupError>`](crate::operation::get_group::GetGroupError)
11 pub fn get_group(&self) -> crate::operation::get_group::builders::GetGroupFluentBuilder {
12 crate::operation::get_group::builders::GetGroupFluentBuilder::new(self.handle.clone())
13 }
14}