Request/Response type changes #950
jdisanti
announced in
Change Log
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the previous release, the HTTP request type was changed. This release moves the request type added by that release into
aws_smithy_runtime_api::http
, and also adds a new response type with similar changes:Response
, useinto_http02x()
http::Response
can be converted to a SmithyResponse
using itsTryFrom
implementationIn addition:
ErrorResponse::response
now returnsHttpResponse
instead ofhttp::Response<SdkBody>
.RequestId
trait is no longer implemented forhttp::Response<B>
orhttp::HeaderMap
, but rather, forHttpResponse
andHeaders
.InterceptorContext
is nowHttpResponse
instead ofhttp::Response<SdkBody>
.Beta Was this translation helpful? Give feedback.
All reactions