putItems method
Adds one or more items to an Items dataset. For more information see Importing items individually.
May throw InvalidInputException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter datasetArn :
The Amazon Resource Name (ARN) of the Items dataset you are adding the
item or items to.
Parameter items :
A list of item data.
Implementation
Future<void> putItems({
required String datasetArn,
required List<Item> items,
}) async {
final $payload = <String, dynamic>{
'datasetArn': datasetArn,
'items': items,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/items',
exceptionFnMap: _exceptionFns,
);
}