April 30th, 2024
New this release:
-
🎉 (client, smithy-rs#119, smithy-rs#3595, smithy-rs#3593, smithy-rs#3585, smithy-rs#3571, smithy-rs#3569) Added support for waiters. Services that model waiters now have a
Waiterstrait that adds
some methods prefixed withwait_untilto the existing clients.For example, if there was a waiter modeled for "thing" that takes a "thing ID", using
that waiter would look as follows:use my_generated_client::client::Waiters; let result = client.wait_until_thing() .thing_id("someId") .wait(Duration::from_secs(120)) .await;
-
🐛 (all, smithy-rs#3603) Fix event stream
:content-typemessage headers for struct messages. Note: this was the:content-typeheader on individual event message frames that was incorrect, not the HTTPcontent-typeheader for the initial request.