Skip to content

Batch Create Data Table Value

connect_batch_create_data_table_value R Documentation

Creates values for attributes in a data table

Description

Creates values for attributes in a data table. The value may be a default or it may be associated with a primary value. The value must pass all customer defined validation as well as the default validation for the value type. The operation must conform to Batch Operation API Standards. Although the standard specifies that successful and failed entities are listed separately in the response, authorization fails if any primary values or attributes are unauthorized. The combination of primary values and the attribute name serve as the identifier for the individual item request.

Usage

connect_batch_create_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. If no alias is provided, the default behavior is identical to providing the $LATEST alias.

Values

[required] A list of values to create. Each value must specify the attribute name and optionally primary values if the table has primary attributes.

Value

A list with the following syntax:

list(
  Successful = list(
    list(
      PrimaryValues = list(
        list(
          AttributeName = "string",
          Value = "string"
        )
      ),
      AttributeName = "string",
      RecordId = "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_create_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"
    )
  )
)