aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

Rust - SQS - Split Send and Receive snippets

Open beqqrry-aws opened this issue 2 years ago • 0 comments

The Rust SQS example has both Send and Receive in it. However, they're both called in a single method which is also singularly tagged with a snippet. This makes for a confusing customer experience when the code for two related examples is exactly the same.

https://docs.aws.amazon.com/en_us/sdk-for-rust/latest/dg/rust_sqs_code_examples.html

Fix: Create new snippet tags to separate the logic.

Created from Documentation Feedback ticket:

Both examples for Send messages and Receive messages have exactly the same code which does both send and receive. Either have one example of split the code.

beqqrry-aws avatar Aug 18 '22 16:08 beqqrry-aws