send_request: Send a request and handle the response

Description Usage Arguments See Also Examples

View source: R/request.R

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

1
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

1
2
3
4
5
## Not run: 
# Send a request and handle the response.
resp <- send_request(req)

## End(Not run)

paws.common documentation built on Dec. 11, 2021, 10:02 a.m.