def _validatePullParams(MaxObjectCount, context):
    """
        Validate the input paramaters for the PullInstances,
        PullInstancesWithPath, and PullInstancePaths requests.

        MaxObjectCount: Must be integer type and ge 0

        context: Must be not None and length ge 2
    """
    if (not isinstance(MaxObjectCount, six.integer_types) or
            MaxObjectCount < 0):
        raise ValueError(
            _format("MaxObjectCount parameter must be integer >= 0 but is "
                    "{0!A}", MaxObjectCount))
    if context is None or len(context) < 2:
        raise ValueError(
            _format("Pull... Context parameter must be valid tuple {0!A}",
                    context))
Validate the input paramaters for the PullInstances,
        PullInstancesWithPath, and PullInstancePaths requests.

        MaxObjectCount: Must be integer type and ge 0

        context: Must be not None and length ge 2