mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* feat(firehose): return ExtendedS3DestinationDescription and support UpdateDestination The Terraform/Pulumi provider creates delivery streams with ExtendedS3DestinationConfiguration and reads ExtendedS3DestinationDescription back after create; Floci parsed the config lossily and only ever emitted S3DestinationDescription, breaking the provider read. Store the full config (RoleARN, ErrorOutputPrefix, CompressionFormat, EncryptionConfiguration), emit it under both wire keys like real AWS, add the required output members (VersionId, DeliveryStreamType, HasMoreDestinations, DestinationId), and implement UpdateDestination with version checking. Refs #1043 * fix(firehose): reject empty destination updates and guard version parse * fix(firehose): reject partial BufferingHints instead of absorbing defaults AWS requires SizeInMBs and IntervalInSeconds to be specified together (firehose service-2.json: "if you specify a value for it, you must also specify a value for IntervalInSeconds, and vice versa"). The primitive fields with initializers made a partial payload indistinguishable from a full one, silently persisting a default over an existing value. Members are now null-honest boxed Integers, create and update reject one-sided hints with the declared InvalidArgumentException before any mutation, and defaults apply only when the whole object is absent.