def retrieve_environment_info(EnvironmentId=None, EnvironmentName=None,
    InfoType=None):
    """
    Retrieves the compiled information from a  RequestEnvironmentInfo request.
    Related Topics
    See also: AWS API Documentation
    
    Examples
    The following operation retrieves a link to logs from an environment named my-env:
    Expected Output:
    
    :example: response = client.retrieve_environment_info(
        EnvironmentId='string',
        EnvironmentName='string',
        InfoType='tail'|'bundle'
    )
    
    
    :type EnvironmentId: string
    :param EnvironmentId: The ID of the data's environment.
            If no such environment is found, returns an InvalidParameterValue error.
            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
            

    :type EnvironmentName: string
    :param EnvironmentName: The name of the data's environment.
            If no such environment is found, returns an InvalidParameterValue error.
            Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
            

    :type InfoType: string
    :param InfoType: [REQUIRED]
            The type of information to retrieve.
            

    :rtype: dict
    :return: {
        'EnvironmentInfo': [
            {
                'InfoType': 'tail'|'bundle',
                'Ec2InstanceId': 'string',
                'SampleTimestamp': datetime(2015, 1, 1),
                'Message': 'string'
            },
        ]
    }
    
    
    :returns: 
    EnvironmentId (string) -- The ID of the data's environment.
    If no such environment is found, returns an InvalidParameterValue error.
    Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
    
    EnvironmentName (string) -- The name of the data's environment.
    If no such environment is found, returns an InvalidParameterValue error.
    Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
    
    InfoType (string) -- [REQUIRED]
    The type of information to retrieve.
    
    
    """
    pass
