Dynamo
Dynamo-like API interface
Dynamo-like API interface.
Set your JWT token or APIKEY as a aws_access_key_id (ex. 'bearer XXXXX' or 'apikey XXXXX').
Currently supported Dynamo actions (set as 'x-amz-target' header tag):
- CreateTable
- CreateGlobalTable
- DeleteItem
- DeleteTable
- DescribeGlobalTable
- DescribeTable
- DescribeTimeToLive
- GetItem
- ListGlobalTables
- ListTables
- PutItem
- Query
- UpdateItem
- UpdateTable
- UpdateTimeToLive
- Scan
- BatchGetItem
- BatchWriteItem
post/_api/dynamo
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-amz-targetstring string required
Dynamo actions
Request body
Example request
{
"AttributeDefinitions": [
{
"AttributeName": "Artist",
"AttributeType": "S"
},
{
"AttributeName": "SongTitle",
"AttributeType": "S"
}
],
"TableName": "Music",
"KeySchema": [
{
"AttributeName": "Artist",
"KeyType": "HASH"
},
{
"AttributeName": "SongTitle",
"KeyType": "RANGE"
}
],
"ProvisionedThroughput": {
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
}
}Response
Successfully returned after execution.
Example response
{
"code": 200,
"result": {
"TableDescription": {
"AttributeDefinitions": [
{
"AttributeName": "Artist",
"AttributeType": "S"
},
{
"AttributeName": "SongTitle",
"AttributeType": "S"
}
],
"TableName": "Music",
"KeySchema": [
{
"AttributeName": "Artist",
"KeyType": "HASH"
},
{
"AttributeName": "SongTitle",
"KeyType": "RANGE"
}
],
"TableStatus": "ACTIVE",
"CreationDateTime": 1637001376,
"TableSizeBytes": 0,
"ItemCount": 0
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.