Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用AWS Python SDK Boto 3等待弹性Beanstalk事件_Python_Amazon Web Services_Amazon Elastic Beanstalk_Aws Sdk_Boto3 - Fatal编程技术网

如何使用AWS Python SDK Boto 3等待弹性Beanstalk事件

如何使用AWS Python SDK Boto 3等待弹性Beanstalk事件,python,amazon-web-services,amazon-elastic-beanstalk,aws-sdk,boto3,Python,Amazon Web Services,Amazon Elastic Beanstalk,Aws Sdk,Boto3,我有一个带有环境的弹性Beanstalk应用程序,我正在使用Boto 3 SDK更新环境版本。我找不到任何关于如何等待Beanstalk状态更改的示例 我可以看到服务员的例子 没有弹性豆茎服务员的文件 我的更新代码如下所示 response = eb.update_environment( EnvironmentName=ebEnvironment, VersionLabel=appVersion ) print response # I would lik

我有一个带有环境的弹性Beanstalk应用程序,我正在使用Boto 3 SDK更新环境版本。我找不到任何关于如何等待Beanstalk状态更改的示例

我可以看到服务员的例子

没有弹性豆茎服务员的文件

我的更新代码如下所示

  response = eb.update_environment(
    EnvironmentName=ebEnvironment, 
    VersionLabel=appVersion
  )

  print response

  # I would like to wait here for update to finish

有人能提供一些帮助吗?

boto3 ElasticBeanstalk客户端似乎不支持服务员:

>>> import boto3
>>> cf = boto3.client('cloudformation')
>>> cf.waiter_names
[u'change_set_create_complete',
 u'stack_create_complete',
 u'stack_delete_complete',
 u'stack_exists',
 u'stack_update_complete']
>>> eb = boto3.client('elasticbeanstalk')
>>> eb.waiter_names
[]
>>>
您可以在boto3 github repo上创建功能请求