Most probably a bug ?
When configuring an API Destination as an Eventbridge Pipe enrichment with multiple PathParameters, a validation error is returned when creating said pipe:
[array is too long: must have at most 1 elements but instance has 2 elements]
e.g.,
Consider the following API Destination:
https://data.economie.gouv.fr/api/v2/catalog/datasets/*/exports/*/
This API Destination expects two path parameters to be templated in. However, configuring the integration as such will return said error:
The error occurs both when trying to create a Pipe via the AWS Management Console and via CLI / CloudFormation.
I have the same issue. I assume it's a bug with the service but hoping someone has an answer.