subscribe function to return subscriptionArn