aws-cli
aws-cli copied to clipboard
Add Error handling for missing service_uid
The previous code assumed that service_uid will always be in service_model.metadata. It would be safer to add error handling for the case where it is not. Hence I added an error handling message for the case where its not. This change improves robustness by ensuring that the code fails gracefully when service_uid is missing.