class_docstr: AWS environment.
docstr: Create an AWS environment from the default AWS environment.
  
  Arguments:
      config (dict): Configuration dictionary.
      verify (bool, optional): Whether to verify the AWS environment. Defaults to True.
  
  Returns:
      AwsEnvironment: The AWS environment.
docstr_tok: ["Create","an","AWS","environment","from","the","default","AWS","environment",".","Arguments",":","config","(","dict",")",":","Configuration","dictionary",".","verify","(","bool",",","optional",")",":","Whether","to","verify","the","AWS","environment",".","Defaults","to","True",".","Returns",":","AwsEnvironment",":","The","AWS","environment","."]
code: def from_config(
      cls,
      config: Dict[str, str],
  ) -> "AwsEnvironment":
      """Create an AWS environment from the default AWS environment.
  
      Arguments:
          config (dict): Configuration dictionary.
          verify (bool, optional): Whether to verify the AWS environment. Defaults to True.
  
      Returns:
          AwsEnvironment: The AWS environment.
      """
      region = str(config.get("region", ""))
      if not region:
          raise LaunchError(
              "Could not create AWS environment from config. Region not specified."
          )
      return cls.from_default(
          region=region,
      )
  
file_path: wandb/wandb/sdk/launch/environment/aws_environment.py
imports: import logging
  import os
  from typing import Dict, Optional
  from wandb.sdk.launch.errors import LaunchError
  from wandb.util import get_module
  from ..utils import S3_URI_RE, event_loop_thread_exec
  from .abstract import AbstractEnvironment
label_desc: Use image node_id 3 for calling the AwsEnvironment obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls