(self)
| 233 | DBInstanceIdentifier=instance_name) |
| 234 | |
| 235 | def validate_credentials(self): |
| 236 | client = self._get_aws_client('sts') |
| 237 | try: |
| 238 | identity = client.get_caller_identity() |
| 239 | return True, identity |
| 240 | except Exception as e: |
| 241 | return False, str(e) |
| 242 | finally: |
| 243 | self._clients.pop('sts') |
| 244 | |
| 245 | |
| 246 | def _get_rds_from_session(): |
no test coverage detected