connector: extract AWS calls in one function
connector: extract AWS calls in one function

In order to make testing/resusability easier, the AWS component used to
create a Connector are being isolated into 'configureAWS' function.
If we realise that we need to store them, we could also easily fix the
code.

cycloidio/raws