DocsAWS 101BlogServices

RDS Data API

RDS Data API — HTTP-based SQL against RDS clusters. Proxies to the underlying real database.

JSON (AWS SDK) multi-tenant 5 operations

Quick start

import boto3
rd = boto3.client("rds-data", endpoint_url="http://localhost:4566",
                  region_name="us-east-1",
                  aws_access_key_id="test", aws_secret_access_key="test")
rd.execute_statement(
    resourceArn="arn:aws:rds:us-east-1:000000000000:cluster:demo",
    secretArn="arn:aws:secretsmanager:us-east-1:000000000000:secret:demo",
    database="postgres", sql="SELECT 1")

Supported operations

5 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.

/BatchExecute /BeginTransaction /CommitTransaction /Execute /RollbackTransaction

CloudFormation

No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.

Known limitations

  • Requires the referenced RDS cluster to actually be running (use CreateDBInstance first).

Source

  • ministack/services/rds_data.py:388-448

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.