python - SSM 的 BOTO3 服务员类型
解决方案
您可以按如下方式验证这一点:
ssm = boto3.client('ssm')
print(ssm.waiter_names)
这将打印出空数组:
[]
为了比较,对于ec2:
ec2 = boto3.client('ec2')
print(ec2.waiter_names)
将给出(未全部显示):
['export_task_completed',
'image_available',
'image_exists',
'instance_exists',
'instance_running',
'instance_status_ok',
'instance_stopped',
'subnet_available',
'system_status_ok',
'volume_available',
'volume_deleted',
'volume_in_use',
'vpc_available',
'vpc_exists',
'vpc_peering_connection_deleted',
'vpc_peering_connection_exists',
'vpn_connection_available',
'vpn_connection_deleted']
get_waiter
方法可能是从某个父类继承的。
推荐阅读
- java - 捆绑多个 java 应用程序
- apache-nifi - 颠簸变换以删除破折号加上更复杂的东西
- java - Sudo 命令适用于 unix,但不适用于 java 代码
- php - 是否需要在我的网站中有 ssl 才能集成社交媒体登录
- c++ - C++ - 是否将 const 幻数放入命名空间
- javascript - 反应本机导航并导航到另一个屏幕问题
- sql-server - 使用 LINKED SERVER 从 SQL 插入到 ORACLE
- security - 通过脚本 Appmaker 限制对页面的访问
- html - 用 svg 替换字体真棒图标
- reactjs - 使用 YUP 验证文件是否存在