Learn R Programming

paws.networking (version 0.1.11)

apigateway_update_api_key: Changes information about an ApiKey resource

Description

Changes information about an ApiKey resource.

Usage

apigateway_update_api_key(apiKey, patchOperations)

Arguments

apiKey

[required] [Required] The identifier of the ApiKey resource to be updated.

patchOperations

A list of update operations to be applied to the specified resource and in the order specified in this list.

Value

A list with the following syntax:

list(
  id = "string",
  value = "string",
  name = "string",
  customerId = "string",
  description = "string",
  enabled = TRUE|FALSE,
  createdDate = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedDate = as.POSIXct(
    "2015-01-01"
  ),
  stageKeys = list(
    "string"
  ),
  tags = list(
    "string"
  )
)

Request syntax

svc$update_api_key(
  apiKey = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)