You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.error("ERROR: Unexpected error: Could not connect to MySql instance.")
88
+
logger.error("ERROR: Unexpected error: Could not connect to MySQL instance.")
89
89
sys.exit()
90
90
91
-
logger.info("SUCCESS: Connection to RDS mysql instance succeeded")
91
+
logger.info("SUCCESS: Connection to RDS MySQL instance succeeded")
92
92
def handler(event, context):
93
93
"""
94
-
This function fetches content from mysql RDS instance
94
+
This function fetches content from MySQL RDS instance
95
95
"""
96
96
97
97
item_count = 0
@@ -119,7 +119,7 @@ A second file contains connection information for the function\.
119
119
**Example rds\_config\.py**
120
120
121
121
```
122
-
#config file containing credentials for rds mysql instance
122
+
#config file containing credentials for RDS MySQL instance
123
123
db_username = "username"
124
124
db_password = "password"
125
125
db_name = "ExampleDB"
@@ -156,4 +156,4 @@ In this step, you invoke the Lambda function manually using the `invoke` command
156
156
+ Review the results in the AWS Lambda console\.
157
157
+ Verify the results in CloudWatch Logs\.
158
158
159
-
Now that you have created a Lambda function that accesses a database in your VPC, you can have the function invoked in response to events\. For information about configuring event sources and examples, see [Use Cases](use-cases.md)\.
159
+
Now that you have created a Lambda function that accesses a database in your VPC, you can have the function invoked in response to events\. For information about configuring event sources and examples, see [Use Cases](use-cases.md)\.
0 commit comments