刚刚更新的boto3,文档中未列出功能

时间:2018-08-21 15:11:36

标签: python amazon-web-services boto3

我正在尝试使用'describe_vpc_endpoint_service_configurations()'之类的方法从我的vpc端点服务获取信息。 但是,我收到此属性不存在的消息。我在做什么错了?

    >>> boto3.__version__
    '1.7.81'
    >>> botocore.__version__
    '1.10.81'
    >>> ec2 = boto3.client('ec2', region_name='us-west-2')
    >>> ec2.describe_vpc_endpoint_connection_notifications()
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/Users/erinmc/.virtualenvs/networking-gameday-2/lib/python2.7/site-packages/botocore/client.py", line 555, in __getattr__
self.__class__.__name__, item)
    AttributeError: 'EC2' object has no attribute 'describe_vpc_endpoint_connection_notifications'
    >>> ec2.describe_vpc_endpoint_service_configurations()
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/Users/erinmc/.virtualenvs/networking-gameday-2/lib/python2.7/site-packages/botocore/client.py", line 555, in __getattr__
self.__class__.__name__, item)
    AttributeError: 'EC2' object has no attribute 'describe_vpc_endpoint_service_configurations'

0 个答案:

没有答案