aws_sdk_datazone/client/
update_user_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateUserProfile`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which a user profile is updated.</p><br>
    ///   - [`user_identifier(impl Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::user_identifier) / [`set_user_identifier(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_user_identifier):<br>required: **true**<br><p>The identifier of the user whose user profile is to be updated.</p><br>
    ///   - [`r#type(UserProfileType)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::type) / [`set_type(Option<UserProfileType>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_type):<br>required: **false**<br><p>The type of the user profile that are to be updated.</p><br>
    ///   - [`status(UserProfileStatus)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::status) / [`set_status(Option<UserProfileStatus>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_status):<br>required: **true**<br><p>The status of the user profile that are to be updated.</p><br>
    /// - On success, responds with [`UpdateUserProfileOutput`](crate::operation::update_user_profile::UpdateUserProfileOutput) with field(s):
    ///   - [`domain_id(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a user profile is updated.</p>
    ///   - [`id(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::id): <p>The identifier of the user profile.</p>
    ///   - [`r#type(Option<UserProfileType>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::type): <p>The type of the user profile.</p>
    ///   - [`status(Option<UserProfileStatus>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::status): <p>The status of the user profile.</p>
    ///   - [`details(Option<UserProfileDetails>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::details): <p>The details of the user profile in Amazon DataZone.</p>
    /// - On failure, responds with [`SdkError<UpdateUserProfileError>`](crate::operation::update_user_profile::UpdateUserProfileError)
    pub fn update_user_profile(&self) -> crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder {
        crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::new(self.handle.clone())
    }
}