The Exchange API from AWS EC2 receives an array of TargetConfiguration as described in the official documentation: API_GetReservedInstancesExchangeQuote.
However, it is not clear the purpose of this due the criteria and rules to apply an exchange only makes sense for a single TargetConfiguration. There is no explicit mention of the API being able to process multiple Targets but also there is no explicit text pointing that is a invalid setting.
Can someone give an sample and the expected behavior in case multiple target is supported? Otherwise, can someone provide a sample of an error if we try to use multiple targets?
Im using python and boto3 but this question applies for all languages.