Unverified Commit 7a6414ea authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

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

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

* Update changelog
parent 5e6c63b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+3 −1
Original line number Diff line number Diff line
@@ -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?;