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
Uh oh!
There was an error while loading. Please reload this page.
-
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::Responsecan be converted to a SmithyResponseusing itsTryFromimplementationIn addition:
ErrorResponse::responsenow returnsHttpResponseinstead ofhttp::Response<SdkBody>.RequestIdtrait is no longer implemented forhttp::Response<B>orhttp::HeaderMap, but rather, forHttpResponseandHeaders.InterceptorContextis nowHttpResponseinstead ofhttp::Response<SdkBody>.Beta Was this translation helpful? Give feedback.
All reactions