def METHOD_NAME(stubber, attempt_responses):
    for attempt_response in attempt_responses:
        if 'sdkException' in attempt_response:
            sdk_exception = attempt_response['sdkException']
            _add_sdk_exception(
                stubber, sdk_exception['message'], sdk_exception['isRetryable']
            )
        else:
            _add_stubbed_response(stubber, attempt_response)