Backport change from aws-sdk-rust (#622)

* Backport change from https://github.com/awslabs/aws-sdk-rust/pull/162/files

* Update changelog
This commit is contained in:
Russell Cohen 2021-07-30 17:08:57 -04:00 committed by GitHub
parent 5e6c63b5f9
commit 7a6414ea35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- :bug: Correctly encode HTTP Checksums using base64 instead of hex. Fixes aws-sdk-rust#164. (#615)
- (When complete) Add profile file provider for region (#594, #xyz)
- Overhaul serialization/deserialization of numeric/boolean types. This resolves issues around serialization of NaN/Infinity and should also reduce the number of allocations required during serialization. (#618)
- Update SQS example to clarify usage of FIFO vs. standard queues (#622, @trevorrobertsjr)
## v0.18.1 (July 27th 2021)
* Remove timestreamwrite and timestreamquery from the generated services (#613)

View File

@ -5,7 +5,7 @@
use std::process::exit;
/// Sends a message to and receives the message from a queue.
/// Sends a message to and receives the message from a FIFO queue.
#[tokio::main]
async fn main() -> Result<(), sqs::Error> {
tracing_subscriber::fmt::init();
@ -29,6 +29,8 @@ async fn main() -> Result<(), sqs::Error> {
.send_message()
.queue_url(&queue_url)
.message_body("hello from my queue")
// message group id required for FIFO Queue
// comment out ".message_group_id("MyGroup")" for standard queues
.message_group_id("MyGroup")
.send()
.await?;