Adding sample code for listing stack resources.
Adding sample code for listing stack resource events.
Fixing code sample.
Adding sample code for listing stack resource events.