我有一个脚本,可以自动从AWS备份中恢复作业
我从boto3的文档中获取指导:https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/backup.html
我正在使用函数start_restore_job()
启动作业,然后describe_restore_job()
查询CreatedResourceArn
启动还原作业后,我需要等待还原完成,以便查询CreatedResourceArn。这里的问题是AWS备份在其文档中没有定义任何等待者。有人知道怎么做吗
另外,在浏览文档时,我看到函数get_waiter()
:
为什么在没有为AWS备份定义Waiter时此功能可用
看起来服务生不存在,但您可以创建自己的客户服务生,如下所示:
相关问题 更多 >
编程相关推荐