Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.DeleteUser C# (CSharp) Method

DeleteUser() public method

Allows a user to delete one's self.
/// This exception is thrown when Amazon Cognito encounters an internal error. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid parameter. /// /// This exception gets thrown when a user is not authorized. /// /// This exception is thrown when a password reset is required. /// /// This exception is thrown when the Amazon Cognito service cannot find the requested /// resource. /// /// This exception gets thrown when the user has made too many requests for a given operation. /// /// This exception is thrown when a user is not confirmed successfully. /// /// This exception is thrown when a user is not found. ///
public DeleteUser ( DeleteUserRequest request ) : DeleteUserResponse
request Amazon.CognitoIdentityProvider.Model.DeleteUserRequest Container for the necessary parameters to execute the DeleteUser service method.
return DeleteUserResponse
        public DeleteUserResponse DeleteUser(DeleteUserRequest request)
        {
            var marshaller = new DeleteUserRequestMarshaller();
            var unmarshaller = DeleteUserResponseUnmarshaller.Instance;

            return Invoke<DeleteUserRequest,DeleteUserResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient