aws-lambda-events icon indicating copy to clipboard operation
aws-lambda-events copied to clipboard

Cannot deserialize CodePipelineEventDetailType objects

Open mhvelplund opened this issue 3 years ago • 3 comments

Rust assumes that the version field in the CodePipelineEventDetailType should be a number, when in reality (the JSON CloudWatch sends) contains a string.

mhvelplund avatar Mar 16 '22 07:03 mhvelplund

Can you fix this in the go sdk so the structs we are generating from it are then correct?

LegNeato avatar Apr 01 '22 03:04 LegNeato

@mhvelplund do you have an example payload that you've received from CloudWatch? It looks like there is a discrepancy between the implementation and documentation, and I'd like to see what customers receive. I can track this internally, but it might take longer than you sharing an example.

calavera avatar May 12 '22 03:05 calavera

@mhvelplund do you have an example payload that you've received from CloudWatch? It looks like there is a discrepancy between the implementation and documentation, and I'd like to see what customers receive. I can track this internally, but it might take longer than you sharing an example.

Sorry, I moved on and didn't keep the affected part of my app. Feel free to close this if you can't reproduce it.

mhvelplund avatar Jun 13 '22 20:06 mhvelplund