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

Headers

x-amz-targetstring string required

Dynamo actions

Request body

TableNamestring

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.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

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.