aws_sdk_synthetics/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_identifier(impl Into<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::group_identifier) / [`set_group_identifier(Option<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::set_group_identifier):<br>required: **true**<br><p>Specifies the group to return information for. You can specify the group name, the ARN, or the group ID as the <code>GroupIdentifier</code>.</p><br>
7    /// - On success, responds with [`GetGroupOutput`](crate::operation::get_group::GetGroupOutput) with field(s):
8    ///   - [`group(Option<Group>)`](crate::operation::get_group::GetGroupOutput::group): <p>A structure that contains information about the group.</p>
9    /// - On failure, responds with [`SdkError<GetGroupError>`](crate::operation::get_group::GetGroupError)
10    pub fn get_group(&self) -> crate::operation::get_group::builders::GetGroupFluentBuilder {
11        crate::operation::get_group::builders::GetGroupFluentBuilder::new(self.handle.clone())
12    }
13}