How to connect to an existing CloudSearch domain in boto?

0 votes

I am trying to connect boto to Amazon CloudSearch.  But I couldn't figure out how to connect to already existing domain. Most of the examples that I have looked into are about connecting to new domain.

Any suggestions as to how I can connect to an existing domain?

Mar 14 in AWS by datageek
• 3,040 points
54 views

1 answer to this question.

0 votes

You can use conn.list_domains() which will return a list of Domain objects for all of your current domains.  Or you can do conn.lookup('&&&&') which will return a Domain object for the specified domain name. 

Using this sometimes might rise an error of sort:  AttributeError: 'Layer2' object has no attribute 'lookup'

In such cases just update boto. It should work correctly then. Hope this helped!

answered Mar 14 by Archana
• 5,580 points

Related Questions In AWS

0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,110 points
206 views
0 votes
1 answer

How to connect Amazon RedShift in Apache Spark?

It turns out you just need a ...READ MORE

answered Aug 22, 2018 in AWS by Archana
• 4,110 points
2,509 views
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,300 points
265 views
0 votes
1 answer

Deploy multiple platforms to Elastic Beanstalk

Solve by using .ebextentions to run pre-install commands in ...READ MORE

answered Nov 28, 2018 in AWS by Archana
• 5,580 points
85 views
0 votes
1 answer
+1 vote
1 answer

How to make an application private on AWS Elastic Beanstalk?

Like you said by default, your application ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,580 points
63 views