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, 2019 in AWS by datageek
• 3,090 points
919 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, 2019 by Archana
• 5,640 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,170 points
1,647 views
0 votes
1 answer

How to add AWS tags to an existing repository in AWS CodeCommit?

Hi@akhtar, You can add or update tags for a resource ...READ MORE

answered Nov 25, 2020 in AWS by MD
• 95,460 points
740 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,170 points
7,612 views
+2 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
• 58,020 points
2,737 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,640 points
1,405 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,640 points
2,313 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP