aws_sdk_sagemaker/client/
delete_user_profile.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 [`DeleteUserProfile`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_id(impl Into<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::set_domain_id):<br>required: **true**<br><p>The domain ID.</p><br>
7    ///   - [`user_profile_name(impl Into<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::user_profile_name) / [`set_user_profile_name(Option<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::set_user_profile_name):<br>required: **true**<br><p>The user profile name.</p><br>
8    /// - On success, responds with [`DeleteUserProfileOutput`](crate::operation::delete_user_profile::DeleteUserProfileOutput)
9    /// - On failure, responds with [`SdkError<DeleteUserProfileError>`](crate::operation::delete_user_profile::DeleteUserProfileError)
10    pub fn delete_user_profile(&self) -> crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder {
11        crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::new(self.handle.clone())
12    }
13}