Struct aws_sdk_opsworks::operation::delete_user_profile::builders::DeleteUserProfileFluentBuilder
source · pub struct DeleteUserProfileFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteUserProfile.
Deletes a user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Implementations§
source§impl DeleteUserProfileFluentBuilder
impl DeleteUserProfileFluentBuilder
sourcepub fn as_input(&self) -> &DeleteUserProfileInputBuilder
pub fn as_input(&self) -> &DeleteUserProfileInputBuilder
Access the DeleteUserProfile as a reference.
sourcepub async fn send(
self
) -> Result<DeleteUserProfileOutput, SdkError<DeleteUserProfileError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteUserProfileOutput, SdkError<DeleteUserProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteUserProfileOutput, DeleteUserProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteUserProfileOutput, DeleteUserProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn iam_user_arn(self, input: impl Into<String>) -> Self
pub fn iam_user_arn(self, input: impl Into<String>) -> Self
The user's IAM ARN. This can also be a federated user's ARN.
sourcepub fn set_iam_user_arn(self, input: Option<String>) -> Self
pub fn set_iam_user_arn(self, input: Option<String>) -> Self
The user's IAM ARN. This can also be a federated user's ARN.
sourcepub fn get_iam_user_arn(&self) -> &Option<String>
pub fn get_iam_user_arn(&self) -> &Option<String>
The user's IAM ARN. This can also be a federated user's ARN.
Trait Implementations§
source§impl Clone for DeleteUserProfileFluentBuilder
impl Clone for DeleteUserProfileFluentBuilder
source§fn clone(&self) -> DeleteUserProfileFluentBuilder
fn clone(&self) -> DeleteUserProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more