aws
aws copied to clipboard
Add support for `smithy-rpc-v2-cbor` protocol
Some services use this protocol (CloudWatch) and this is required to generate code
See https://github.com/aws/aws-sdk-php/blob/6ce549c3efe117e76f1f878ae8463d95b838ef9d/src/data/monitoring/2010-08-01/api-2.json
See PR for protocol implementation in AWS SDK https://github.com/aws/aws-sdk-php/pull/3223
This will probably be more helpful: https://smithy.io/2.0/additional-specs/protocols/smithy-rpc-v2.html
I took some liberties in our implementation for performance reasons, so do whatever makes sense for you.