Files
floci/src/test/java
Vũ Thế Huy 484255871e feat(firehose): accept a Redshift destination on create, update and describe (#6004)
* feat(firehose): accept a Redshift destination on create, update and describe

Adds RedshiftDestinationConfiguration to CreateDeliveryStream and RedshiftDestinationUpdate to UpdateDestination, validated against the Firehose API model. DescribeDeliveryStream returns RedshiftDestinationDescription without Password. A batch is staged in the intermediate S3 location like an S3 destination; the COPY delivery follows in a separate change.

* fix(firehose): close review gaps in the Redshift destination API

Require BucketARN and RoleARN on the intermediate and backup S3 configurations, validate the Secrets Manager RoleARN, apply the paired buffering-hints rule to the backup location, recognise dollar-quote tags with digits or non-ASCII letters in CopyOptions, and take the update lock in DeleteDeliveryStream so a concurrent update cannot revive a deleted stream. Rejected requests are now asserted to leave the stream unchanged.

* fix(firehose): refuse any dollar sign outside a quoted CopyOptions literal

A dollar-quote tag can hold any non-ASCII character, including code points outside the basic plane that a Java character-class range does not cover, so a tag pattern could hide a second statement. CopyOptions never need dollar quoting, so the separator check now refuses a dollar sign outside a quoted literal instead of parsing the tag.

* docs(firehose): list every refused CopyOptions token in the docs and validation message
2026-10-20 13:05:31 -04:00
..