code: def aws_environment_variables(
      bucket_name: Text,
      region_name: Text,
      aws_endpoint_url: Text,
  ) -> None:
      """Set AWS environment variables for testing."""
      os.environ["BUCKET_NAME"] = bucket_name
      os.environ["AWS_ENDPOINT_URL"] = aws_endpoint_url
      os.environ["AWS_DEFAULT_REGION"] = region_name
  
      access_key = create_user_with_access_key_and_attached_policy(
          region_name
      )
  
      os.environ["AWS_ACCESS_KEY_ID"] = access_key["AccessKeyId"]
      os.environ["AWS_SECRET_ACCESS_KEY"] = access_key[
          "SecretAccessKey"
      ]
      os.environ["AWS_SECURITY_TOKEN"] = "testing"
      os.environ["AWS_SESSION_TOKEN"] = "testing"
  
      os.environ["TEST_SERVER_MODE"] = "true"
  
file_path: rasa/tests/integration_tests/core/test_agent.py
imports: import json
  import os
  from pathlib import Path
  from typing import Any, Text
  import boto3
  import pytest
  from moto import mock_iam, mock_s3
  from pytest import MonkeyPatch
  from rasa.core.agent import Agent
  from rasa.nlu.persistor import AWSPersistor
  from rasa.shared.exceptions import RasaException
label_desc: Use image node_id 5 for calling a global function with example usage: aws_environment_variables(bucket_name, region_name, aws_endpoint_url) without return types