mirror of https://github.com/smithy-lang/smithy-rs
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:
parent
5e6c63b5f9
commit
7a6414ea35
|
@ -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)
|
||||
|
|
|
@ -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?;
|
||||
|
|
Loading…
Reference in New Issue