paws.common (version 0.1.0)

send_request: 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

Run this code
# 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