Smarter AWS RDS Helper

class smarter.common.helpers.aws.rds.AWSRds(aws_access_key_id=None, aws_secret_access_key=None, aws_region=None, aws_profile=None, shared_resource_identifier=None, environment=None, environment_domain=None, root_domain=None, debug_mode=False, init_info=None)[source]

Bases: AWSBase

AWS RDS helper class. Provides a high-level interface for managing Amazon Relational Database Service (RDS) resources.

This helper class abstracts common operations related to AWS RDS, such as retrieving information about database instances and managing connections to the RDS service. It simplifies interactions with the AWS RDS API by encapsulating client initialization and error handling, making it easier to integrate RDS management into automation workflows or larger AWS orchestration systems.

The class is designed to work with application configuration settings and ensures that AWS sessions are properly initialized before performing any operations. It supports robust and maintainable code by providing logging and exception handling for operations involving RDS resources, such as database instances, within AWS environments.

get_mysql_info()[source]

Return the version of the MySQL server

Returns:

MySQL server information

Return type:

dict[str, str]