Added support for choosing region and/or endpoint for publishing data to Amazon Kinesis