所以我不确定如何使用以下方法指向正确的域:
boto3.client('cloudsearchdomain').upload_documents(file, type)
documentation说使用CloudSearch DescribeDomains
操作配置域。
但是,documentation for CloudSearch仅列出方法describe_domains
,仅列出域,信息等。
我如何指向正确的域以将文档上传到CloudSearch?
初始化客户端时,使用kwarg endpoint_url
->
boto3.client('cloudsearchdomain', endpoint_url="http://search.example.cloudsearch.aws")