33. P u t I t e m
dy := DynamoDBRawClient new.
operationName := 'PutItem'.
json := JsonObject new at:'TableName' put:'dmodeltest1';yourself.
d:= DModelTest1 new.
d at: ‘id’ put:‘af2d4b16147f45fea3753cc9c0a3f739’.
mapper := DynamoDBMapper new.
c := (mapper convertItem:d).
json at:'Item' put: c .
requestBody := json asJsonString .
resp := dy operationName: operationName entityContents: requestBody.
Json is generated in Smalltalk.