code: def _get_environment():
      return AwsEnvironment(
          region="us-west-2",
          secret_key="secret_key",
          access_key="access_key",
          session_token="token",
      )
  
file_path: wandb/tests/pytest_tests/unit_tests/test_launch/test_environment/test_aws.py
imports: import os
  from unittest.mock import MagicMock
  import pytest
  from botocore.exceptions import ClientError
  from wandb.sdk.launch.environment.aws_environment import AwsEnvironment
  from wandb.sdk.launch.errors import LaunchError
label_desc: Use image node_id 1 for calling a global function with example usage: _get_environment() and returns: AwsEnvironment