The construction of the PutItemRequest has been moved into a separate function.
The construction of the DeleteItemRequest has been moved into a separate function.