  def PrepareListImagesCmd(
      zone: str,
      qfilter: Optional[str] = None) -> str:
    """Wrapper around the CLI tool to list AMI images.

    Args:
      zone (str): The AWS zone in which to list the images, e.g. 'us-east-2b'.
      qfilter (str): The filter to apply.
      See https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#EC2.Client.describe_images  # pylint: disable=line-too-long

    Returns:
      str: The CLI command to run.
    """
    cmd = 'cloudforensics aws {0:s} listimages'.format(zone)
    if qfilter:
      cmd += ' --filter={0:s}'.format(qfilter)
    logger.info('CLI command: {0:s}'.format(cmd))
    return cmd
Wrapper around the CLI tool to list AMI images.

Args:
zone (str): The AWS zone in which to list the images, e.g. 'us-east-2b'.
qfilter (str): The filter to apply.
See https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#EC2.Client.describe_images  # pylint: disable=line-too-long

Returns:
str: The CLI command to run.
tests/providers/aws/aws_cli.py