How to select an element in an array based on two conditions in JMESPath?
I'm trying to select the SerialNumber of a specific AWS MFADevice for different profiles. This command returns the list of MFADevices for a certain profile: aws iam list-mfa-devices --profile xxx and this is a sample JSON output: { "MFADevices": […