(self)
| 16 | |
| 17 | impl IntoRequest for NextEventRequest { |
| 18 | fn into_req(self) -> Result<Request<Body>, Error> { |
| 19 | let req = build_request() |
| 20 | .method(Method::GET) |
| 21 | .uri(Uri::from_static("/2018-06-01/runtime/invocation/next")) |
| 22 | .body(Default::default())?; |
| 23 | Ok(req) |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | // /runtime/invocation/{AwsRequestId}/response |