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

AdminDeleteUser() public method

Deletes a user as an administrator. Works on any user.
/// 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 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 found. ///
public AdminDeleteUser ( AdminDeleteUserRequest request ) : AdminDeleteUserResponse
request Amazon.CognitoIdentityProvider.Model.AdminDeleteUserRequest Container for the necessary parameters to execute the AdminDeleteUser service method.
return AdminDeleteUserResponse
        public AdminDeleteUserResponse AdminDeleteUser(AdminDeleteUserRequest request)
        {
            var marshaller = new AdminDeleteUserRequestMarshaller();
            var unmarshaller = AdminDeleteUserResponseUnmarshaller.Instance;

            return Invoke<AdminDeleteUserRequest,AdminDeleteUserResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient