aws_sdk_qbusiness/client/
get_user.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 [`GetUser`](crate::operation::get_user::builders::GetUserFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_user::builders::GetUserFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_user::builders::GetUserFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the application connected to the user.</p><br>
7    ///   - [`user_id(impl Into<String>)`](crate::operation::get_user::builders::GetUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_user::builders::GetUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The user email address attached to the user.</p><br>
8    /// - On success, responds with [`GetUserOutput`](crate::operation::get_user::GetUserOutput) with field(s):
9    ///   - [`user_aliases(Option<Vec::<UserAlias>>)`](crate::operation::get_user::GetUserOutput::user_aliases): <p>A list of user aliases attached to a user.</p>
10    /// - On failure, responds with [`SdkError<GetUserError>`](crate::operation::get_user::GetUserError)
11    pub fn get_user(&self) -> crate::operation::get_user::builders::GetUserFluentBuilder {
12        crate::operation::get_user::builders::GetUserFluentBuilder::new(self.handle.clone())
13    }
14}