fixed issue with multiple api gateways
fixed issue with multiple api gateways

ArrowElectronics/aws-iot-dragonconnect-c,ArrowElectronics/aws-iot-dragonconnect-c,ArrowElectronics/aws-iot-dragonconnect-c,ArrowElectronics/aws-iot-dragonconnect-c,ArrowElectronics/aws-iot-dragonconnect-c,ArrowElectronics/aws-iot-dragonconnect-c