code: def _clone_command_for_codecommit_https(git_config, dest_dir):
      """Invoke the clone command for codecommit.
  
      Args:
          git_config: The git configuration.
          dest_dir: The destination directory for the clone.
      """
      updated_url = git_config["repo"]
      if "username" in git_config and "password" in git_config:
          updated_url = _insert_username_and_password_to_repo_url(
              url=git_config["repo"],
              username=git_config["username"],
              password=git_config["password"],
          )
      elif "username" in git_config or "password" in git_config:
          warnings.warn(
              "Credentials provided in git config will be ignored."
          )
      _run_clone_command(updated_url, dest_dir)
  
imports: from __future__ import absolute_import
  import os
  from pathlib import Path
  import subprocess
  import tempfile
  import warnings
  import six
  from six.moves import urllib
label_desc: Use image node_id 9 for calling a global function with example usage: _clone_command_for_codecommit_https(git_config, dest_dir) without return types