How to use previous AWS query protocol in Rust AWS SQS Client instead of JSON protocol? #1156
-
Good day! By default, AWS SDK for Rust SQS Client uses JSON query to SQS queue. (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueUrl.html). Is it possible to switch client to use previous "query protocol"? I use such code and, by default, it uses JSON protocol t speak to AWS SQS:
Some cloud providers not yet support SQS API with JSON protocol and we need to use them. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-json-faqs.html |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for the question. Unfortunately, no there is not a way to revert this to use the previous protocol. Smithy client generators, including |
Beta Was this translation helpful? Give feedback.
Thanks for the question. Unfortunately, no there is not a way to revert this to use the previous protocol. Smithy client generators, including
smithy-rs
, select a single protocol to generate for. We have no plans to generate and publish both versions and can only assert correctness and compatibility with the actual AWS SQS service. You'll need to wait for the upstream "SQS like" API to be updated.