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)
A request, e.g. from new_request.
new_request
Other API request functions: new_handlers, new_operation, new_request, new_service
new_handlers
new_operation
new_service
# NOT RUN { # Send a request and handle the response. # } # NOT RUN { resp <- send_request(req) # } # NOT RUN { # }
Run the code above in your browser using DataCamp Workspace