AWS API lets the AI make limited calls to DynamoDB, Lambda, CloudWatch Logs and Bedrock Runtime in your AWS account.
What you can ask for#
Invoke my order-summary Lambda function in eu-west-1 with this order ID. Call no other function.
Read the last 50 lines of the CloudWatch log group for my checkout function.
Look up this item in my DynamoDB table by its key.
Connect AWS API#
Step 1: Find the connector
Open Tools, then Connectors, and search for AWS API. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in AWS access key ID, AWS secret access key, AWS session token (optional) and AWS region. Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call AWS API for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
Create an IAM user or role with only the actions and resources your app needs. Do not use a root access key. Enter the access key ID, the secret access key, an optional session token for temporary credentials, and the region.
What the AI can and can't do#
- Call the supported actions of those four services in the region you set.
- It cannot call other AWS services or a host of your choosing.
- Disconnecting does not revoke the IAM key. Rotate or delete it in AWS if it was exposed.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
AWS denies the call.
Check the region, whether the session token expired, and that the IAM policy allows that action on that resource.
A temporary key stopped working.
Edit the connection and enter a fresh key set.
How do I check what ran?
Look in CloudTrail in your AWS account.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Signed API calls
Call allow-listed regional AWS APIs with Signature Version 4.
Temporary credentials
Use an optional session token with short-lived AWS credentials.
More in Developer tools
Still stuck?
A person from Swarmz Support can take a look.