code: def main_group(
      ctx,
      verbose,
      quiet,
      aws_profile,
      aws_no_sign_requests,
      aws_requester_pays,
      gdal_version,
      show_versions,
  ):
      """Rasterio command line interface."""
      verbosity = verbose - quiet
      configure_logging(verbosity)
      ctx.obj = {}
      ctx.obj["verbosity"] = verbosity
      ctx.obj["aws_profile"] = aws_profile
      envopts = {"CPL_DEBUG": (verbosity > 2)}
      if aws_profile or aws_no_sign_requests or aws_requester_pays:
          ctx.obj["env"] = rasterio.Env(
              session=AWSSession(
                  profile_name=aws_profile,
                  aws_unsigned=aws_no_sign_requests,
                  requester_pays=aws_requester_pays,
              ),
              **envopts,
          )
      else:
          ctx.obj["env"] = rasterio.Env(**envopts)
  
file_path: rasterio/rasterio/rio/main.py
imports: import logging
  from pkg_resources import iter_entry_points
  import sys
  from click_plugins import with_plugins
  import click
  import cligj
  import rasterio
  from rasterio.session import AWSSession
label_desc: Use image node_id 4 for calling a global function with example usage: main_group(ctx, verbose, quiet, aws_profile, aws_no_sign_requests, aws_requester_pays, gdal_version, show_versions) without return types