send_request: Send a request and handle the response

View source: R/request.R

send_requestR Documentation

Send a request and handle the response

Description

Send a request and handle the response. Build the HTTP request, send it to AWS, interpret the response, and throw an error if the response is not ok.

Usage

send_request(request)

Arguments

request

A request, e.g. from new_request.

See Also

Other API request functions: new_handlers(), new_operation(), new_request(), new_service()

Examples

## Not run: 
# Send a request and handle the response.
resp <- send_request(req)

## End(Not run)


paws.common documentation built on Nov. 12, 2023, 1:08 a.m.