aws_sdk_workdocs/client/create_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateUser`](crate::operation::create_user::builders::CreateUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_organization_id):<br>required: **false**<br><p>The ID of the organization.</p><br>
/// - [`username(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::username) / [`set_username(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_username):<br>required: **true**<br><p>The login name of the user.</p><br>
/// - [`email_address(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_email_address):<br>required: **false**<br><p>The email address of the user.</p><br>
/// - [`given_name(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::given_name) / [`set_given_name(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_given_name):<br>required: **true**<br><p>The given name of the user.</p><br>
/// - [`surname(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::surname) / [`set_surname(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_surname):<br>required: **true**<br><p>The surname of the user.</p><br>
/// - [`password(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_password):<br>required: **true**<br><p>The password of the user.</p><br>
/// - [`time_zone_id(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::time_zone_id) / [`set_time_zone_id(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_time_zone_id):<br>required: **false**<br><p>The time zone ID of the user.</p><br>
/// - [`storage_rule(StorageRuleType)`](crate::operation::create_user::builders::CreateUserFluentBuilder::storage_rule) / [`set_storage_rule(Option<StorageRuleType>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_storage_rule):<br>required: **false**<br><p>The amount of storage for the user.</p><br>
/// - [`authentication_token(impl Into<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::create_user::builders::CreateUserFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
/// - On success, responds with [`CreateUserOutput`](crate::operation::create_user::CreateUserOutput) with field(s):
/// - [`user(Option<User>)`](crate::operation::create_user::CreateUserOutput::user): <p>The user information.</p>
/// - On failure, responds with [`SdkError<CreateUserError>`](crate::operation::create_user::CreateUserError)
pub fn create_user(&self) -> crate::operation::create_user::builders::CreateUserFluentBuilder {
crate::operation::create_user::builders::CreateUserFluentBuilder::new(self.handle.clone())
}
}