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

AdminDisableUser() public method

Disables the specified 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 AdminDisableUser ( AdminDisableUserRequest request ) : AdminDisableUserResponse
request Amazon.CognitoIdentityProvider.Model.AdminDisableUserRequest Container for the necessary parameters to execute the AdminDisableUser service method.
return AdminDisableUserResponse
        public AdminDisableUserResponse AdminDisableUser(AdminDisableUserRequest request)
        {
            var marshaller = new AdminDisableUserRequestMarshaller();
            var unmarshaller = AdminDisableUserResponseUnmarshaller.Instance;

            return Invoke<AdminDisableUserRequest,AdminDisableUserResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient