code: def get_aws_client(
      module,
      with_error=False,
      role_arn=None,
      session_vars=None,
      client_params=None,
  ):
      global cached_provider_class
      if cached_provider_class is None:
          from metaflow.metaflow_config import (
              DEFAULT_AWS_CLIENT_PROVIDER,
          )
          from metaflow.plugins import AWS_CLIENT_PROVIDERS
  
          for p in AWS_CLIENT_PROVIDERS:
              if p.name == DEFAULT_AWS_CLIENT_PROVIDER:
                  cached_provider_class = p
                  break
          else:
              raise ValueError(
                  "Cannot find AWS Client provider %s"
                  % DEFAULT_AWS_CLIENT_PROVIDER
              )
      return cached_provider_class.get_client(
          module,
          with_error,
          role_arn=role_arn,
          session_vars=session_vars,
          client_params=client_params,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_aws_client(module, with_error, role_arn, session_vars, client_params) and returns: cached_provider_class