1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeGroup`](crate::operation::describe_group::builders::DescribeGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl ::std::convert::Into<String>)`](crate::operation::describe_group::builders::DescribeGroupFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::describe_group::builders::DescribeGroupFluentBuilder::set_organization_id): <p>The identifier for the organization under which the group exists.</p>
    ///   - [`group_id(impl ::std::convert::Into<String>)`](crate::operation::describe_group::builders::DescribeGroupFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::describe_group::builders::DescribeGroupFluentBuilder::set_group_id): <p>The identifier for the group to be described.</p>
    /// - On success, responds with [`DescribeGroupOutput`](crate::operation::describe_group::DescribeGroupOutput) with field(s):
    ///   - [`group_id(Option<String>)`](crate::operation::describe_group::DescribeGroupOutput::group_id): <p>The identifier of the described group.</p>
    ///   - [`name(Option<String>)`](crate::operation::describe_group::DescribeGroupOutput::name): <p>The name of the described group.</p>
    ///   - [`email(Option<String>)`](crate::operation::describe_group::DescribeGroupOutput::email): <p>The email of the described group.</p>
    ///   - [`state(Option<EntityState>)`](crate::operation::describe_group::DescribeGroupOutput::state): <p>The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).</p>
    ///   - [`enabled_date(Option<DateTime>)`](crate::operation::describe_group::DescribeGroupOutput::enabled_date): <p>The date and time when a user was registered to WorkMail, in UNIX epoch time format.</p>
    ///   - [`disabled_date(Option<DateTime>)`](crate::operation::describe_group::DescribeGroupOutput::disabled_date): <p>The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.</p>
    /// - On failure, responds with [`SdkError<DescribeGroupError>`](crate::operation::describe_group::DescribeGroupError)
    pub fn describe_group(&self) -> crate::operation::describe_group::builders::DescribeGroupFluentBuilder {
        crate::operation::describe_group::builders::DescribeGroupFluentBuilder::new(self.handle.clone())
    }
}