On 03/04/2015 07:37 AM, dinilrd wrote:
> Hello All,
> Might sound strange but not able to retrieve/create/use this boto
> object/and its method.
> Currently an attempt(correct or not?) throws:
> boto.configservice.connect_to_region('any-region')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "C:\Python27\Lib\site-packages\boto\configservice\__init__.py",
> line 38,
> in connect_to_region
> for region in regions():
> File "C:\Python27\Lib\site-packages\boto\configservice\__init__.py",
> line 33,
> in regions
> from boto.kms.layer1 import ConfigServiceConnection
> ImportError: cannot import name ConfigServiceConnection
>
> Am not sure of its reference to boto.kms.layer1 and not
> boto.configservice.layer1.
You could test by substituting boto.configservice.layer1 for
boto.kms.layer1 in
C:\Python27\Lib\site-packages\boto\configservice\__init__.py
> Is this a bug/issue with boto? Is there way to raise a request to get
> this fixed?
Yes, file an issue:
https://github.com/boto/boto/issues
> My boto is at 2.36.0
>
> There is support to use AWS Config in other regions than the default.
> And this object/method should indicate support to work with regions as
> well. But it fails, and even if it succeeds am not sure whether further
> functions needed to configure and use the service is present,
> essentially boto.configservice.layer1.ConfigServiceConnection.
>
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "boto-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
boto-users+...@googlegroups.com
> <mailto:
boto-users+...@googlegroups.com>.
> To post to this group, send email to
boto-...@googlegroups.com
> <mailto:
boto-...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/boto-users.
> For more options, visit
https://groups.google.com/d/optout.
--
Adrian Klaver
adrian...@aklaver.com