code: def _s3_cmd(self, name, args, quiet=False):
      cmd = [_aws_cmd()]
      if self.region:
          cmd.extend(["--region", self.region])
      cmd.extend(["s3", name] + args)
      log.debug("aws cmd: %r", cmd)
      try:
          remote_util.subprocess_call(
              cmd, extra_env=self.local_env, quiet=quiet
          )
      except subprocess.CalledProcessError as e:
          raise remotelib.RemoteProcessError.for_called_process_error(e)
  
imports: import itertools
  import logging
  import os
  import subprocess
  import sys
  import uuid
  from guild import remote
  from guild import remote_util
  from guild import util
  from guild import var
  from .None import meta_sync
label_desc: Use image node_id 8 for calling the S3Remote obj's underlying member method code with example usage: obj._s3_cmd(name, args, quiet) without return types