AACFlow

Amazon RDS

Connect to Amazon RDS via Data API

Usage Instructions

Integrate Amazon RDS Aurora Serverless into the workflow using the Data API. Can query, insert, update, delete, and execute raw SQL without managing database connections.

Tools

rds_query

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
querystringYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of rows returned from the query
rowCountnumberNumber of rows returned

rds_insert

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
tablestringYesNo description
dataobjectYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of inserted rows
rowCountnumberNumber of rows inserted

rds_update

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
tablestringYesNo description
dataobjectYesNo description
conditionsobjectYesConditions for the update (e.g., {"id": 1})

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of updated rows
rowCountnumberNumber of rows updated

rds_delete

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
tablestringYesNo description
conditionsobjectYesConditions for the delete (e.g., {"id": 1})

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of deleted rows
rowCountnumberNumber of rows deleted

rds_execute

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
querystringYesRaw SQL query to execute (e.g., CREATE TABLE users (id SERIAL PRIMARY KEY, name VARCHAR(255)))

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of rows returned or affected
rowCountnumberNumber of rows affected

rds_introspect

Introspect Amazon RDS Aurora database schema to retrieve table structures, columns, and relationships

Input

ParameterTypeRequiredDescription
regionstringYesNo description
accessKeyIdstringYesNo description
secretAccessKeystringYesNo description
resourceArnstringYesARN of the Aurora DB cluster (e.g., arn:aws:rds:us-east-1:123456789012:cluster:my-cluster)
secretArnstringYesNo description
databasestringNoNo description
schemastringNoNo description
enginestringNoDatabase engine (aurora-postgresql or aurora-mysql). Auto-detected if not provided.

Output

ParameterTypeDescription
messagestringOperation status message
enginestringDetected database engine type
tablesarrayArray of table schemas with columns, keys, and indexes
schemasarrayList of available schemas in the database

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started