def grant_access(InstanceId=None, ValidForInMinutes=None):
    """
    Grants RDP access to a Windows instance for a specified time period.
    See also: AWS API Documentation
    
    
    :example: response = client.grant_access(
        InstanceId='string',
        ValidForInMinutes=123
    )
    
    
    :type InstanceId: string
    :param InstanceId: [REQUIRED]
            The instance's AWS OpsWorks Stacks ID.
            

    :type ValidForInMinutes: integer
    :param ValidForInMinutes: The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.

    :rtype: dict
    :return: {
        'TemporaryCredential': {
            'Username': 'string',
            'Password': 'string',
            'ValidForInMinutes': 123,
            'InstanceId': 'string'
        }
    }
    
    
    """
    pass
