April 2018
Intermediate to advanced
280 pages
8h 37m
English
Finally, a database instance can be deleted by invoking the delete_db_instance() function call by passing the database instance identifier to it.
The following code demonstrates how to delete a database instance:
#!/usr/bin/env pythonimport boto3rds = boto3.client('rds')try: response = rds.delete_db_instance( DBInstanceIdentifier="packtpub", SkipFinalSnapshot=True) print responseexcept Exception as error: print error
This concludes the basic operations on the Amazon RDS instance using application programming.