Zum Inhalt
HALOWERK

Finopswerk

dynamodb read capacity ledger

Original existing item byte sizes,ordered filter facts,limit and consistency determine whole Get/BatchGet/Query read transcript. Query aggregates evaluated bytes before4KiB rounding and filters afterward;Batch/Get round per item. Read units represented as integer halves. One missing consistency retains eventual/strong worlds jointly. Nonempty finite page only,no index/sparse/empty/retry/provider results/prices/real consistency certification. Strict recursive report keys,objectorder.

POST https://finops.halowerk.com/v1/dynamodb-read-capacity-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
operationsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "operations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "get",
              "batch_get",
              "query"
            ]
          },
          "consistency": {
            "enum": [
              "eventual",
              "strong",
              null
            ]
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 8
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "bytes": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 65536
                },
                "passes_filter": {
                  "type": "boolean"
                }
              },
              "required": [
                "bytes",
                "passes_filter"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 8
          }
        },
        "required": [
          "kind",
          "consistency",
          "limit",
          "items"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "report": {
      "type": "object",
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "evaluated_items": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "returned_items": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "evaluated_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "returned_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rounded_read_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "read_unit_halves": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4194304
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "evaluated_items",
              "returned_items",
              "evaluated_bytes",
              "returned_bytes",
              "rounded_read_bytes",
              "read_unit_halves"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 8
        },
        "total": {
          "type": "object",
          "properties": {
            "evaluated_items": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            },
            "returned_items": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            },
            "evaluated_bytes": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            },
            "returned_bytes": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            },
            "rounded_read_bytes": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            },
            "read_unit_halves": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4194304
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "evaluated_items",
            "returned_items",
            "evaluated_bytes",
            "returned_bytes",
            "rounded_read_bytes",
            "read_unit_halves"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "operations",
        "total"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "operations",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "operations": [
    {
      "kind": "batch_get",
      "consistency": "eventual",
      "limit": 2,
      "items": [
        {
          "bytes": 1024,
          "passes_filter": true
        },
        {
          "bytes": 1024,
          "passes_filter": true
        }
      ]
    }
  ],
  "report": {
    "operations": [
      {
        "evaluated_items": 2,
        "returned_items": 2,
        "evaluated_bytes": 2048,
        "returned_bytes": 2048,
        "rounded_read_bytes": 8192,
        "read_unit_halves": 2
      }
    ],
    "total": {
      "evaluated_items": 2,
      "returned_items": 2,
      "evaluated_bytes": 2048,
      "returned_bytes": 2048,
      "rounded_read_bytes": 8192,
      "read_unit_halves": 2
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →