'Formats each target for the request'

def _targets_request(self, targets):

    targets_request = []
    for target in targets:
        target_request = {'Id': target['id'], 'Arn': target['arn']}
        if ('input' in target):
            target_request['Input'] = target['input']
        if ('input_path' in target):
            target_request['InputPath'] = target['input_path']
        targets_request.append(target_request)
    return targets_request
