Working with Amazon SWF APIs