You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c79ff1a
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(aws): round-trip typed DynamoDB cursors and allow percentile-only CloudWatch statistics
Encode large-number and binary keys in lastEvaluatedKey as {N}/{B} and decode
them in exclusiveStartKey, so pagination resumes on tables whose keys a JS
number or string cannot carry. Item output is unchanged. Let
get_metric_statistics take extendedStatistics alone: statistics is optional and
the contract requires one of the two.
* fix(dynamodb): keep inexact decimal keys exact in pagination cursors
Hold every N value a JS number cannot represent exactly as a NumberValue so the
cursor encodes it as {N}; item output keeps the same number/string rule.
* fix(dynamodb): treat a number as exact only when its string form round-trips
A decimal like 1.0000000000000000001 parses to a safe integer, so the safe-integer
shortcut dropped its digits. Return a JS number only when String(parsed) equals the
DynamoDB value (and it is not an unsafe integer); item output is unchanged.
|`statistics`| array |No| Statistics to retrieve \(Average, Sum, Minimum, Maximum, SampleCount\). Required unless extendedStatistics is set, which takes precedence|
243
243
|`dimensions`| string | No | Dimensions as JSON \(e.g., \{"InstanceId": "i-1234"\}\)|
244
244
|`extendedStatistics`| array | No | Percentile statistics to retrieve \(e.g., \["p99", "p95"\]\). AWS accepts either Statistics or ExtendedStatistics, so when set these are requested instead of statistics |
245
245
|`unit`| string | No | Only return data reported with this unit \(e.g., Percent, Milliseconds\). Omit to return all units |
0 commit comments