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.

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

if (FALSE) { # \dontrun{
# Send a request and handle the response.
resp <- send_request(req)
} # }