aws_sdk_xray/client/
get_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetGroup`](crate::operation::get_group::builders::GetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>The case-sensitive name of the group.</p><br>
    ///   - [`group_arn(impl Into<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::group_arn) / [`set_group_arn(Option<String>)`](crate::operation::get_group::builders::GetGroupFluentBuilder::set_group_arn):<br>required: **false**<br><p>The ARN of the group that was generated on creation.</p><br>
    /// - On success, responds with [`GetGroupOutput`](crate::operation::get_group::GetGroupOutput) with field(s):
    ///   - [`group(Option<Group>)`](crate::operation::get_group::GetGroupOutput::group): <p>The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to the group.</p>
    /// - On failure, responds with [`SdkError<GetGroupError>`](crate::operation::get_group::GetGroupError)
    pub fn get_group(&self) -> crate::operation::get_group::builders::GetGroupFluentBuilder {
        crate::operation::get_group::builders::GetGroupFluentBuilder::new(self.handle.clone())
    }
}