用于 boto3 的 AWS SNS 和 Waiter 函数
AWS SNS and Waiter functions for boto3
我正在尝试使用 AWS 编写一个应用程序,该应用程序通过 boto3 库使用 SNS/SQS 来利用 Pub-Sub 模式。如果需要我会提供代码,但我认为我的问题很笼统。
我已经阅读了有关服务员的文档,但是当我去显示 SNS 的可用服务员时,列表返回为空。我还尝试获取可用 SQS 服务员的列表,但返回时也是空的。
是否存在确定服务员功能是否可访问的条件?是否需要制定政策设置?
没有别的事可做,因为没有 SQS 或 SNS 的服务员,如下所示:
$ python
Python 3.6.5 (default, Apr 25 2018, 14:26:36)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto3
>>> sqs = boto3.client('sqs')
>>> sns = boto3.client('sns')
>>> sqs.waiter_names
[]
>>> sns.waiter_names
[]
我正在尝试使用 AWS 编写一个应用程序,该应用程序通过 boto3 库使用 SNS/SQS 来利用 Pub-Sub 模式。如果需要我会提供代码,但我认为我的问题很笼统。
我已经阅读了有关服务员的文档,但是当我去显示 SNS 的可用服务员时,列表返回为空。我还尝试获取可用 SQS 服务员的列表,但返回时也是空的。
是否存在确定服务员功能是否可访问的条件?是否需要制定政策设置?
没有别的事可做,因为没有 SQS 或 SNS 的服务员,如下所示:
$ python
Python 3.6.5 (default, Apr 25 2018, 14:26:36)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto3
>>> sqs = boto3.client('sqs')
>>> sns = boto3.client('sns')
>>> sqs.waiter_names
[]
>>> sns.waiter_names
[]