feat(dynamodb): update Kinesis destination precision (#9072)

* feat(dynamodb): update Kinesis destination precision
* fix(dynamodb): reuse validation for Kinesis precision updates

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
This commit is contained in:
Jackson PriceandAndre Kurait authored and GitHub committed 2026-11-20 06:54:51 -04:00
1 parent 546065dc53
commit ab7fc6f81f
11 files changed
+663 -15

No files matched your search

+9
View File
@@ -64,6 +64,7 @@ operations keep their existing resource builders, including batch, transaction a
| `RestoreTableFromBackup` | Create a new table from a backup |
| `DescribeKinesisStreamingDestination` | List Kinesis streaming destinations |
| `EnableKinesisStreamingDestination` | Enable Kinesis streaming for a table |
| `UpdateKinesisStreamingDestination` | Update timestamp precision on an active Kinesis destination |
| `DisableKinesisStreamingDestination` | Disable Kinesis streaming for a table |
| `ExportTableToPointInTime` | Export table data, or the changes of a period, to S3 |
| `CreateGlobalTable` | Make an existing table a global table (2017.11.29) |
@@ -634,12 +635,20 @@ record as `dynamodb.ApproximateCreationDateTimePrecision`, and reported by
`DescribeKinesisStreamingDestination` as well as in the `EnableKinesisStreamingConfiguration` member of
the `EnableKinesisStreamingDestination` and `DisableKinesisStreamingDestination` responses.
On the native backend, `UpdateKinesisStreamingDestination` changes an active destination's precision without stopping
forwarding. Its response carries `UpdateKinesisStreamingConfiguration`, and subsequent item changes
use the updated precision. Omitting the configuration or its precision retains the current value.
The update accepts a table name or table ARN, persists across restarts, and rejects missing tables,
missing destinations, inactive destinations, and precision values other than `MILLISECOND` or
`MICROSECOND`.
Enabling a Kinesis streaming destination does not change the table's DynamoDB Streams setting.
Kinesis forwarding works whether or not `StreamSpecification.StreamEnabled` is set.
Both calls take effect at once, so `EnableKinesisStreamingDestination` answers `ACTIVE` and
`DisableKinesisStreamingDestination` answers `DISABLED`. AWS reports the transitional `ENABLING` and
`DISABLING` first, because it enables and disables the destination in the background.
Updates also apply at once and answer `ACTIVE`; AWS can report `UPDATING` while applying a change.
### Delivery contract
+1 -1
View File
@@ -16,7 +16,7 @@ Operation counts are exact. For dispatch-table services (Query and JSON 1.1) eac
| [S3](s3.md) | `/{bucket}/{key}` | REST XML | 58 |
| [S3 Vectors](s3vectors.md) | `POST /{OperationName}` | REST JSON | 16 |
| [S3 Tables](s3tables.md) | `/buckets`, `/namespaces/*`, `/tables/*` | REST JSON | 27 |
| [DynamoDB](dynamodb.md) | `POST /` + `X-Amz-Target: DynamoDB_20120810.*` | JSON 1.1 | 53 |
| [DynamoDB](dynamodb.md) | `POST /` + `X-Amz-Target: DynamoDB_20120810.*` | JSON 1.1 | 54 |
| [DynamoDB Streams](dynamodb.md#streams) | `POST /` + `X-Amz-Target: DynamoDBStreams_20120810.*` | JSON 1.1 | 4 |
| [Lambda](lambda.md) | `/2015-03-31/functions/...` + `/2025-12-01/durable-executions/...` | REST JSON | 69 |
| [Lambda MicroVMs](lambda-microvms.md) | `/2025-09-09/...` + `/2026-04-04/...` | REST JSON | 23 |