batchDescribeDataTableValue method
Retrieves multiple values from a data table without evaluating expressions. Returns the raw stored values along with metadata such as lock versions and modification timestamps. "Describe" is a deprecated term but is allowed to maintain consistency with existing operations.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter dataTableId :
The unique identifier for the data table. Must also accept the table ARN
with or without a version alias.
Parameter instanceId :
The unique identifier for the Amazon Connect instance.
Parameter values :
A list of value identifiers to retrieve, each specifying primary values
and attribute names.
Implementation
Future<BatchDescribeDataTableValueResponse> batchDescribeDataTableValue({
required String dataTableId,
required String instanceId,
required List<DataTableValueIdentifier> values,
}) async {
final $payload = <String, dynamic>{
'Values': values,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/data-tables/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(dataTableId)}/values/describe',
exceptionFnMap: _exceptionFns,
);
return BatchDescribeDataTableValueResponse.fromJson(response);
}