docs: def _get_roots(self):
          """
          Return URL roots for this storage.
  
          Returns:
              tuple of str or re.Pattern: URL roots
          """
          region = self._get_session().region_name or r'[\w-]+'
          return (
                  # S3 scheme
                  # - s3://<bucket>/<key>
                  's3://',
  
                  # Virtual-hosted–style URL
                  # - http://<bucket>.s3.amazonaws.com/<key>
                  # - https://<bucket>.s3.amazonaws.com/<key>
                  # - http://<bucket>.s3-<region>.amazonaws.com/<key>
                  # - https://<bucket>.s3-<region>.amazonaws.com/<key>
                  _re.compile(r'https?://[\w.-]+\.s3\.amazonaws\.com'),
                  _re.compile(
                      r'https?://[\w.-]+\.s3-%s\.amazonaws\.com' % region),
  
                  # Path-hosted–style URL
                  # - http://s3.amazonaws.com/<bucket>/<key>
                  # - https://s3.amazonaws.com/<bucket>/<key>
                  # - http://s3-<region>.amazonaws.com/<bucket>/<key>
                  # - https://s3-<region>.amazonaws.com/<bucket>/<key>
                  _re.compile(r'https?://s3\.amazonaws\.com'),
                  _re.compile(r'https?://s3-%s\.amazonaws\.com' % region),
  
                  # Transfer acceleration URL
                  # - http://<bucket>.s3-accelerate.amazonaws.com
                  # - https://<bucket>.s3-accelerate.amazonaws.com
                  # - http://<bucket>.s3-accelerate.dualstack.amazonaws.com
                  # - https://<bucket>.s3-accelerate.dualstack.amazonaws.com
                  _re.compile(
                      r'https?://[\w.-]+\.s3-accelerate\.amazonaws\.com'),
                  _re.compile(
                      r'https?://[\w.-]+\.s3-accelerate\.dualstack'
                      r'\.amazonaws\.com'))