aws_sdk_opsworks/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    ///   - [`iam_user_arn(impl Into<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::iam_user_arn) / [`set_iam_user_arn(Option<String>)`](crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::set_iam_user_arn):<br>required: **true**<br><p>The user's IAM ARN. This can also be a federated user's ARN.</p><br>
7    /// - On success, responds with [`DeleteUserProfileOutput`](crate::operation::delete_user_profile::DeleteUserProfileOutput)
8    /// - On failure, responds with [`SdkError<DeleteUserProfileError>`](crate::operation::delete_user_profile::DeleteUserProfileError)
9    pub fn delete_user_profile(&self) -> crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder {
10        crate::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder::new(self.handle.clone())
11    }
12}