boto3 - boto3的ECS服务员的成功/失败条件是什么?
问题描述
Boto3 有 4 个 ECS 服务员,ServicesStable、ServicesStopped、TasksRunning 和 TasksStopped。然而,文档并没有具体说明这些服务员的实际成功和失败条件是什么。例如,
每 6 秒轮询一次 ECS.Client.describe_tasks(),直到达到成功状态。检查失败 100 次后返回错误。
这些服务员究竟在等什么?
解决方案
Looks like you got the specific configuration you were looking for but more generally if you're looking for the details of the waiter conditions in boto3 you'll navigate to the botocore data folder on github. Then look in the subfolders for a waiters-2.json file and it will have those details.
推荐阅读
- mule - Mulesoft4 MCD 1 级认证考试
- java - 当需要在第 30 行找到值时,帕斯卡三角整数溢出
- java - Hibernate 搜索 - cconvert sql 到 lucene 查询
- rust - 基于条件如何将输出分配给匹配类型的变量
- jquery - 滚动仅适用于第二次单击
- pandas - 将字典值映射到 pandas 列
- react-native - 反应本机中的模块dismissKeyboard问题?
- batch-file - 我遇到了 Jenkins 的问题。我在 Jenkins 中选择了执行 windows 批处理命令并出现以下错误
- javascript - 如何根据数组的长度和属性名称过滤数组?
- c++ - 函数指针比较