Skip to content

Update Keys

cloudfrontkeyvaluestore_update_keys R Documentation

Puts or Deletes multiple key value pairs in a single, all-or-nothing operation

Description

Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.

Usage

cloudfrontkeyvaluestore_update_keys(KvsARN, IfMatch, Puts, Deletes)

Arguments

KvsARN

[required] The Amazon Resource Name (ARN) of the Key Value Store.

IfMatch

[required] The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using DescribeKeyValueStore.

Puts

List of key value pairs to put.

Deletes

List of keys to delete.

Value

A list with the following syntax:

list(
  ItemCount = 123,
  TotalSizeInBytes = 123,
  ETag = "string"
)

Request syntax

svc$update_keys(
  KvsARN = "string",
  IfMatch = "string",
  Puts = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  Deletes = list(
    list(
      Key = "string"
    )
  )
)