Skip to content

Batch Update Data Table Value

connect_batch_update_data_table_value R Documentation

Updates multiple data table values using all properties from BatchCreateDataTableValue

Description

Updates multiple data table values using all properties from BatchCreateDataTableValue. System managed values are not modifiable by customers. The operation requires proper lock versions to prevent concurrent modification conflicts.

Usage

connect_batch_update_data_table_value(InstanceId, DataTableId, Values)

Arguments

InstanceId

[required] The unique identifier for the Amazon Connect instance.

DataTableId

[required] The unique identifier for the data table. Must also accept the table ARN with or without a version alias.

Values

[required] A list of values to update, each including the current lock version to ensure optimistic locking.

Value

A list with the following syntax:

list(
  Successful = list(
    list(
      PrimaryValues = list(
        list(
          AttributeName = "string",
          Value = "string"
        )
      ),
      AttributeName = "string",
      LockVersion = list(
        DataTable = "string",
        Attribute = "string",
        PrimaryValues = "string",
        Value = "string"
      )
    )
  ),
  Failed = list(
    list(
      PrimaryValues = list(
        list(
          AttributeName = "string",
          Value = "string"
        )
      ),
      AttributeName = "string",
      Message = "string"
    )
  )
)

Request syntax

svc$batch_update_data_table_value(
  InstanceId = "string",
  DataTableId = "string",
  Values = list(
    list(
      PrimaryValues = list(
        list(
          AttributeName = "string",
          Value = "string"
        )
      ),
      AttributeName = "string",
      Value = "string",
      LockVersion = list(
        DataTable = "string",
        Attribute = "string",
        PrimaryValues = "string",
        Value = "string"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedRegion = "string"
    )
  )
)