aws_sdk_codestar/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    ///   - [`user_arn(impl Into<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::user_arn) / [`set_user_arn(Option<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::set_user_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.</p><br>
7    /// - On success, responds with [`DeleteUserProfileOutput`](crate::operation::delete_user_profile::DeleteUserProfileOutput) with field(s):
8    ///   - [`user_arn(String)`](crate::operation::delete_user_profile::DeleteUserProfileOutput::user_arn): <p>The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.</p>
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}