new_operation

0th

Percentile

Return an API operation object

Return an API operation object, with information on what to request for a given API operation. For example, the S3 service's "list buckets" operation is named ListBuckets, it requires a GET request, and so on.

Usage
new_operation(name, http_method, http_path, paginator,
  before_presign_fn = NULL)
Arguments
name

The API operation name.

http_method

The HTTP method, e.g. "GET" or "POST".

http_path

The HTTP path.

paginator

Currently unused.

before_presign_fn

Currently unused.

See Also

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

Aliases
  • new_operation
Examples
# NOT RUN {
# Save info about the S3 ListBuckets API operation.
op <- new_operation(
  name = "ListBuckets",
  http_method = "GET",
  http_path = "/",
  paginator = list()
)

# }
Documentation reproduced from package paws.common, version 0.1.0, License: Apache License (>= 2.0)

Community examples

Looks like there are no examples yet.