parameters: (region)
docstring: Get the regional AWS STS endpoint for the provided region
          :param region: [Optiona;] The region to use, otherwise provide the global endpoint
          :return: The appropriate regional or global STS endpoint
docstring_summary: Get the regional AWS STS endpoint for the provided region
          :param region: [Optiona;] The region to use, otherwise provide the global endpoint
          :return: The appropriate regional or global STS endpoint
docstring_tokens: Get the regional AWS STS endpoint for the provided region : param region : [ Optiona ; ] The region to use otherwise provide the global endpoint : return : The appropriate regional or global STS endpoint
function: def __get_sts_endpoint(region):
          """
          Get the regional AWS STS endpoint for the provided region
          :param region: [Optiona;] The region to use, otherwise provide the global endpoint
          :return: The appropriate regional or global STS endpoint
          """
          if region is not None:
              return "https://sts.{region}.amazonaws.com".format(region=region)
          else:
              print("No region provided. Defaulting to global STS endpoint")
              return "https://sts.amazonaws.com"
function_tokens: def __get_sts_endpoint ( region ) : if region is not None : return "https://sts.{region}.amazonaws.com" . format ( region = region ) else : print ( "No region provided. Defaulting to global STS endpoint" ) return "https://sts.amazonaws.com"