new_request

0th

Percentile

Return an API request object

Return an API request object with everything needed to make a request.

Usage
new_request(client, operation, params, data)
Arguments
client

A service client, e.g. from new_service.

operation

An operation, e.g. from new_operation.

params

A populated input object.

data

An empty output object.

See Also

Other API request functions: new_handlers, new_operation, new_service, send_request

Aliases
  • new_request
Examples
# NOT RUN {
# Make a request object for the S3 ListBuckets operation.
# }
# NOT RUN {
client <- function() {new_service(metadata, handlers)}
op <- new_operation("ListBuckets", "GET", "/", list())
params <- list()
data <- tag_add(list(Buckets = list()), list(type = "structure"))
req <- new_request(client, op, params, data)
# }
# NOT RUN {
# }
Documentation reproduced from package paws.common, version 0.1.1, License: Apache License (>= 2.0)

Community examples

Looks like there are no examples yet.