aws_sdk_identitystore/client/
update_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 [`UpdateUser`](crate::operation::update_user::builders::UpdateUserFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identity_store_id(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::identity_store_id) / [`set_identity_store_id(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_identity_store_id):<br>required: **true**<br><p>The globally unique identifier for the identity store.</p><br>
7    ///   - [`user_id(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier for a user in the identity store.</p><br>
8    ///   - [`operations(AttributeOperation)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::operations) / [`set_operations(Option<Vec::<AttributeOperation>>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_operations):<br>required: **true**<br><p>A list of <code>AttributeOperation</code> objects to apply to the requested user. These operations might add, replace, or remove an attribute. For more information on the attributes that can be added, replaced, or removed, see <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html">User</a>.</p><br>
9    /// - On success, responds with [`UpdateUserOutput`](crate::operation::update_user::UpdateUserOutput)
10    /// - On failure, responds with [`SdkError<UpdateUserError>`](crate::operation::update_user::UpdateUserError)
11    pub fn update_user(&self) -> crate::operation::update_user::builders::UpdateUserFluentBuilder {
12        crate::operation::update_user::builders::UpdateUserFluentBuilder::new(self.handle.clone())
13    }
14}